Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.158/2.158, allocations: 253.1 MB / 260.4 MB, free: 7.566 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001655/0.001654, allocations: 188.9 kB / 319.6 MB, free: 3.328 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.869/1.869, allocations: 205.4 MB / 0.5704 GB, free: 15.09 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001347/0.001347, allocations: 93.5 kB / 0.6746 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.298e-06/9.477e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2061, allocations: 106.2 MB / 0.8881 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7699/0.9761, allocations: 181.3 MB / 1.065 GB, free: 7.355 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003408/0.9765, allocations: 95.88 kB / 1.065 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.4674/1.444, allocations: 101.2 MB / 1.164 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001335/1.444, allocations: 55.98 kB / 1.164 GB, free: 11.39 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.009958/1.454, allocations: 2.385 MB / 1.166 GB, free: 8.949 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.54e-05/1.454, allocations: 8.031 kB / 1.166 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02283/1.477, allocations: 1.511 MB / 1.168 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006325/1.483, allocations: 1.654 MB / 1.169 GB, free: 5.73 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001959/1.484, allocations: 92 kB / 1.17 GB, free: 5.641 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001561/1.485, allocations: 171.9 kB / 1.17 GB, free: 5.473 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01516/1.5, allocations: 4.072 MB / 1.174 GB, free: 1.395 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01844/1.519, allocations: 4.434 MB / 1.178 GB, free: 12.87 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001116/1.519, allocations: 4 kB / 1.178 GB, free: 12.86 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001186/1.52, allocations: 3.938 kB / 1.178 GB, free: 12.86 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005497/1.521, allocations: 192.8 kB / 1.178 GB, free: 12.67 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04881/1.57, allocations: 22.15 MB / 1.2 GB, free: 4.461 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004732/1.575, allocations: 1.803 MB / 1.202 GB, free: 2.586 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004157/1.579, allocations: 1.421 MB / 1.203 GB, free: 1.145 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003608/1.579, allocations: 122 kB / 1.203 GB, free: 1.008 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.178e-05/1.579, allocations: 47.69 kB / 1.203 GB, free: 0.9531 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=132): time 6.422e-06/1.579, allocations: 4 kB / 1.203 GB, free: 0.9492 MB / 0.8073 GB Notification: Performance of matching and sorting (n=174): time 0.03026/1.61, allocations: 7.786 MB / 1.211 GB, free: 9.121 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/1.61, allocations: 230.9 kB / 1.211 GB, free: 8.848 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002001/1.612, allocations: 0.8312 MB / 1.212 GB, free: 8.012 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0009517/1.613, allocations: 29.7 kB / 1.212 GB, free: 7.977 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00171/1.614, allocations: 1.103 MB / 1.213 GB, free: 6.855 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001192/1.616, allocations: 0.5736 MB / 1.213 GB, free: 6.273 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003318/1.616, allocations: 0 / 1.213 GB, free: 6.273 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003293/1.616, allocations: 435.1 kB / 1.214 GB, free: 5.84 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003942/1.62, allocations: 1.379 MB / 1.215 GB, free: 4.457 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004804/1.625, allocations: 1.951 MB / 1.217 GB, free: 2.258 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00745/1.633, allocations: 2.02 MB / 1.219 GB, free: 248 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.794e-05/1.633, allocations: 4 kB / 1.219 GB, free: 244 kB / 0.823 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01756/1.65, allocations: 4.577 MB / 1.224 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.002765/1.653, allocations: 6.868 MB / 1.23 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.421e-05/1.653, allocations: 20 kB / 1.23 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005283/1.659, allocations: 1.024 MB / 1.231 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007227/1.666, allocations: 0.624 MB / 1.232 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02644/1.692, allocations: 9.449 MB / 1.241 GB, free: 8.871 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006497/1.699, allocations: 299.2 kB / 1.241 GB, free: 8.578 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007644/1.7, allocations: 111.9 kB / 1.242 GB, free: 8.469 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/1.7, allocations: 4 kB / 1.242 GB, free: 8.465 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01654/1.716, allocations: 4.32 MB / 1.246 GB, free: 4.137 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.018e-05/1.716, allocations: 19.94 kB / 1.246 GB, free: 4.117 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004109/1.721, allocations: 0.8685 MB / 1.247 GB, free: 3.242 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007266/1.728, allocations: 0.624 MB / 1.247 GB, free: 2.617 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02257/1.751, allocations: 9.04 MB / 1.256 GB, free: 9.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006228/1.757, allocations: 279.4 kB / 1.256 GB, free: 9.066 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007665/1.758, allocations: 115.9 kB / 1.256 GB, free: 8.953 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 210 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,77.8%) 30,(7,69.4%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008274/1.758, allocations: 160.4 kB / 1.257 GB, free: 8.789 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006944/1.759, allocations: 122.6 kB / 1.257 GB, free: 8.668 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01742/1.777, allocations: 4.218 MB / 1.261 GB, free: 4.41 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.565e-05/1.777, allocations: 20 kB / 1.261 GB, free: 4.391 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-05/1.777, allocations: 12 kB / 1.261 GB, free: 4.379 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.165e-05/1.777, allocations: 15.88 kB / 1.261 GB, free: 4.363 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3935/2.17, allocations: 7.422 MB / 1.268 GB, free: 294.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.965e-05/2.17, allocations: 7.594 kB / 1.268 GB, free: 294.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005401/2.176, allocations: 426.3 kB / 1.269 GB, free: 294.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0041/2.18, allocations: 0.8819 MB / 1.269 GB, free: 294.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004395/2.18, allocations: 30.02 kB / 1.269 GB, free: 294.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01933/2.2, allocations: 8.84 MB / 1.278 GB, free: 292.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.35e-05/2.2, allocations: 11.78 kB / 1.278 GB, free: 292.2 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01168/2.212, allocations: 4.176 MB / 1.282 GB, free: 291.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001706/2.213, allocations: 0.5121 MB / 1.283 GB, free: 291.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006248/2.214, allocations: 17.17 kB / 1.283 GB, free: 291.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005634/2.22, allocations: 260.6 kB / 1.283 GB, free: 291.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000484/2.22, allocations: 104.9 kB / 1.283 GB, free: 291.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002789/2.22, allocations: 67.5 kB / 1.283 GB, free: 291.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001343/2.222, allocations: 0.6414 MB / 1.284 GB, free: 291 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006727/2.229, allocations: 1.044 MB / 1.285 GB, free: 291 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 32,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007561/2.229, allocations: 138 kB / 1.285 GB, free: 290.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01862/2.248, allocations: 6.057 MB / 1.291 GB, free: 290.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/2.248, allocations: 3.609 kB / 1.291 GB, free: 290.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.006003/2.254, allocations: 1.903 MB / 1.293 GB, free: 290.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/2.256, allocations: 115.4 kB / 1.293 GB, free: 290.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03272/2.289, allocations: 5.698 MB / 1.298 GB, free: 289.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006268/2.295, allocations: 2.428 MB / 1.301 GB, free: 288.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.853e-06/2.295, allocations: 2.25 kB / 1.301 GB, free: 288.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.1296/2.425, allocations: 51.33 MB / 1.351 GB, free: 286.4 MB / 0.8698 GB