Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",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 9.1.1-maint.9.1.x/package.mo): time 1.738/1.738, allocations: 387.2 MB / 394.5 MB, free: 13.33 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009856/0.0009856, allocations: 178.7 kB / 487 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.14/1.14, allocations: 221.3 MB / 0.7819 GB, free: 6.824 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008245/0.0008245, allocations: 90.28 kB / 0.9213 GB, free: 43.73 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.2167/0.2176, allocations: 148.5 MB / 1.066 GB, free: 7.504 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5207/0.7383, allocations: 142.3 MB / 1.205 GB, free: 73.02 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1844/0.9227, allocations: 196.9 MB / 1.398 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.9229, allocations: 100.7 kB / 1.398 GB, free: 14.21 MB / 0.9011 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 1.143/2.066, allocations: 388.1 MB / 1.777 GB, free: 50.02 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/2.066, allocations: 12 kB / 1.777 GB, free: 50 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01277/2.079, allocations: 1.681 MB / 1.778 GB, free: 48.31 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01229/2.091, allocations: 5.031 MB / 1.783 GB, free: 43.2 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002034/2.092, allocations: 200 kB / 1.784 GB, free: 43.01 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00174/2.093, allocations: 355.8 kB / 1.784 GB, free: 42.66 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01101/2.104, allocations: 7.073 MB / 1.791 GB, free: 35.58 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01457/2.119, allocations: 9.185 MB / 1.8 GB, free: 25.92 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001614/2.119, allocations: 35.62 kB / 1.8 GB, free: 25.88 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006746/2.12, allocations: 12 kB / 1.8 GB, free: 25.87 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002604/2.12, allocations: 400 kB / 1.8 GB, free: 25.48 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04688/2.167, allocations: 45.33 MB / 1.844 GB, free: 8.43 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004658/2.172, allocations: 3.72 MB / 1.848 GB, free: 4.695 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004291/2.176, allocations: 3.493 MB / 1.851 GB, free: 1.191 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002056/2.176, allocations: 34.78 kB / 1.851 GB, free: 1.156 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/2.176, allocations: 69.34 kB / 1.852 GB, free: 1.078 MB / 1.042 GB Notification: Performance of pre-optimization done (n=353): time 5.1e-06/2.176, allocations: 0 / 1.852 GB, free: 1.078 MB / 1.042 GB Notification: Performance of matching and sorting (n=578): time 0.09141/2.268, allocations: 38.1 MB / 1.889 GB, free: 10.57 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/2.268, allocations: 115.9 kB / 1.889 GB, free: 10.44 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002782/2.271, allocations: 1.829 MB / 1.891 GB, free: 8.609 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.0008909/2.272, allocations: 25.7 kB / 1.891 GB, free: 8.578 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.001184/2.273, allocations: 2.177 MB / 1.893 GB, free: 6.371 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.001837/2.275, allocations: 1.874 MB / 1.895 GB, free: 4.469 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003535/2.275, allocations: 0 / 1.895 GB, free: 4.469 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0003113/2.275, allocations: 0.5336 MB / 1.895 GB, free: 3.93 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004945/2.28, allocations: 3.752 MB / 1.899 GB, free: 176 kB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005713/2.286, allocations: 4.845 MB / 1.904 GB, free: 10.89 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005934/2.292, allocations: 4.582 MB / 1.908 GB, free: 6.273 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.758e-05/2.292, allocations: 8 kB / 1.908 GB, free: 6.266 MB / 1.104 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03362/2.326, allocations: 15.5 MB / 1.923 GB, free: 6.648 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/2.326, allocations: 8.25 kB / 1.923 GB, free: 6.641 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.959e-05/2.326, allocations: 32 kB / 1.923 GB, free: 6.609 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02495/2.351, allocations: 7.414 MB / 1.93 GB, free: 15.16 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002486/2.353, allocations: 0.5381 MB / 1.931 GB, free: 14.62 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4038/2.757, allocations: 61.17 MB / 1.991 GB, free: 305.2 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00448/2.761, allocations: 91.36 kB / 1.991 GB, free: 305.2 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006049/2.762, allocations: 205.8 kB / 1.991 GB, free: 305.2 MB / 1.135 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.0008497/2.763, allocations: 189.3 kB / 1.991 GB, free: 305.1 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007516/2.764, allocations: 453.5 kB / 1.992 GB, free: 305.1 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02968/2.793, allocations: 15.49 MB / 2.007 GB, free: 304.6 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.715e-05/2.793, allocations: 58 kB / 2.007 GB, free: 304.6 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.155e-05/2.794, allocations: 70.59 kB / 2.007 GB, free: 304.6 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.183e-05/2.794, allocations: 29.2 kB / 2.007 GB, free: 304.6 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0392/2.833, allocations: 22.61 MB / 2.029 GB, free: 303.5 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.601e-05/2.833, allocations: 10.47 kB / 2.029 GB, free: 303.5 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001736/2.835, allocations: 302.4 kB / 2.029 GB, free: 303.5 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02066/2.855, allocations: 6.772 MB / 2.036 GB, free: 303.3 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007304/2.856, allocations: 22.19 kB / 2.036 GB, free: 303.3 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06735/2.923, allocations: 58.12 MB / 2.093 GB, free: 279.3 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.948e-06/2.923, allocations: 9 kB / 2.093 GB, free: 279.3 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03396/2.957, allocations: 20.71 MB / 2.113 GB, free: 270.6 MB / 1.135 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03982/2.997, allocations: 27.17 MB / 2.139 GB, free: 258.8 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002702/3, allocations: 1.239 MB / 2.141 GB, free: 258.1 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008925/3.001, allocations: 13.8 kB / 2.141 GB, free: 258.1 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002701/3.004, allocations: 87.33 kB / 2.141 GB, free: 258.1 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005727/3.004, allocations: 282.5 kB / 2.141 GB, free: 258.1 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003737/3.005, allocations: 137.2 kB / 2.141 GB, free: 258 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.001623/3.006, allocations: 1.342 MB / 2.142 GB, free: 257.5 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.006708/3.013, allocations: 1.868 MB / 2.144 GB, free: 257.5 MB / 1.135 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.000591/3.014, allocations: 138.9 kB / 2.144 GB, free: 257.4 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.01943/3.033, allocations: 12.4 MB / 2.156 GB, free: 252.1 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/3.033, allocations: 3.062 kB / 2.157 GB, free: 252.1 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.01422/3.047, allocations: 7.732 MB / 2.164 GB, free: 248.7 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004512/3.052, allocations: 0.9444 MB / 2.165 GB, free: 248.5 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02288/3.075, allocations: 13.28 MB / 2.178 GB, free: 243.4 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005397/3.08, allocations: 4.849 MB / 2.183 GB, free: 241.8 MB / 1.135 GB Notification: Performance of SimCode: time 1.644e-06/3.08, allocations: 4 kB / 2.183 GB, free: 241.8 MB / 1.135 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat does not exist to compare? outputFormat=mat