Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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.783/1.783, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001004/0.001004, allocations: 185.2 kB / 487 MB, free: 5.367 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.332 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.0008596/0.0008596, allocations: 96.53 kB / 0.9213 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.821e-06/5.841e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1802, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4941/0.6743, allocations: 175.1 MB / 1.376 GB, free: 1.562 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/0.6745, allocations: 88.88 kB / 1.376 GB, free: 1.516 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.1099/0.7844, allocations: 55.24 MB / 1.43 GB, free: 3.273 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.957e-05/0.7845, allocations: 20 kB / 1.43 GB, free: 3.254 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001161/0.7857, allocations: 0.8938 MB / 1.431 GB, free: 2.367 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.7857, allocations: 12.03 kB / 1.431 GB, free: 2.355 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001428/0.7871, allocations: 222.6 kB / 1.431 GB, free: 2.137 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007988/0.7879, allocations: 0.548 MB / 1.432 GB, free: 1.609 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.788, allocations: 24 kB / 1.432 GB, free: 1.586 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.462e-05/0.7881, allocations: 42.78 kB / 1.432 GB, free: 1.547 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007446/0.7888, allocations: 0.563 MB / 1.433 GB, free: 1.176 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.7899, allocations: 1 MB / 1.434 GB, free: 244 kB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.7899, allocations: 11.62 kB / 1.434 GB, free: 236 kB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.547e-05/0.79, allocations: 4 kB / 1.434 GB, free: 232 kB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.777e-05/0.79, allocations: 60.64 kB / 1.434 GB, free: 176 kB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00385/0.7939, allocations: 5.663 MB / 1.439 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004102/0.7943, allocations: 399 kB / 1.439 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003151/0.7946, allocations: 304.9 kB / 1.44 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.7947, allocations: 12.62 kB / 1.44 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.7947, allocations: 38.05 kB / 1.44 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=41): time 1.362e-06/0.7947, allocations: 0 / 1.44 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of matching and sorting (n=42): time 0.001811/0.7965, allocations: 1.134 MB / 1.441 GB, free: 9.18 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.7966, allocations: 55.41 kB / 1.441 GB, free: 9.113 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/0.7968, allocations: 331.8 kB / 1.441 GB, free: 8.844 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.7969, allocations: 25.7 kB / 1.441 GB, free: 8.812 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.797, allocations: 332 kB / 1.442 GB, free: 8.52 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.516e-05/0.7971, allocations: 147.5 kB / 1.442 GB, free: 8.391 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/0.7971, allocations: 0 / 1.442 GB, free: 8.391 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.7972, allocations: 364 kB / 1.442 GB, free: 8.047 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/0.7975, allocations: 226.5 kB / 1.442 GB, free: 7.906 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/0.7979, allocations: 404.5 kB / 1.443 GB, free: 7.516 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003253/0.7982, allocations: 292.2 kB / 1.443 GB, free: 7.32 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.7982, allocations: 4 kB / 1.443 GB, free: 7.316 MB / 0.8698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001453/0.7996, allocations: 0.9079 MB / 1.444 GB, free: 6.59 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.998e-06/0.7997, allocations: 8 kB / 1.444 GB, free: 6.582 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.7997, allocations: 8.062 kB / 1.444 GB, free: 6.574 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008565/0.8005, allocations: 274.6 kB / 1.444 GB, free: 6.344 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003145/0.8009, allocations: 91.58 kB / 1.444 GB, free: 6.258 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00522/0.8061, allocations: 6.222 MB / 1.45 GB, free: 108 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/0.8064, allocations: 15.98 kB / 1.45 GB, free: 92 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/0.8064, allocations: 26.38 kB / 1.45 GB, free: 72 kB / 0.8698 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 (51): * Single equations (assignments): 47 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 5,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.8066, allocations: 118.2 kB / 1.45 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.147e-05/0.8067, allocations: 55.34 kB / 1.451 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001367/0.808, allocations: 0.8234 MB / 1.451 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.808, allocations: 4 kB / 1.451 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.8081, allocations: 4 kB / 1.451 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.8081, allocations: 0 / 1.451 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/0.8102, allocations: 1.519 MB / 1.453 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.8102, allocations: 4.188 kB / 1.453 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.8104, allocations: 47.91 kB / 1.453 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008253/0.8112, allocations: 271.4 kB / 1.453 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/0.8112, allocations: 4 kB / 1.453 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005029/0.8163, allocations: 6.199 MB / 1.459 GB, free: 7.617 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.8163, allocations: 4 kB / 1.459 GB, free: 7.613 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00134/0.8176, allocations: 0.9923 MB / 1.46 GB, free: 6.73 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/0.8178, allocations: 168.7 kB / 1.46 GB, free: 6.562 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.785e-05/0.8179, allocations: 0 / 1.46 GB, free: 6.562 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/0.8181, allocations: 15.98 kB / 1.46 GB, free: 6.547 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.8182, allocations: 19.72 kB / 1.46 GB, free: 6.531 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/0.8182, allocations: 15.5 kB / 1.46 GB, free: 6.52 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0002015/0.8184, allocations: 254 kB / 1.461 GB, free: 6.324 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006101/0.819, allocations: 164 kB / 1.461 GB, free: 6.164 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001476/0.8192, allocations: 115.1 kB / 1.461 GB, free: 6.043 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001409/0.8206, allocations: 1.057 MB / 1.462 GB, free: 5.137 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.8206, allocations: 128 / 1.462 GB, free: 5.137 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009899/0.8216, allocations: 0.7686 MB / 1.463 GB, free: 4.43 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006945/0.8223, allocations: 153 kB / 1.463 GB, free: 4.305 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.8238, allocations: 0.915 MB / 1.464 GB, free: 3.445 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005397/0.8244, allocations: 1.026 MB / 1.465 GB, free: 2.414 MB / 0.8855 GB Notification: Performance of SimCode: time 2.31e-07/0.8244, allocations: 0 / 1.465 GB, free: 2.414 MB / 0.8855 GB Notification: Performance of Templates: time 0.01279/0.8372, allocations: 8.722 MB / 1.473 GB, free: 9.773 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches