Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.814/1.814, allocations: 390.4 MB / 397.7 MB, free: 11.22 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009421/0.0009421, allocations: 192.7 kB / 490.8 MB, free: 1.914 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.119/1.119, allocations: 221.3 MB / 0.7863 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008763/0.0008763, allocations: 82.69 kB / 0.9264 GB, free: 14.12 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4105/0.4114, allocations: 149.2 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.5862, allocations: 143 MB / 1.212 GB, free: 39.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.536/1.122, allocations: 206.6 MB / 1.413 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/1.123, allocations: 98.39 kB / 1.414 GB, free: 10.75 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.3311/1.454, allocations: 157.9 MB / 1.568 GB, free: 10.5 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/1.454, allocations: 8 kB / 1.568 GB, free: 10.49 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004942/1.459, allocations: 0.8108 MB / 1.569 GB, free: 9.676 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004857/1.463, allocations: 2.569 MB / 1.571 GB, free: 7.051 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.492e-05/1.464, allocations: 120 kB / 1.571 GB, free: 6.934 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006081/1.464, allocations: 231.9 kB / 1.571 GB, free: 6.707 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005707/1.47, allocations: 3.705 MB / 1.575 GB, free: 3 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007157/1.477, allocations: 5.223 MB / 1.58 GB, free: 13.45 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.331e-05/1.477, allocations: 19.78 kB / 1.58 GB, free: 13.43 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000328/1.478, allocations: 8 kB / 1.58 GB, free: 13.42 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001928/1.478, allocations: 223 kB / 1.58 GB, free: 13.2 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02227/1.5, allocations: 26.96 MB / 1.607 GB, free: 15.75 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/1.501, allocations: 1.028 MB / 1.608 GB, free: 14.71 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/1.502, allocations: 0.9722 MB / 1.609 GB, free: 13.74 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 6.554e-05/1.502, allocations: 12.98 kB / 1.609 GB, free: 13.73 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/1.502, allocations: 47.56 kB / 1.609 GB, free: 13.67 MB / 1.026 GB Notification: Performance of pre-optimization done (n=110): time 3.307e-06/1.502, allocations: 0 / 1.609 GB, free: 13.67 MB / 1.026 GB Notification: Performance of matching and sorting (n=131): time 0.01211/1.515, allocations: 6.927 MB / 1.615 GB, free: 6.629 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/1.515, allocations: 72.64 kB / 1.615 GB, free: 6.547 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/1.516, allocations: 1.069 MB / 1.617 GB, free: 5.477 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 7.481e-05/1.516, allocations: 29.7 kB / 1.617 GB, free: 5.441 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006304/1.517, allocations: 1.427 MB / 1.618 GB, free: 3.988 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002937/1.517, allocations: 449.4 kB / 1.618 GB, free: 3.543 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.706e-05/1.517, allocations: 0 / 1.618 GB, free: 3.543 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001311/1.517, allocations: 381.9 kB / 1.619 GB, free: 3.164 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/1.518, allocations: 0.859 MB / 1.62 GB, free: 2.305 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/1.52, allocations: 1.432 MB / 1.621 GB, free: 0.6094 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/1.521, allocations: 1.107 MB / 1.622 GB, free: 15.5 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/1.521, allocations: 8 kB / 1.622 GB, free: 15.49 MB / 1.042 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004948/1.526, allocations: 3.053 MB / 1.625 GB, free: 12.4 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/1.526, allocations: 8.938 kB / 1.625 GB, free: 12.39 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/1.526, allocations: 20 kB / 1.625 GB, free: 12.38 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002163/1.528, allocations: 0.7256 MB / 1.626 GB, free: 11.62 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/1.53, allocations: 375.4 kB / 1.626 GB, free: 11.25 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/1.542, allocations: 14.48 MB / 1.64 GB, free: 11.74 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/1.544, allocations: 47.95 kB / 1.64 GB, free: 11.7 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/1.544, allocations: 72.06 kB / 1.64 GB, free: 11.62 MB / 1.057 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.0002656/1.544, allocations: 168.4 kB / 1.641 GB, free: 11.45 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002284/1.544, allocations: 185.9 kB / 1.641 GB, free: 11.27 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004544/1.549, allocations: 2.665 MB / 1.643 GB, free: 8.562 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/1.549, allocations: 15.94 kB / 1.643 GB, free: 8.547 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/1.549, allocations: 12 kB / 1.643 GB, free: 8.535 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/1.549, allocations: 7.969 kB / 1.643 GB, free: 8.527 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008502/1.557, allocations: 5.453 MB / 1.649 GB, free: 2.93 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/1.557, allocations: 4 kB / 1.649 GB, free: 2.926 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/1.559, allocations: 224.3 kB / 1.649 GB, free: 2.707 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001947/1.561, allocations: 0.6437 MB / 1.65 GB, free: 2.035 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.535e-05/1.561, allocations: 15.91 kB / 1.65 GB, free: 2.02 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01177/1.572, allocations: 14.19 MB / 1.663 GB, free: 2.789 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.707e-06/1.572, allocations: 11.94 kB / 1.663 GB, free: 2.777 MB / 1.073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005547/1.578, allocations: 4.229 MB / 1.668 GB, free: 14.31 MB / 1.089 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006857/1.585, allocations: 5.923 MB / 1.673 GB, free: 8.137 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007193/1.586, allocations: 434.7 kB / 1.674 GB, free: 7.691 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002635/1.586, allocations: 12 kB / 1.674 GB, free: 7.68 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000804/1.587, allocations: 43.84 kB / 1.674 GB, free: 7.637 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/1.587, allocations: 72.84 kB / 1.674 GB, free: 7.566 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.502e-05/1.587, allocations: 43.91 kB / 1.674 GB, free: 7.523 MB / 1.089 GB Notification: Performance of sort global known variables: time 0.0009668/1.588, allocations: 0.7957 MB / 1.675 GB, free: 6.73 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.002509/1.59, allocations: 0.625 MB / 1.675 GB, free: 6.105 MB / 1.089 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.0002177/1.591, allocations: 139.1 kB / 1.675 GB, free: 5.961 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.004218/1.595, allocations: 3.201 MB / 1.679 GB, free: 2.668 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.595, allocations: 1.438 kB / 1.679 GB, free: 2.668 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.002598/1.598, allocations: 2.066 MB / 1.681 GB, free: 0.5156 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/1.6, allocations: 0.5159 MB / 1.681 GB, free: 4 kB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008629/1.608, allocations: 5.218 MB / 1.686 GB, free: 10.66 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00282/1.611, allocations: 2.834 MB / 1.689 GB, free: 7.789 MB / 1.104 GB Notification: Performance of SimCode: time 5.41e-07/1.611, allocations: 0 / 1.689 GB, free: 7.789 MB / 1.104 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat does not exist to compare? outputFormat=mat