Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [: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.295/1.295, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.0009055/0.0009055, allocations: 177.3 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.9905/0.9905, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0007743/0.0007743, allocations: 86.7 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.594e-06/7.604e-06, allocations: 4 kB / 0.8511 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3944, allocations: 115.3 MB / 0.9637 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1682/0.5626, allocations: 194.2 MB / 1.153 GB, free: 9.77 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.5629, allocations: 97.48 kB / 1.153 GB, free: 9.676 MB / 0.7605 GB Notification: Performance of FrontEnd: time 0.5776/1.141, allocations: 144.7 MB / 1.295 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001417/1.141, allocations: 98.88 kB / 1.295 GB, free: 184.5 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.004791/1.146, allocations: 3.277 MB / 1.298 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/1.146, allocations: 7.812 kB / 1.298 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004225/1.15, allocations: 0.8024 MB / 1.299 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004032/1.154, allocations: 2.579 MB / 1.301 GB, free: 182.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.428e-05/1.154, allocations: 116.9 kB / 1.301 GB, free: 182.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005532/1.155, allocations: 230.8 kB / 1.302 GB, free: 182.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00472/1.159, allocations: 3.712 MB / 1.305 GB, free: 182.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005953/1.165, allocations: 5.225 MB / 1.31 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.298e-05/1.165, allocations: 19.22 kB / 1.31 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003067/1.166, allocations: 7.656 kB / 1.31 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001308/1.166, allocations: 222.2 kB / 1.311 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01905/1.185, allocations: 26.94 MB / 1.337 GB, free: 163 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/1.186, allocations: 1.033 MB / 1.338 GB, free: 163 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/1.187, allocations: 0.9698 MB / 1.339 GB, free: 163 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.371e-05/1.187, allocations: 19.81 kB / 1.339 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/1.187, allocations: 54.38 kB / 1.339 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=110): time 3.286e-06/1.187, allocations: 0 / 1.339 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=131): time 0.01101/1.198, allocations: 6.948 MB / 1.346 GB, free: 161.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.045e-05/1.198, allocations: 66.06 kB / 1.346 GB, free: 161.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/1.199, allocations: 1.073 MB / 1.347 GB, free: 161.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.23e-05/1.199, allocations: 25.7 kB / 1.347 GB, free: 161.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004268/1.2, allocations: 1.421 MB / 1.348 GB, free: 160.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/1.2, allocations: 453.8 kB / 1.349 GB, free: 160.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-05/1.2, allocations: 4 kB / 1.349 GB, free: 160.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.725e-05/1.2, allocations: 380.7 kB / 1.349 GB, free: 159.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009332/1.201, allocations: 0.8541 MB / 1.35 GB, free: 159.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/1.202, allocations: 1.433 MB / 1.351 GB, free: 159.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/1.203, allocations: 1.111 MB / 1.352 GB, free: 159.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/1.203, allocations: 5.219 kB / 1.352 GB, free: 159.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004295/1.208, allocations: 3.053 MB / 1.355 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/1.208, allocations: 6.25 kB / 1.355 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/1.208, allocations: 18.97 kB / 1.355 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002046/1.21, allocations: 0.7151 MB / 1.356 GB, free: 158.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/1.211, allocations: 370.9 kB / 1.356 GB, free: 158.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01002/1.221, allocations: 14.49 MB / 1.371 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/1.222, allocations: 52.77 kB / 1.371 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/1.223, allocations: 83.59 kB / 1.371 GB, free: 146.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002253/1.223, allocations: 160.4 kB / 1.371 GB, free: 146 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002059/1.223, allocations: 188.4 kB / 1.371 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004174/1.227, allocations: 2.664 MB / 1.374 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/1.227, allocations: 14.12 kB / 1.374 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/1.227, allocations: 5.625 kB / 1.374 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/1.227, allocations: 12.61 kB / 1.374 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00779/1.235, allocations: 5.453 MB / 1.379 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.814e-06/1.235, allocations: 8.25 kB / 1.379 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/1.236, allocations: 222.9 kB / 1.379 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001838/1.238, allocations: 0.6423 MB / 1.38 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.469e-05/1.238, allocations: 18.75 kB / 1.38 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009063/1.247, allocations: 14.19 MB / 1.394 GB, free: 128.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.247, allocations: 4 kB / 1.394 GB, free: 128.1 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00446/1.252, allocations: 4.23 MB / 1.398 GB, free: 124.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005847/1.252, allocations: 432.9 kB / 1.398 GB, free: 123.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000257/1.253, allocations: 13.92 kB / 1.398 GB, free: 123.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008004/1.253, allocations: 42.16 kB / 1.398 GB, free: 123.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/1.254, allocations: 78.97 kB / 1.398 GB, free: 123.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-05/1.254, allocations: 38.72 kB / 1.398 GB, free: 123.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0007806/1.254, allocations: 0.7925 MB / 1.399 GB, free: 122.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001757/1.256, allocations: 0.6327 MB / 1.4 GB, free: 122.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001938/1.256, allocations: 133.4 kB / 1.4 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003444/1.26, allocations: 3.211 MB / 1.403 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.26, allocations: 0 / 1.403 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002135/1.262, allocations: 2.066 MB / 1.405 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/1.264, allocations: 0.513 MB / 1.406 GB, free: 116.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007046/1.271, allocations: 5.206 MB / 1.411 GB, free: 112 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002362/1.273, allocations: 2.809 MB / 1.413 GB, free: 109.7 MB / 0.8542 GB Notification: Performance of SimCode: time 3e-07/1.273, allocations: 3.938 kB / 1.413 GB, free: 109.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.03712/1.31, allocations: 30.08 MB / 1.443 GB, free: 80.63 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)