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.TransformerStepDownDY.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.TransformerStepDownDY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY") [: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.201/2.201, allocations: 253.1 MB / 260.4 MB, free: 7.582 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.001672/0.001671, allocations: 173.3 kB / 319.6 MB, free: 3.344 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.882/1.882, 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.001305/0.001305, allocations: 99.27 kB / 0.6746 GB, free: 4.445 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.185e-05/1.208e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2084, allocations: 106.3 MB / 0.8881 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7729/0.9813, allocations: 181.3 MB / 1.065 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000387/0.9818, allocations: 102.5 kB / 1.065 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.4487/1.43, allocations: 104.8 MB / 1.167 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001669/1.431, allocations: 64 kB / 1.168 GB, free: 7.82 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: 809 * Number of variables: 809 Notification: Performance of Generate backend data structure: time 0.0118/1.443, allocations: 2.464 MB / 1.17 GB, free: 5.301 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/1.443, allocations: 8.031 kB / 1.17 GB, free: 5.293 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02223/1.465, allocations: 1.522 MB / 1.171 GB, free: 3.766 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006647/1.472, allocations: 1.736 MB / 1.173 GB, free: 1.988 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002211/1.472, allocations: 96 kB / 1.173 GB, free: 1.895 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00162/1.473, allocations: 172 kB / 1.173 GB, free: 1.727 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01632/1.49, allocations: 4.198 MB / 1.177 GB, free: 13.52 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01931/1.509, allocations: 4.617 MB / 1.182 GB, free: 8.816 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001035/1.509, allocations: 4 kB / 1.182 GB, free: 8.812 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009858/1.51, allocations: 7.875 kB / 1.182 GB, free: 8.805 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005404/1.511, allocations: 201 kB / 1.182 GB, free: 8.605 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0501/1.561, allocations: 22.52 MB / 1.204 GB, free: 36 kB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003453/1.565, allocations: 1.21 MB / 1.205 GB, free: 14.77 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003615/1.568, allocations: 1.215 MB / 1.207 GB, free: 13.53 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003484/1.569, allocations: 126 kB / 1.207 GB, free: 13.39 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.627e-05/1.569, allocations: 55.5 kB / 1.207 GB, free: 13.32 MB / 0.823 GB Notification: Performance of pre-optimization done (n=123): time 4.969e-06/1.569, allocations: 0 / 1.207 GB, free: 13.32 MB / 0.823 GB Notification: Performance of matching and sorting (n=153): time 0.02907/1.598, allocations: 7.425 MB / 1.214 GB, free: 5.855 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001614/1.598, allocations: 222.9 kB / 1.214 GB, free: 5.59 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002264/1.6, allocations: 0.9292 MB / 1.215 GB, free: 4.656 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000496/1.601, allocations: 29.73 kB / 1.215 GB, free: 4.621 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00122/1.602, allocations: 1.207 MB / 1.216 GB, free: 3.395 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001132/1.603, allocations: 0.5044 MB / 1.217 GB, free: 2.883 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000359/1.604, allocations: 0 / 1.217 GB, free: 2.883 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003571/1.604, allocations: 423.2 kB / 1.217 GB, free: 2.461 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004141/1.608, allocations: 1.355 MB / 1.219 GB, free: 1.102 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005212/1.613, allocations: 2.021 MB / 1.22 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007676/1.621, allocations: 1.988 MB / 1.222 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.151e-05/1.621, allocations: 8 kB / 1.222 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01772/1.639, allocations: 4.37 MB / 1.227 GB, free: 8.379 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.003982/1.643, allocations: 8.43 MB / 1.235 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.634e-05/1.643, allocations: 27.91 kB / 1.235 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004565/1.648, allocations: 0.77 MB / 1.236 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007583/1.655, allocations: 0.663 MB / 1.236 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02297/1.678, allocations: 11.72 MB / 1.248 GB, free: 1.398 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00645/1.685, allocations: 299.3 kB / 1.248 GB, free: 1.105 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007665/1.686, allocations: 119.9 kB / 1.248 GB, free: 0.9883 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/1.686, allocations: 10.66 kB / 1.248 GB, free: 0.9805 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01575/1.702, allocations: 4.097 MB / 1.252 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.632e-05/1.702, allocations: 20 kB / 1.252 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003307/1.705, allocations: 0.6609 MB / 1.253 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007538/1.713, allocations: 0.6669 MB / 1.254 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4802/2.193, allocations: 11.3 MB / 1.265 GB, free: 215.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005968/2.199, allocations: 295.4 kB / 1.265 GB, free: 215.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006119/2.2, allocations: 114.8 kB / 1.265 GB, free: 215.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (240): * Single equations (assignments): 234 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007352/2.2, allocations: 174.2 kB / 1.265 GB, free: 215 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005872/2.201, allocations: 118 kB / 1.265 GB, free: 215 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01388/2.215, allocations: 3.862 MB / 1.269 GB, free: 214.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-05/2.215, allocations: 20.41 kB / 1.269 GB, free: 214.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-05/2.215, allocations: 7.094 kB / 1.269 GB, free: 214.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.442e-05/2.215, allocations: 11.58 kB / 1.269 GB, free: 214.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01994/2.235, allocations: 6.786 MB / 1.276 GB, free: 213.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.151e-05/2.235, allocations: 6.719 kB / 1.276 GB, free: 213.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005344/2.24, allocations: 432.1 kB / 1.276 GB, free: 213.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003262/2.244, allocations: 0.6286 MB / 1.277 GB, free: 213.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004491/2.244, allocations: 25.55 kB / 1.277 GB, free: 213.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01654/2.261, allocations: 11.14 MB / 1.288 GB, free: 206.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-05/2.261, allocations: 10.09 kB / 1.288 GB, free: 206.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0103/2.271, allocations: 3.703 MB / 1.291 GB, free: 205.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00169/2.273, allocations: 0.4965 MB / 1.292 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006247/2.273, allocations: 11.56 kB / 1.292 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005543/2.279, allocations: 253.2 kB / 1.292 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004664/2.28, allocations: 94.42 kB / 1.292 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000266/2.28, allocations: 61.8 kB / 1.292 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001545/2.281, allocations: 0.726 MB / 1.293 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.007713/2.289, allocations: 1.038 MB / 1.294 GB, free: 205.4 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 (105): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007245/2.29, allocations: 140.7 kB / 1.294 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01738/2.307, allocations: 6.317 MB / 1.3 GB, free: 204.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/2.307, allocations: 0 / 1.3 GB, free: 204.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.005876/2.313, allocations: 2.1 MB / 1.302 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/2.315, allocations: 120.4 kB / 1.302 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03241/2.348, allocations: 5.629 MB / 1.308 GB, free: 202.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006218/2.354, allocations: 2.487 MB / 1.31 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.613e-06/2.354, allocations: 0 / 1.31 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.1206/2.474, allocations: 48.32 MB / 1.357 GB, free: 199.6 MB / 0.8698 GB