Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [: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.764/1.764, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001/0.001, allocations: 180.4 kB / 487 MB, free: 5.359 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.121/1.121, allocations: 221.3 MB / 0.7819 GB, free: 1.398 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.0008013/0.0008013, allocations: 89.36 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.28e-06/5.29e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1811, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5209/0.702, allocations: 181.7 MB / 1.383 GB, free: 11.32 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.7023, allocations: 90.94 kB / 1.383 GB, free: 11.28 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.4038/1.106, allocations: 190.1 MB / 1.568 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0002468/1.106, allocations: 115.9 kB / 1.568 GB, free: 10.45 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.008056/1.114, allocations: 3.896 MB / 1.572 GB, free: 6.488 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/1.115, allocations: 16.02 kB / 1.572 GB, free: 6.473 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005441/1.12, allocations: 0.9308 MB / 1.573 GB, free: 5.535 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005314/1.125, allocations: 2.995 MB / 1.576 GB, free: 2.48 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/1.125, allocations: 152 kB / 1.576 GB, free: 2.332 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005818/1.126, allocations: 275.8 kB / 1.577 GB, free: 2.062 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007972/1.134, allocations: 4.689 MB / 1.581 GB, free: 13.36 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01093/1.145, allocations: 6.707 MB / 1.588 GB, free: 6.203 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001284/1.145, allocations: 19.78 kB / 1.588 GB, free: 6.184 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004745/1.146, allocations: 12 kB / 1.588 GB, free: 6.172 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002688/1.146, allocations: 293 kB / 1.588 GB, free: 5.883 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02723/1.173, allocations: 34.22 MB / 1.621 GB, free: 488 kB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/1.175, allocations: 1.491 MB / 1.623 GB, free: 14.97 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/1.176, allocations: 1.308 MB / 1.624 GB, free: 13.66 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 7.027e-05/1.176, allocations: 17.31 kB / 1.624 GB, free: 13.64 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/1.176, allocations: 43.88 kB / 1.624 GB, free: 13.59 MB / 1.057 GB Notification: Performance of pre-optimization done (n=133): time 3.106e-06/1.176, allocations: 0 / 1.624 GB, free: 13.59 MB / 1.057 GB Notification: Performance of matching and sorting (n=136): time 0.006968/1.183, allocations: 4.579 MB / 1.629 GB, free: 8.961 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/1.183, allocations: 64.72 kB / 1.629 GB, free: 8.887 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/1.184, allocations: 1.066 MB / 1.63 GB, free: 7.82 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 7.359e-05/1.184, allocations: 25.7 kB / 1.63 GB, free: 7.789 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007409/1.185, allocations: 1.757 MB / 1.632 GB, free: 6.008 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.000297/1.185, allocations: 465.2 kB / 1.632 GB, free: 5.547 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.082e-05/1.185, allocations: 4 kB / 1.632 GB, free: 5.543 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001262/1.186, allocations: 377.9 kB / 1.632 GB, free: 5.168 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/1.187, allocations: 0.9058 MB / 1.633 GB, free: 4.262 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00137/1.188, allocations: 1.543 MB / 1.635 GB, free: 2.418 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/1.189, allocations: 1.173 MB / 1.636 GB, free: 1.25 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/1.189, allocations: 8 kB / 1.636 GB, free: 1.242 MB / 1.057 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005163/1.195, allocations: 3.36 MB / 1.639 GB, free: 13.83 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/1.195, allocations: 4 kB / 1.639 GB, free: 13.82 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/1.195, allocations: 23.91 kB / 1.639 GB, free: 13.8 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002615/1.197, allocations: 0.9631 MB / 1.64 GB, free: 12.8 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/1.198, allocations: 331.5 kB / 1.64 GB, free: 12.48 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01583/1.214, allocations: 19.74 MB / 1.66 GB, free: 7.344 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/1.216, allocations: 43.95 kB / 1.66 GB, free: 7.301 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/1.216, allocations: 88 kB / 1.66 GB, free: 7.215 MB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 170 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(4,68.8%) 4,(4,68.8%) 4,(4,68.8%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002813/1.216, allocations: 178.9 kB / 1.66 GB, free: 7.039 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/1.216, allocations: 197.7 kB / 1.66 GB, free: 6.844 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004727/1.221, allocations: 2.98 MB / 1.663 GB, free: 3.809 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/1.221, allocations: 15.83 kB / 1.663 GB, free: 3.797 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/1.221, allocations: 15.94 kB / 1.663 GB, free: 3.781 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/1.221, allocations: 7.969 kB / 1.663 GB, free: 3.773 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009302/1.23, allocations: 6.199 MB / 1.669 GB, free: 13.42 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/1.23, allocations: 4 kB / 1.669 GB, free: 13.42 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006377/1.231, allocations: 152.3 kB / 1.669 GB, free: 13.27 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002516/1.234, allocations: 0.9314 MB / 1.67 GB, free: 12.3 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.713e-05/1.234, allocations: 4 kB / 1.67 GB, free: 12.3 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01592/1.25, allocations: 19.76 MB / 1.69 GB, free: 7.156 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/1.25, allocations: 12.06 kB / 1.69 GB, free: 7.145 MB / 1.12 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004804/1.254, allocations: 3.385 MB / 1.693 GB, free: 3.543 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000786/1.255, allocations: 454.6 kB / 1.693 GB, free: 3.078 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002411/1.255, allocations: 8 kB / 1.693 GB, free: 3.07 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007095/1.256, allocations: 27.95 kB / 1.693 GB, free: 3.043 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/1.256, allocations: 76.8 kB / 1.693 GB, free: 2.965 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.207e-05/1.256, allocations: 40 kB / 1.693 GB, free: 2.926 MB / 1.12 GB Notification: Performance of sort global known variables: time 0.0009383/1.257, allocations: 0.7849 MB / 1.694 GB, free: 2.148 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.002362/1.26, allocations: 0.7422 MB / 1.695 GB, free: 1.406 MB / 1.12 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 73 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(4,68.8%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(4,68.8%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(4,68.8%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002166/1.26, allocations: 119.1 kB / 1.695 GB, free: 1.277 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.004715/1.265, allocations: 3.792 MB / 1.699 GB, free: 13.37 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.265, allocations: 0 / 1.699 GB, free: 13.37 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.003231/1.268, allocations: 2.603 MB / 1.701 GB, free: 10.64 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002198/1.27, allocations: 0.5766 MB / 1.702 GB, free: 10.07 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009621/1.28, allocations: 5.659 MB / 1.707 GB, free: 4.297 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003134/1.283, allocations: 3.243 MB / 1.711 GB, free: 1.02 MB / 1.135 GB Notification: Performance of SimCode: time 5.71e-07/1.283, allocations: 0 / 1.711 GB, free: 1.02 MB / 1.135 GB Notification: Performance of Templates: time 0.3537/1.637, allocations: 33.38 MB / 1.743 GB, free: 435.6 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches