Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [: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.1.4-maint.8.1.x/package.mo): time 1.337/1.337, allocations: 289.8 MB / 297.1 MB, free: 6.613 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.0009479/0.0009479, allocations: 172.1 kB / 366.3 MB, free: 1.93 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.004/1.004, allocations: 205.1 MB / 0.6256 GB, free: 5.793 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.0007554/0.0007558, allocations: 87.69 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.76e-06/5.781e-06, allocations: 0 / 0.859 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3739, allocations: 116.3 MB / 0.9726 GB, free: 68.15 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1709/0.5448, allocations: 196.5 MB / 1.165 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.5451, allocations: 92.66 kB / 1.165 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of FrontEnd: time 0.488/1.033, allocations: 112.3 MB / 1.274 GB, free: 193.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001637/1.033, allocations: 78.39 kB / 1.274 GB, free: 193.1 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.005569/1.039, allocations: 2.703 MB / 1.277 GB, free: 191.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/1.039, allocations: 15.03 kB / 1.277 GB, free: 191.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003912/1.043, allocations: 0.6436 MB / 1.278 GB, free: 191.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003458/1.046, allocations: 2.081 MB / 1.28 GB, free: 190.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.679e-05/1.046, allocations: 99.94 kB / 1.28 GB, free: 190.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003512/1.047, allocations: 168.1 kB / 1.28 GB, free: 190.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004105/1.051, allocations: 3.084 MB / 1.283 GB, free: 189.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004927/1.056, allocations: 4.222 MB / 1.287 GB, free: 187.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.537e-05/1.056, allocations: 13.09 kB / 1.287 GB, free: 187.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000251/1.056, allocations: 7.594 kB / 1.287 GB, free: 187.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001146/1.056, allocations: 171.9 kB / 1.287 GB, free: 187.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01455/1.071, allocations: 21.06 MB / 1.308 GB, free: 168 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/1.072, allocations: 1.177 MB / 1.309 GB, free: 167.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/1.073, allocations: 1.023 MB / 1.31 GB, free: 167 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.66e-05/1.073, allocations: 13.5 kB / 1.31 GB, free: 167 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/1.073, allocations: 40.41 kB / 1.31 GB, free: 167 MB / 0.823 GB Notification: Performance of pre-optimization done (n=107): time 3.076e-06/1.073, allocations: 0 / 1.31 GB, free: 167 MB / 0.823 GB Notification: Performance of matching and sorting (n=138): time 0.007206/1.08, allocations: 4.81 MB / 1.315 GB, free: 162.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/1.08, allocations: 64.72 kB / 1.315 GB, free: 162.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007295/1.081, allocations: 0.8267 MB / 1.316 GB, free: 161.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.815e-05/1.081, allocations: 25.7 kB / 1.316 GB, free: 161.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002869/1.081, allocations: 1.135 MB / 1.317 GB, free: 160.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002114/1.082, allocations: 469 kB / 1.317 GB, free: 160.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.355e-05/1.082, allocations: 0 / 1.317 GB, free: 160.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.204e-05/1.082, allocations: 373.9 kB / 1.317 GB, free: 159.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008364/1.083, allocations: 0.8629 MB / 1.318 GB, free: 159.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009605/1.084, allocations: 1.32 MB / 1.32 GB, free: 157.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/1.085, allocations: 1.107 MB / 1.321 GB, free: 156.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/1.085, allocations: 4 kB / 1.321 GB, free: 156.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.004308/1.089, allocations: 3.266 MB / 1.324 GB, free: 153.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/1.089, allocations: 4 kB / 1.324 GB, free: 153.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/1.089, allocations: 16 kB / 1.324 GB, free: 153.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002545/1.092, allocations: 1.101 MB / 1.325 GB, free: 152 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007957/1.092, allocations: 255.5 kB / 1.325 GB, free: 151.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01071/1.103, allocations: 11.33 MB / 1.336 GB, free: 140.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008909/1.104, allocations: 39.95 kB / 1.336 GB, free: 140.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/1.104, allocations: 64 kB / 1.336 GB, free: 140 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 131 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,84.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001919/1.104, allocations: 144.5 kB / 1.337 GB, free: 139.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/1.104, allocations: 150.2 kB / 1.337 GB, free: 139.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004241/1.109, allocations: 3.041 MB / 1.34 GB, free: 136.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/1.109, allocations: 12 kB / 1.34 GB, free: 136.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/1.109, allocations: 19.84 kB / 1.34 GB, free: 136.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/1.109, allocations: 7.969 kB / 1.34 GB, free: 136.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007298/1.116, allocations: 5.61 MB / 1.345 GB, free: 131 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/1.116, allocations: 8.031 kB / 1.345 GB, free: 131 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005307/1.117, allocations: 135.8 kB / 1.345 GB, free: 130.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002317/1.119, allocations: 1.025 MB / 1.346 GB, free: 129.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.359e-05/1.119, allocations: 8 kB / 1.346 GB, free: 129.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01033/1.129, allocations: 11.01 MB / 1.357 GB, free: 118.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.129, allocations: 11.84 kB / 1.357 GB, free: 118.4 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003812/1.133, allocations: 3.256 MB / 1.36 GB, free: 115 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005874/1.134, allocations: 407.1 kB / 1.361 GB, free: 114.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002159/1.134, allocations: 11.91 kB / 1.361 GB, free: 114.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006618/1.135, allocations: 39.94 kB / 1.361 GB, free: 114.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/1.135, allocations: 72.84 kB / 1.361 GB, free: 114.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.393e-05/1.135, allocations: 40.28 kB / 1.361 GB, free: 114.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0006087/1.136, allocations: 0.6243 MB / 1.361 GB, free: 113.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001523/1.137, allocations: 0.5703 MB / 1.362 GB, free: 113.2 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,84.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001739/1.137, allocations: 127 kB / 1.362 GB, free: 113.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003285/1.141, allocations: 2.799 MB / 1.365 GB, free: 110.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/1.141, allocations: 4 kB / 1.365 GB, free: 110.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002143/1.143, allocations: 1.696 MB / 1.366 GB, free: 108.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/1.144, allocations: 384 kB / 1.367 GB, free: 108.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006122/1.15, allocations: 4.344 MB / 1.371 GB, free: 103.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001801/1.152, allocations: 2.421 MB / 1.373 GB, free: 101.3 MB / 0.823 GB Notification: Performance of SimCode: time 2.21e-07/1.152, allocations: 0 / 1.373 GB, free: 101.3 MB / 0.823 GB Notification: Performance of Templates: time 0.03349/1.186, allocations: 28.71 MB / 1.401 GB, free: 72.94 MB / 0.823 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)