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.TransformerStepUpYD.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.TransformerStepUpYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD") [: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.505/2.505, allocations: 253.1 MB / 260.4 MB, free: 7.488 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.00163/0.00163, allocations: 181.2 kB / 319.6 MB, free: 3.34 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 2.015/2.015, 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.001309/0.001309, allocations: 101.8 kB / 0.6746 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.538e-06/9.678e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2072, allocations: 106.2 MB / 0.8881 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.732/0.9393, allocations: 181.3 MB / 1.065 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003736/0.9397, allocations: 95 kB / 1.065 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.4726/1.412, allocations: 101.2 MB / 1.164 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001564/1.413, allocations: 55.94 kB / 1.164 GB, free: 11.37 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.01136/1.424, allocations: 2.38 MB / 1.166 GB, free: 8.938 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/1.424, allocations: 8.031 kB / 1.166 GB, free: 8.93 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02165/1.446, allocations: 1.511 MB / 1.168 GB, free: 7.414 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00606/1.452, allocations: 1.662 MB / 1.17 GB, free: 5.711 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000216/1.452, allocations: 92 kB / 1.17 GB, free: 5.621 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009808/1.453, allocations: 171.8 kB / 1.17 GB, free: 5.453 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01383/1.467, allocations: 4.076 MB / 1.174 GB, free: 1.371 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01492/1.482, allocations: 4.433 MB / 1.178 GB, free: 12.84 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.989e-05/1.482, allocations: 3.938 kB / 1.178 GB, free: 12.84 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005108/1.483, allocations: 4 kB / 1.178 GB, free: 12.84 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005127/1.483, allocations: 192.8 kB / 1.178 GB, free: 12.64 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04827/1.531, allocations: 22.15 MB / 1.2 GB, free: 4.434 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004801/1.536, allocations: 1.798 MB / 1.202 GB, free: 2.57 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004086/1.54, allocations: 1.425 MB / 1.203 GB, free: 1.121 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003435/1.541, allocations: 122 kB / 1.203 GB, free: 0.9844 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.698e-05/1.541, allocations: 59.62 kB / 1.203 GB, free: 0.918 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=132): time 4.669e-06/1.541, allocations: 0 / 1.203 GB, free: 0.918 MB / 0.8073 GB Notification: Performance of matching and sorting (n=174): time 0.03179/1.573, allocations: 7.778 MB / 1.211 GB, free: 9.102 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002374/1.573, allocations: 234.9 kB / 1.211 GB, free: 8.824 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002118/1.575, allocations: 0.8273 MB / 1.212 GB, free: 7.992 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000564/1.576, allocations: 25.7 kB / 1.212 GB, free: 7.961 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001186/1.577, allocations: 1.103 MB / 1.213 GB, free: 6.84 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001248/1.578, allocations: 0.5697 MB / 1.214 GB, free: 6.262 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003711/1.579, allocations: 0 / 1.214 GB, free: 6.262 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0004049/1.579, allocations: 431.1 kB / 1.214 GB, free: 5.832 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004445/1.583, allocations: 1.387 MB / 1.215 GB, free: 4.441 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005458/1.589, allocations: 1.947 MB / 1.217 GB, free: 2.242 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007815/1.597, allocations: 2.016 MB / 1.219 GB, free: 236 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-05/1.597, allocations: 4 kB / 1.219 GB, free: 232 kB / 0.823 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01784/1.615, allocations: 4.585 MB / 1.224 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.003543/1.618, allocations: 6.866 MB / 1.23 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-05/1.618, allocations: 20 kB / 1.23 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005333/1.624, allocations: 1.024 MB / 1.231 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00714/1.631, allocations: 0.6163 MB / 1.232 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02576/1.657, allocations: 9.422 MB / 1.241 GB, free: 8.887 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006269/1.663, allocations: 291.3 kB / 1.241 GB, free: 8.602 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007608/1.664, allocations: 115.8 kB / 1.242 GB, free: 8.492 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/1.664, allocations: 4 kB / 1.242 GB, free: 8.488 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01673/1.681, allocations: 4.312 MB / 1.246 GB, free: 4.168 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.187e-05/1.681, allocations: 16 kB / 1.246 GB, free: 4.152 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004182/1.685, allocations: 0.8686 MB / 1.247 GB, free: 3.277 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00716/1.692, allocations: 0.6201 MB / 1.247 GB, free: 2.656 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02458/1.717, allocations: 9.044 MB / 1.256 GB, free: 9.379 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005976/1.723, allocations: 279.4 kB / 1.256 GB, free: 9.105 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006625/1.724, allocations: 104 kB / 1.256 GB, free: 9.004 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,75.0%) 30,(6,77.8%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007712/1.724, allocations: 164.4 kB / 1.257 GB, free: 8.836 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006791/1.725, allocations: 122.5 kB / 1.257 GB, free: 8.715 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01727/1.742, allocations: 4.222 MB / 1.261 GB, free: 4.449 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.034e-05/1.743, allocations: 20 kB / 1.261 GB, free: 4.43 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.361e-05/1.743, allocations: 12 kB / 1.261 GB, free: 4.418 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.353e-05/1.743, allocations: 11.97 kB / 1.261 GB, free: 4.406 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4633/2.206, allocations: 7.418 MB / 1.268 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.52e-05/2.206, allocations: 9.75 kB / 1.268 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005344/2.211, allocations: 421.2 kB / 1.269 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004265/2.216, allocations: 0.8814 MB / 1.269 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004802/2.216, allocations: 39.72 kB / 1.269 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02557/2.242, allocations: 8.833 MB / 1.278 GB, free: 217.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.219e-05/2.242, allocations: 15.06 kB / 1.278 GB, free: 217.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01205/2.254, allocations: 4.178 MB / 1.282 GB, free: 216.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001803/2.256, allocations: 0.5079 MB / 1.283 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007209/2.257, allocations: 14.31 kB / 1.283 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00552/2.262, allocations: 265.5 kB / 1.283 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004694/2.263, allocations: 97.31 kB / 1.283 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003052/2.263, allocations: 69.38 kB / 1.283 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001368/2.264, allocations: 0.6391 MB / 1.284 GB, free: 216.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006379/2.271, allocations: 1.053 MB / 1.285 GB, free: 216.3 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.0006466/2.271, allocations: 132.5 kB / 1.285 GB, free: 216.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01802/2.289, allocations: 6.05 MB / 1.291 GB, free: 215.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/2.29, allocations: 3.625 kB / 1.291 GB, free: 215.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.005998/2.296, allocations: 1.907 MB / 1.293 GB, free: 215.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/2.297, allocations: 115.2 kB / 1.293 GB, free: 215.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0398/2.337, allocations: 5.696 MB / 1.298 GB, free: 214.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004917/2.342, allocations: 2.426 MB / 1.301 GB, free: 213.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.673e-06/2.342, allocations: 3.609 kB / 1.301 GB, free: 213.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.1258/2.468, allocations: 51.32 MB / 1.351 GB, free: 211.6 MB / 0.8698 GB