Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.354/1.354, allocations: 289.8 MB / 297.1 MB, free: 6.715 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.000894/0.000894, allocations: 189.3 kB / 366.3 MB, free: 1.996 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.056/1.056, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.0007826/0.0007827, allocations: 88.36 kB / 0.7396 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.911e-06/5.921e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4116, allocations: 116.3 MB / 0.9726 GB, free: 68.86 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1555/0.5671, allocations: 166.7 MB / 1.135 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/0.5674, allocations: 92.59 kB / 1.135 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.6268/1.194, allocations: 163.8 MB / 1.295 GB, free: 153.3 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.000199/1.194, allocations: 94.27 kB / 1.296 GB, free: 153.3 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.006802/1.201, allocations: 3.388 MB / 1.299 GB, free: 151.8 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/1.201, allocations: 11.78 kB / 1.299 GB, free: 151.8 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00532/1.207, allocations: 1.04 MB / 1.3 GB, free: 151.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003687/1.21, allocations: 2.641 MB / 1.302 GB, free: 150.9 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.168e-05/1.21, allocations: 118.9 kB / 1.303 GB, free: 150.9 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004373/1.211, allocations: 210.4 kB / 1.303 GB, free: 150.9 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007211/1.218, allocations: 4.593 MB / 1.307 GB, free: 150.8 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008112/1.226, allocations: 6.25 MB / 1.313 GB, free: 149.8 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.227e-05/1.226, allocations: 13.53 kB / 1.313 GB, free: 149.8 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003529/1.227, allocations: 9.375 kB / 1.313 GB, free: 149.8 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005623/1.227, allocations: 412.1 kB / 1.314 GB, free: 149.8 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02485/1.252, allocations: 31.64 MB / 1.345 GB, free: 127.2 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002067/1.254, allocations: 2.105 MB / 1.347 GB, free: 125.9 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002174/1.256, allocations: 2.245 MB / 1.349 GB, free: 124.4 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-05/1.256, allocations: 27.45 kB / 1.349 GB, free: 124.4 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/1.256, allocations: 53.69 kB / 1.349 GB, free: 124.3 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=146): time 3.336e-06/1.256, allocations: 0 / 1.349 GB, free: 124.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=251): time 0.04776/1.304, allocations: 21.58 MB / 1.37 GB, free: 107.1 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/1.304, allocations: 81.34 kB / 1.37 GB, free: 107 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/1.306, allocations: 1.257 MB / 1.371 GB, free: 106 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002321/1.306, allocations: 25.7 kB / 1.371 GB, free: 106 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003988/1.306, allocations: 1.461 MB / 1.373 GB, free: 104.7 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005238/1.307, allocations: 0.8178 MB / 1.374 GB, free: 104 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002453/1.307, allocations: 0 / 1.374 GB, free: 104 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.17e-05/1.307, allocations: 406.6 kB / 1.374 GB, free: 103.6 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002744/1.31, allocations: 2.872 MB / 1.377 GB, free: 101.7 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002915/1.313, allocations: 3.396 MB / 1.38 GB, free: 99.11 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004383/1.317, allocations: 3.606 MB / 1.384 GB, free: 96.6 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/1.317, allocations: 8 kB / 1.384 GB, free: 96.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.01978/1.337, allocations: 12.41 MB / 1.396 GB, free: 84.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/1.337, allocations: 7.906 kB / 1.396 GB, free: 84.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/1.337, allocations: 16 kB / 1.396 GB, free: 84.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02045/1.357, allocations: 7.966 MB / 1.404 GB, free: 76.49 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/1.359, allocations: 279.5 kB / 1.404 GB, free: 76.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0396/1.398, allocations: 30.9 MB / 1.434 GB, free: 44.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/1.4, allocations: 91.67 kB / 1.434 GB, free: 44.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003874/1.401, allocations: 263.8 kB / 1.434 GB, free: 44.61 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * 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: 3 {(19,68.1%) 19,(12,50.0%) 18,(12,53.5%) 10} * Non-linear torn systems: 3 {20 18,12 18,12 10} Notification: Performance of prepare postOptimizeDAE: time 0.0005373/1.401, allocations: 152.5 kB / 1.435 GB, free: 44.45 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003977/1.402, allocations: 233.2 kB / 1.435 GB, free: 44.22 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02022/1.422, allocations: 12.65 MB / 1.447 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/1.422, allocations: 24 kB / 1.447 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-05/1.422, allocations: 24 kB / 1.447 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.252e-05/1.422, allocations: 15.95 kB / 1.447 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0273/1.449, allocations: 18.1 MB / 1.465 GB, free: 13.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/1.45, allocations: 8 kB / 1.465 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006827/1.45, allocations: 159.8 kB / 1.465 GB, free: 13.15 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02065/1.471, allocations: 7.884 MB / 1.473 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004292/1.471, allocations: 87.86 kB / 1.473 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04515/1.516, allocations: 30.44 MB / 1.502 GB, free: 6.328 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.063e-05/1.517, allocations: 11.94 kB / 1.502 GB, free: 6.316 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0231/1.54, allocations: 12.69 MB / 1.515 GB, free: 9.387 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002034/1.542, allocations: 0.9938 MB / 1.516 GB, free: 8.371 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005403/1.542, allocations: 8 kB / 1.516 GB, free: 8.363 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001537/1.544, allocations: 79.81 kB / 1.516 GB, free: 8.285 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004935/1.544, allocations: 205.5 kB / 1.516 GB, free: 8.082 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004081/1.545, allocations: 235.8 kB / 1.516 GB, free: 7.852 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.001244/1.546, allocations: 0.9504 MB / 1.517 GB, free: 6.91 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003113/1.549, allocations: 1.113 MB / 1.518 GB, free: 5.797 MB / 0.8855 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 (80): * Single equations (assignments): 74 * 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: 3 {(12,53.5%) 10,(12,50.0%) 18,(19,54.8%) 19} * Non-linear torn systems: 3 {12 10,12 18,20 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004336/1.55, allocations: 150.8 kB / 1.519 GB, free: 5.641 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01644/1.566, allocations: 9.377 MB / 1.528 GB, free: 12.24 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/1.566, allocations: 0 / 1.528 GB, free: 12.24 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.01249/1.579, allocations: 5.972 MB / 1.534 GB, free: 6.25 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/1.581, allocations: 410 kB / 1.534 GB, free: 5.871 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/1.594, allocations: 7.486 MB / 1.541 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003313/1.597, allocations: 3.216 MB / 1.544 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of SimCode: time 8.42e-07/1.597, allocations: 0 / 1.544 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of Templates: time 0.3104/1.908, allocations: 65.7 MB / 1.609 GB, free: 369.7 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)