Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [: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.37/1.37, allocations: 289.8 MB / 297 MB, free: 6.66 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.001014/0.001014, allocations: 181.3 kB / 366.3 MB, free: 1.941 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.052/1.052, allocations: 205.2 MB / 0.6256 GB, free: 5.797 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.00084/0.00084, allocations: 85.83 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1822/0.1831, allocations: 122.4 MB / 0.8591 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.5896, allocations: 116.3 MB / 0.9727 GB, free: 68.25 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1736/0.7633, allocations: 195.2 MB / 1.163 GB, free: 1.145 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.7635, allocations: 91.94 kB / 1.163 GB, free: 1.055 MB / 0.7605 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.5885/1.352, allocations: 148.1 MB / 1.308 GB, free: 172.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/1.352, allocations: 15.94 kB / 1.308 GB, free: 172.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00439/1.356, allocations: 0.803 MB / 1.309 GB, free: 171.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003981/1.36, allocations: 2.569 MB / 1.311 GB, free: 168.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.179e-05/1.361, allocations: 120 kB / 1.311 GB, free: 168.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005321/1.361, allocations: 227.9 kB / 1.312 GB, free: 168.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005007/1.366, allocations: 3.713 MB / 1.315 GB, free: 164.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005957/1.372, allocations: 5.224 MB / 1.32 GB, free: 159.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.088e-05/1.372, allocations: 15.84 kB / 1.32 GB, free: 159.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003158/1.372, allocations: 12 kB / 1.32 GB, free: 159.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001292/1.373, allocations: 222.9 kB / 1.321 GB, free: 158.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01817/1.391, allocations: 26.95 MB / 1.347 GB, free: 129.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009746/1.392, allocations: 1.035 MB / 1.348 GB, free: 128.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008759/1.393, allocations: 0.9811 MB / 1.349 GB, free: 127.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.168e-05/1.393, allocations: 13 kB / 1.349 GB, free: 127.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/1.393, allocations: 47.47 kB / 1.349 GB, free: 127.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=110): time 3.246e-06/1.393, allocations: 0 / 1.349 GB, free: 127.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=131): time 0.01042/1.403, allocations: 6.942 MB / 1.356 GB, free: 120.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.041e-05/1.403, allocations: 68.72 kB / 1.356 GB, free: 120.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/1.404, allocations: 1.073 MB / 1.357 GB, free: 119.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.354e-05/1.404, allocations: 25.7 kB / 1.357 GB, free: 119.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003936/1.405, allocations: 1.42 MB / 1.358 GB, free: 117.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000221/1.405, allocations: 453.3 kB / 1.359 GB, free: 117.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.746e-05/1.405, allocations: 0 / 1.359 GB, free: 117.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.398e-05/1.405, allocations: 381.8 kB / 1.359 GB, free: 116.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009009/1.406, allocations: 0.8629 MB / 1.36 GB, free: 116 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/1.407, allocations: 1.432 MB / 1.361 GB, free: 114.3 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/1.408, allocations: 1.111 MB / 1.362 GB, free: 113.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/1.408, allocations: 8 kB / 1.362 GB, free: 113.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.0042/1.412, allocations: 3.05 MB / 1.365 GB, free: 110.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/1.412, allocations: 4 kB / 1.365 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/1.413, allocations: 27.88 kB / 1.365 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001935/1.414, allocations: 0.7145 MB / 1.366 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/1.416, allocations: 379.3 kB / 1.366 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00967/1.426, allocations: 14.48 MB / 1.381 GB, free: 93.47 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/1.427, allocations: 47.86 kB / 1.381 GB, free: 93.42 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/1.427, allocations: 76.06 kB / 1.381 GB, free: 93.35 MB / 0.823 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.0002251/1.427, allocations: 168.4 kB / 1.381 GB, free: 93.18 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/1.427, allocations: 189.7 kB / 1.381 GB, free: 92.99 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003891/1.431, allocations: 2.665 MB / 1.384 GB, free: 90.28 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/1.431, allocations: 12 kB / 1.384 GB, free: 90.27 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/1.431, allocations: 8 kB / 1.384 GB, free: 90.26 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/1.431, allocations: 7.969 kB / 1.384 GB, free: 90.25 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007295/1.439, allocations: 5.449 MB / 1.389 GB, free: 84.66 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/1.439, allocations: 11.84 kB / 1.389 GB, free: 84.65 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/1.44, allocations: 211.7 kB / 1.389 GB, free: 84.44 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001722/1.441, allocations: 0.6481 MB / 1.39 GB, free: 83.77 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.263e-05/1.442, allocations: 16 kB / 1.39 GB, free: 83.75 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009041/1.451, allocations: 14.19 MB / 1.404 GB, free: 68.52 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.451, allocations: 7.938 kB / 1.404 GB, free: 68.51 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004541/1.455, allocations: 4.221 MB / 1.408 GB, free: 64.05 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005605/1.461, allocations: 5.931 MB / 1.414 GB, free: 57.87 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006609/1.461, allocations: 426.7 kB / 1.414 GB, free: 57.43 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002588/1.462, allocations: 23.89 kB / 1.414 GB, free: 57.41 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007881/1.462, allocations: 35.94 kB / 1.414 GB, free: 57.37 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/1.463, allocations: 72.81 kB / 1.414 GB, free: 57.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.488e-05/1.463, allocations: 36 kB / 1.414 GB, free: 57.27 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0008373/1.464, allocations: 0.8035 MB / 1.415 GB, free: 56.47 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002443/1.466, allocations: 0.6249 MB / 1.416 GB, free: 55.84 MB / 0.823 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.0001866/1.466, allocations: 145.8 kB / 1.416 GB, free: 55.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003412/1.47, allocations: 3.206 MB / 1.419 GB, free: 52.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.47, allocations: 0 / 1.419 GB, free: 52.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002142/1.472, allocations: 2.068 MB / 1.421 GB, free: 50.25 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/1.474, allocations: 0.5066 MB / 1.421 GB, free: 49.74 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007738/1.481, allocations: 5.218 MB / 1.426 GB, free: 44.39 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002395/1.484, allocations: 2.826 MB / 1.429 GB, free: 41.53 MB / 0.823 GB Notification: Performance of SimCode: time 5.21e-07/1.484, allocations: 0 / 1.429 GB, free: 41.53 MB / 0.823 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)