Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.308/1.308, allocations: 285.5 MB / 292.8 MB, free: 10.46 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009905/0.0009905, allocations: 185.2 kB / 361.1 MB, free: 7.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9894/0.9894, allocations: 205.1 MB / 0.6195 GB, free: 10.3 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007983/0.0007983, allocations: 88.11 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.32e-06/5.34e-06, allocations: 0 / 0.8511 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.4087, allocations: 115.3 MB / 0.9637 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1766/0.5853, allocations: 191.5 MB / 1.151 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.5856, allocations: 96.5 kB / 1.151 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of FrontEnd: time 0.5343/1.12, allocations: 119.6 MB / 1.268 GB, free: 195.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.342e-05/1.12, allocations: 59.25 kB / 1.268 GB, free: 195.7 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 792 * Number of variables: 792 Notification: Performance of Generate backend data structure: time 0.003586/1.124, allocations: 2.472 MB / 1.27 GB, free: 194.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/1.124, allocations: 10.62 kB / 1.27 GB, free: 194.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01019/1.134, allocations: 1.638 MB / 1.272 GB, free: 194.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002628/1.136, allocations: 1.802 MB / 1.273 GB, free: 194.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.009e-05/1.137, allocations: 92.5 kB / 1.274 GB, free: 194.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000398/1.137, allocations: 168.2 kB / 1.274 GB, free: 194.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005191/1.142, allocations: 4.233 MB / 1.278 GB, free: 194.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005558/1.148, allocations: 4.66 MB / 1.282 GB, free: 193.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.505e-05/1.148, allocations: 0 / 1.282 GB, free: 193.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003015/1.148, allocations: 3.875 kB / 1.282 GB, free: 193.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000295/1.148, allocations: 239.3 kB / 1.283 GB, free: 193.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0171/1.165, allocations: 22.11 MB / 1.304 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/1.167, allocations: 1.619 MB / 1.306 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00132/1.168, allocations: 1.25 MB / 1.307 GB, free: 181.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000138/1.169, allocations: 111.2 kB / 1.307 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/1.169, allocations: 46.44 kB / 1.307 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=122): time 3.376e-06/1.169, allocations: 3.891 kB / 1.307 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=173): time 0.01341/1.182, allocations: 7.19 MB / 1.314 GB, free: 179 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/1.182, allocations: 74.59 kB / 1.314 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008847/1.183, allocations: 0.9873 MB / 1.315 GB, free: 178.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001277/1.183, allocations: 25.7 kB / 1.315 GB, free: 178.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003455/1.183, allocations: 1.193 MB / 1.316 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003251/1.184, allocations: 0.5694 MB / 1.317 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/1.184, allocations: 1.875 kB / 1.317 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001222/1.184, allocations: 445.3 kB / 1.317 GB, free: 176.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/1.186, allocations: 1.55 MB / 1.319 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001895/1.188, allocations: 2.248 MB / 1.321 GB, free: 174.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003147/1.191, allocations: 2.228 MB / 1.323 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/1.191, allocations: 7.75 kB / 1.323 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.009055/1.2, allocations: 5.402 MB / 1.329 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001171/1.201, allocations: 8.861 MB / 1.337 GB, free: 162.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.693e-05/1.201, allocations: 28.12 kB / 1.337 GB, free: 162.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004201/1.205, allocations: 1.417 MB / 1.339 GB, free: 162.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003127/1.208, allocations: 0.6528 MB / 1.339 GB, free: 162.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01738/1.226, allocations: 15.95 MB / 1.355 GB, free: 151.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002935/1.229, allocations: 314.1 kB / 1.355 GB, free: 151.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002933/1.229, allocations: 122.9 kB / 1.355 GB, free: 151.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.913e-06/1.229, allocations: 4.812 kB / 1.355 GB, free: 151.5 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009203/1.238, allocations: 5.11 MB / 1.36 GB, free: 149.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.059e-05/1.238, allocations: 26.22 kB / 1.36 GB, free: 149.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003482/1.242, allocations: 1.346 MB / 1.362 GB, free: 149.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003008/1.245, allocations: 0.6524 MB / 1.362 GB, free: 149.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01384/1.259, allocations: 15.38 MB / 1.377 GB, free: 139 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002694/1.261, allocations: 307 kB / 1.378 GB, free: 139 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002691/1.262, allocations: 120.8 kB / 1.378 GB, free: 139 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (235): * Single equations (assignments): 229 * 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 {(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004459/1.262, allocations: 168.2 kB / 1.378 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003064/1.262, allocations: 135.4 kB / 1.378 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009306/1.272, allocations: 5.017 MB / 1.383 GB, free: 137 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/1.272, allocations: 16.59 kB / 1.383 GB, free: 137 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.366e-05/1.272, allocations: 11.25 kB / 1.383 GB, free: 137 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/1.272, allocations: 11.5 kB / 1.383 GB, free: 137 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0125/1.284, allocations: 8.164 MB / 1.391 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/1.284, allocations: 10.41 kB / 1.391 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002285/1.287, allocations: 415.5 kB / 1.391 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00327/1.29, allocations: 1.192 MB / 1.392 GB, free: 133.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001546/1.29, allocations: 23.67 kB / 1.392 GB, free: 133.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01431/1.304, allocations: 15.22 MB / 1.407 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/1.304, allocations: 9.078 kB / 1.407 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006543/1.311, allocations: 4.493 MB / 1.412 GB, free: 115.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008339/1.312, allocations: 0.5432 MB / 1.412 GB, free: 115.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000349/1.312, allocations: 15.28 kB / 1.412 GB, free: 115.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002423/1.315, allocations: 283.9 kB / 1.413 GB, free: 115.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/1.315, allocations: 102.8 kB / 1.413 GB, free: 115 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001541/1.315, allocations: 66.17 kB / 1.413 GB, free: 115 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0007678/1.316, allocations: 0.7569 MB / 1.413 GB, free: 114.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003617/1.319, allocations: 1.152 MB / 1.415 GB, free: 113.1 MB / 0.8542 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 (104): * Single equations (assignments): 98 * 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%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002797/1.32, allocations: 138 kB / 1.415 GB, free: 113 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.009826/1.33, allocations: 7.465 MB / 1.422 GB, free: 106.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.33, allocations: 0 / 1.422 GB, free: 106.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003893/1.333, allocations: 2.586 MB / 1.425 GB, free: 103.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008325/1.334, allocations: 164.1 kB / 1.425 GB, free: 103.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/1.35, allocations: 6.095 MB / 1.431 GB, free: 98.49 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002702/1.353, allocations: 2.516 MB / 1.433 GB, free: 96.43 MB / 0.8542 GB Notification: Performance of SimCode: time 4.01e-07/1.353, allocations: 0 / 1.433 GB, free: 96.43 MB / 0.8542 GB Notification: Performance of Templates: time 0.06164/1.414, allocations: 58.48 MB / 1.49 GB, free: 43.41 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe 2>&1)