Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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.336/1.336, allocations: 289.8 MB / 297.1 MB, free: 6.719 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.0009433/0.0009433, allocations: 185.2 kB / 366.3 MB, free: 2.027 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.9657/0.9657, allocations: 205.1 MB / 0.6256 GB, free: 5.867 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.0007981/0.0007981, allocations: 86.89 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.313e-06/7.334e-06, allocations: 4 kB / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3846, allocations: 116.3 MB / 0.9726 GB, free: 68.14 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1675/0.5521, allocations: 186.3 MB / 1.154 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.5524, allocations: 96.62 kB / 1.155 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of FrontEnd: time 0.9334/1.486, allocations: 352.1 MB / 1.498 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002534/1.486, allocations: 167.9 kB / 1.499 GB, free: 4.625 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.009267/1.495, allocations: 5.628 MB / 1.504 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/1.495, allocations: 8.031 kB / 1.504 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01075/1.506, allocations: 1.681 MB / 1.506 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00975/1.516, allocations: 5.031 MB / 1.511 GB, free: 8.113 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/1.516, allocations: 196 kB / 1.511 GB, free: 7.918 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000833/1.517, allocations: 363.8 kB / 1.511 GB, free: 7.562 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01028/1.527, allocations: 7.065 MB / 1.518 GB, free: 492 kB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01263/1.54, allocations: 9.193 MB / 1.527 GB, free: 6.805 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001326/1.54, allocations: 39.61 kB / 1.527 GB, free: 6.766 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005569/1.541, allocations: 16 kB / 1.527 GB, free: 6.75 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002992/1.541, allocations: 396 kB / 1.527 GB, free: 6.359 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04263/1.583, allocations: 45.33 MB / 1.572 GB, free: 5.297 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004163/1.588, allocations: 3.716 MB / 1.575 GB, free: 1.574 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00398/1.592, allocations: 3.497 MB / 1.579 GB, free: 14.07 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001997/1.592, allocations: 46.7 kB / 1.579 GB, free: 14.02 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.445e-05/1.592, allocations: 69.34 kB / 1.579 GB, free: 13.95 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=353): time 4.739e-06/1.592, allocations: 0 / 1.579 GB, free: 13.95 MB / 0.9323 GB Notification: Performance of matching and sorting (n=578): time 0.3232/1.915, allocations: 38.07 MB / 1.616 GB, free: 256.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/1.915, allocations: 112.1 kB / 1.616 GB, free: 256.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001985/1.917, allocations: 1.834 MB / 1.618 GB, free: 255.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003168/1.918, allocations: 25.7 kB / 1.618 GB, free: 255.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007352/1.918, allocations: 2.179 MB / 1.62 GB, free: 254.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001074/1.919, allocations: 1.877 MB / 1.622 GB, free: 253.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00035/1.92, allocations: 0 / 1.622 GB, free: 253.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002057/1.92, allocations: 0.5345 MB / 1.622 GB, free: 253.6 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003901/1.924, allocations: 3.756 MB / 1.626 GB, free: 253.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004361/1.928, allocations: 4.833 MB / 1.631 GB, free: 252.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004669/1.933, allocations: 4.586 MB / 1.635 GB, free: 252.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.426e-05/1.933, allocations: 7.875 kB / 1.635 GB, free: 252.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.02829/1.961, allocations: 15.5 MB / 1.65 GB, free: 251.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/1.961, allocations: 3.688 kB / 1.65 GB, free: 251.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.081e-05/1.961, allocations: 29.44 kB / 1.65 GB, free: 251.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02147/1.983, allocations: 7.414 MB / 1.658 GB, free: 251.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001915/1.985, allocations: 0.5426 MB / 1.658 GB, free: 251.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06938/2.054, allocations: 61.17 MB / 1.718 GB, free: 230.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003795/2.058, allocations: 83.48 kB / 1.718 GB, free: 230.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004519/2.058, allocations: 201.8 kB / 1.718 GB, free: 230.6 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 275 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(6,77.8%) 40,(6,77.8%) 72,(14,57.1%) 72,(14,51.0%) 72,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008057/2.059, allocations: 193 kB / 1.718 GB, free: 230.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006194/2.06, allocations: 449.5 kB / 1.719 GB, free: 230.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03032/2.09, allocations: 15.49 MB / 1.734 GB, free: 224.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.647e-05/2.09, allocations: 58.64 kB / 1.734 GB, free: 224.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.014e-05/2.09, allocations: 72.03 kB / 1.734 GB, free: 224.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-05/2.09, allocations: 24.42 kB / 1.734 GB, free: 224.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03614/2.126, allocations: 22.61 MB / 1.756 GB, free: 216.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.598e-05/2.127, allocations: 8.719 kB / 1.756 GB, free: 216.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/2.128, allocations: 304.7 kB / 1.757 GB, free: 216.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01991/2.148, allocations: 6.777 MB / 1.763 GB, free: 215 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003435/2.148, allocations: 14.08 kB / 1.763 GB, free: 215 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06572/2.214, allocations: 58.12 MB / 1.82 GB, free: 175.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/2.214, allocations: 15.17 kB / 1.82 GB, free: 175.7 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0294/2.244, allocations: 20.71 MB / 1.84 GB, free: 157.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002166/2.246, allocations: 1.235 MB / 1.841 GB, free: 156.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000761/2.246, allocations: 23.56 kB / 1.841 GB, free: 156.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002366/2.249, allocations: 89.94 kB / 1.841 GB, free: 156.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005311/2.249, allocations: 280.8 kB / 1.842 GB, free: 156.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003583/2.25, allocations: 140 kB / 1.842 GB, free: 156 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001418/2.251, allocations: 1.339 MB / 1.843 GB, free: 154.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004945/2.256, allocations: 1.859 MB / 1.845 GB, free: 153 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(7,71.4%) 71,(14,57.1%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004707/2.257, allocations: 150.1 kB / 1.845 GB, free: 152.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01741/2.274, allocations: 12.41 MB / 1.857 GB, free: 141.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/2.274, allocations: 3.938 kB / 1.857 GB, free: 141.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01234/2.286, allocations: 7.729 MB / 1.865 GB, free: 134.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003397/2.29, allocations: 0.9453 MB / 1.866 GB, free: 134 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01995/2.31, allocations: 13.27 MB / 1.879 GB, free: 122 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004602/2.314, allocations: 4.823 MB / 1.883 GB, free: 118.3 MB / 0.9323 GB Notification: Performance of SimCode: time 5.52e-07/2.314, allocations: 0 / 1.883 GB, free: 118.3 MB / 0.9323 GB Notification: Performance of Templates: time 0.1352/2.45, allocations: 123.4 MB / 2.004 GB, free: 16.79 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)