Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [: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.8/1.8, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001206/0.001206, allocations: 177.2 kB / 487 MB, free: 5.41 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.118/1.118, allocations: 221.3 MB / 0.7819 GB, free: 1.406 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008295/0.0008296, allocations: 97.88 kB / 0.9213 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.49e-06/5.51e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1803, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5106/0.6909, allocations: 164.5 MB / 1.366 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.6911, allocations: 89.02 kB / 1.366 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.0582/0.7493, allocations: 29.82 MB / 1.395 GB, free: 2.938 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.453e-05/0.7494, allocations: 8 kB / 1.395 GB, free: 2.93 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0008012/0.7502, allocations: 0.689 MB / 1.396 GB, free: 2.223 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.7502, allocations: 8.031 kB / 1.396 GB, free: 2.215 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/0.7515, allocations: 178.9 kB / 1.396 GB, free: 2.043 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004833/0.752, allocations: 398.4 kB / 1.396 GB, free: 1.652 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.752, allocations: 12 kB / 1.396 GB, free: 1.641 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.198e-05/0.7521, allocations: 23.91 kB / 1.396 GB, free: 1.617 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000493/0.7526, allocations: 362.7 kB / 1.397 GB, free: 1.375 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006515/0.7532, allocations: 0.6521 MB / 1.397 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.7533, allocations: 3.938 kB / 1.397 GB, free: 0.7305 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.775e-05/0.7533, allocations: 4 kB / 1.397 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.865e-05/0.7534, allocations: 50.95 kB / 1.397 GB, free: 0.6797 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002479/0.7558, allocations: 3.706 MB / 1.401 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005635/0.7564, allocations: 433.2 kB / 1.401 GB, free: 12.63 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.7566, allocations: 174.5 kB / 1.402 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.7566, allocations: 4 kB / 1.402 GB, free: 12.49 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.7567, allocations: 46.19 kB / 1.402 GB, free: 12.44 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 1.433e-06/0.7567, allocations: 0 / 1.402 GB, free: 12.44 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.001295/0.758, allocations: 0.811 MB / 1.402 GB, free: 11.74 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.758, allocations: 106.8 kB / 1.402 GB, free: 11.61 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.7583, allocations: 299 kB / 1.403 GB, free: 11.37 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.7583, allocations: 25.7 kB / 1.403 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.7585, allocations: 243.8 kB / 1.403 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.99e-05/0.7585, allocations: 109.9 kB / 1.403 GB, free: 11.02 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.762e-05/0.7586, allocations: 0 / 1.403 GB, free: 11.02 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.7587, allocations: 350.4 kB / 1.403 GB, free: 10.69 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.7589, allocations: 166.1 kB / 1.404 GB, free: 10.58 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000301/0.7592, allocations: 342.2 kB / 1.404 GB, free: 10.23 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.7595, allocations: 222.6 kB / 1.404 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.7595, allocations: 4.844 kB / 1.404 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008674/0.7604, allocations: 0.596 MB / 1.405 GB, free: 9.574 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.7604, allocations: 4 kB / 1.405 GB, free: 9.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.7604, allocations: 11.94 kB / 1.405 GB, free: 9.559 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003056/0.7607, allocations: 90.58 kB / 1.405 GB, free: 9.477 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003618/0.7611, allocations: 107.2 kB / 1.405 GB, free: 9.375 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002687/0.7638, allocations: 3.855 MB / 1.409 GB, free: 5.312 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002817/0.7641, allocations: 16.61 kB / 1.409 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.695e-05/0.7641, allocations: 19.25 kB / 1.409 GB, free: 5.281 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.7642, allocations: 126.9 kB / 1.409 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.7643, allocations: 47.94 kB / 1.409 GB, free: 5.105 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007514/0.7651, allocations: 0.4934 MB / 1.409 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.7651, allocations: 7.984 kB / 1.409 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.7651, allocations: 4 kB / 1.409 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.7651, allocations: 3.984 kB / 1.409 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.7665, allocations: 1.201 MB / 1.411 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.7665, allocations: 4 kB / 1.411 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.7668, allocations: 55.12 kB / 1.411 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002343/0.767, allocations: 97.77 kB / 1.411 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.767, allocations: 7.984 kB / 1.411 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002316/0.7694, allocations: 3.848 MB / 1.414 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.7694, allocations: 4 kB / 1.415 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007465/0.7701, allocations: 0.8862 MB / 1.415 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.7703, allocations: 153.6 kB / 1.416 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.863e-05/0.7704, allocations: 11.92 kB / 1.416 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002776/0.7706, allocations: 4 kB / 1.416 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.7707, allocations: 35.12 kB / 1.416 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.7707, allocations: 12.28 kB / 1.416 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0001763/0.7709, allocations: 238.3 kB / 1.416 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005388/0.7714, allocations: 104 kB / 1.416 GB, free: 14 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001205/0.7716, allocations: 123.5 kB / 1.416 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008912/0.7725, allocations: 0.7293 MB / 1.417 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7725, allocations: 4.25 kB / 1.417 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000558/0.773, allocations: 0.5051 MB / 1.417 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005744/0.7736, allocations: 103.4 kB / 1.417 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009765/0.7746, allocations: 0.6648 MB / 1.418 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004333/0.7751, allocations: 0.9026 MB / 1.419 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of SimCode: time 2.3e-07/0.7751, allocations: 4 kB / 1.419 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of Templates: time 0.008769/0.7838, allocations: 5.528 MB / 1.424 GB, free: 5.613 MB / 0.8542 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches