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.Transformer.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.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer") [: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.254/2.254, allocations: 253.1 MB / 260.4 MB, free: 7.422 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.001587/0.001587, allocations: 189.3 kB / 319.6 MB, free: 3.293 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.934/1.934, allocations: 205.4 MB / 0.5704 GB, free: 15.12 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.001286/0.001285, allocations: 97.88 kB / 0.6746 GB, free: 4.461 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.996e-06/9.177e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2148, allocations: 106.3 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7592/0.974, allocations: 181.6 MB / 1.065 GB, free: 7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003669/0.9744, allocations: 101.6 kB / 1.066 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.5029/1.477, allocations: 103.7 MB / 1.167 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002111/1.478, allocations: 63.92 kB / 1.167 GB, free: 8.457 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: 789 * Number of variables: 789 Notification: Performance of Generate backend data structure: time 0.01374/1.491, allocations: 2.401 MB / 1.169 GB, free: 6 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.72e-05/1.491, allocations: 8.031 kB / 1.169 GB, free: 5.992 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02802/1.52, allocations: 1.522 MB / 1.171 GB, free: 4.465 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01012/1.53, allocations: 1.678 MB / 1.172 GB, free: 2.746 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002292/1.53, allocations: 92 kB / 1.172 GB, free: 2.656 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001851/1.532, allocations: 168 kB / 1.173 GB, free: 2.492 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01553/1.547, allocations: 4.073 MB / 1.177 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01683/1.564, allocations: 4.498 MB / 1.181 GB, free: 9.824 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-05/1.564, allocations: 4 kB / 1.181 GB, free: 9.82 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005239/1.565, allocations: 0 / 1.181 GB, free: 9.82 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00052/1.566, allocations: 196.8 kB / 1.181 GB, free: 9.625 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04944/1.615, allocations: 22.48 MB / 1.203 GB, free: 1.066 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003394/1.618, allocations: 1.175 MB / 1.204 GB, free: 15.83 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003701/1.622, allocations: 1.176 MB / 1.205 GB, free: 14.64 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003472/1.623, allocations: 122 kB / 1.205 GB, free: 14.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.084e-05/1.623, allocations: 55.5 kB / 1.206 GB, free: 14.43 MB / 0.823 GB Notification: Performance of pre-optimization done (n=116): time 5.391e-06/1.623, allocations: 0 / 1.206 GB, free: 14.43 MB / 0.823 GB Notification: Performance of matching and sorting (n=146): time 0.0279/1.651, allocations: 7.204 MB / 1.213 GB, free: 7.188 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001802/1.651, allocations: 218.9 kB / 1.213 GB, free: 6.926 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002279/1.653, allocations: 0.9135 MB / 1.214 GB, free: 6.008 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004687/1.654, allocations: 25.7 kB / 1.214 GB, free: 5.977 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001321/1.655, allocations: 1.184 MB / 1.215 GB, free: 4.773 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001059/1.656, allocations: 492.8 kB / 1.215 GB, free: 4.285 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003068/1.656, allocations: 0 / 1.215 GB, free: 4.285 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003718/1.657, allocations: 430.9 kB / 1.216 GB, free: 3.855 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00404/1.661, allocations: 1.297 MB / 1.217 GB, free: 2.555 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005183/1.666, allocations: 1.975 MB / 1.219 GB, free: 276 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007713/1.674, allocations: 1.919 MB / 1.221 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.819e-05/1.674, allocations: 4 kB / 1.221 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01748/1.691, allocations: 4.27 MB / 1.225 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.005158/1.697, allocations: 8.597 MB / 1.233 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001493/1.697, allocations: 24 kB / 1.233 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007684/1.705, allocations: 0.7857 MB / 1.234 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009134/1.714, allocations: 0.6512 MB / 1.235 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02489/1.739, allocations: 11.75 MB / 1.246 GB, free: 2.852 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006463/1.745, allocations: 303.2 kB / 1.247 GB, free: 2.555 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000846/1.746, allocations: 112 kB / 1.247 GB, free: 2.445 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/1.746, allocations: 8 kB / 1.247 GB, free: 2.438 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01607/1.762, allocations: 3.984 MB / 1.251 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001112/1.763, allocations: 20 kB / 1.251 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00344/1.766, allocations: 0.6808 MB / 1.251 GB, free: 13.71 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007522/1.774, allocations: 0.6513 MB / 1.252 GB, free: 13.06 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0202/1.794, allocations: 11.35 MB / 1.263 GB, free: 1.012 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006088/1.8, allocations: 287.5 kB / 1.263 GB, free: 0.7305 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007194/1.801, allocations: 115.9 kB / 1.263 GB, free: 0.6172 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (232): * Single equations (assignments): 226 * 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.0008133/1.802, allocations: 176.1 kB / 1.264 GB, free: 448 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007329/1.802, allocations: 118.6 kB / 1.264 GB, free: 328 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3664/2.169, allocations: 3.619 MB / 1.267 GB, free: 354.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.192e-05/2.169, allocations: 15.72 kB / 1.267 GB, free: 354.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.081e-05/2.169, allocations: 7.875 kB / 1.267 GB, free: 354.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.001e-05/2.169, allocations: 10.66 kB / 1.267 GB, free: 354.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01956/2.188, allocations: 6.792 MB / 1.274 GB, free: 353.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.896e-05/2.189, allocations: 10.88 kB / 1.274 GB, free: 353.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005278/2.194, allocations: 420.2 kB / 1.274 GB, free: 353.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003322/2.197, allocations: 0.6341 MB / 1.275 GB, free: 353.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004237/2.198, allocations: 30.62 kB / 1.275 GB, free: 353.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01723/2.215, allocations: 11.16 MB / 1.286 GB, free: 346.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.127e-05/2.215, allocations: 15.75 kB / 1.286 GB, free: 346.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01001/2.225, allocations: 3.659 MB / 1.289 GB, free: 345.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001618/2.227, allocations: 496.1 kB / 1.29 GB, free: 345.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005004/2.227, allocations: 14.39 kB / 1.29 GB, free: 345.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005256/2.232, allocations: 255.9 kB / 1.29 GB, free: 345.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003389/2.233, allocations: 86.55 kB / 1.29 GB, free: 345.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002407/2.233, allocations: 58.62 kB / 1.29 GB, free: 345.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001448/2.235, allocations: 0.6963 MB / 1.291 GB, free: 345.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006228/2.241, allocations: 1.015 MB / 1.292 GB, free: 345.2 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): 95 * 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.0005212/2.241, allocations: 140.6 kB / 1.292 GB, free: 345.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01677/2.258, allocations: 6.153 MB / 1.298 GB, free: 343.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/2.258, allocations: 0 / 1.298 GB, free: 343.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.005781/2.264, allocations: 2.069 MB / 1.3 GB, free: 343.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/2.266, allocations: 119.5 kB / 1.3 GB, free: 343.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03183/2.298, allocations: 5.523 MB / 1.306 GB, free: 342.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005487/2.303, allocations: 2.439 MB / 1.308 GB, free: 341.6 MB / 0.8698 GB Notification: Performance of SimCode: time 2.434e-06/2.303, allocations: 0 / 1.308 GB, free: 341.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.1193/2.423, allocations: 47.22 MB / 1.354 GB, free: 335.1 MB / 0.8698 GB