Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E.vPhase.1..S.1.|E.vPhase.1..S.2.|E.vPhase.2..S.1.|E.vPhase.2..S.2.|E.vPhase.3..S.1.|E.vPhase.3..S.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E.vPhase.1..S.1.|E.vPhase.1..S.2.|E.vPhase.2..S.1.|E.vPhase.2..S.2.|E.vPhase.3..S.1.|E.vPhase.3..S.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") [: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 7.0.3-maint.7.0.x/package.mo): time 1.319/1.319, allocations: 249.4 MB / 256.7 MB, free: 6.934 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 187.6 kB / 316 MB, free: 3.531 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.324/1.324, allocations: 205.2 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000949/0.000949, allocations: 106.1 kB / 0.671 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.02e-05/1.035e-05, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1814, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6314/0.8129, allocations: 185.7 MB / 1.066 GB, free: 3.293 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.8132, allocations: 95.94 kB / 1.066 GB, free: 3.242 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.1466/0.9598, allocations: 63 MB / 1.128 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.866e-05/0.9599, allocations: 35.98 kB / 1.128 GB, free: 13.82 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.002868/0.9628, allocations: 1.558 MB / 1.129 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.9629, allocations: 12.03 kB / 1.129 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002574/0.9654, allocations: 437.6 kB / 1.13 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002113/0.9676, allocations: 1.147 MB / 1.131 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.826e-05/0.9676, allocations: 48 kB / 1.131 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002369/0.9679, allocations: 91.98 kB / 1.131 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002859/0.9707, allocations: 1.834 MB / 1.133 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003431/0.9742, allocations: 2.28 MB / 1.135 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.905e-05/0.9742, allocations: 0 / 1.135 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001691/0.9744, allocations: 11.91 kB / 1.135 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.671e-05/0.9745, allocations: 87.06 kB / 1.135 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01198/0.9865, allocations: 10.18 MB / 1.145 GB, free: 11.1 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006967/0.9872, allocations: 0.5141 MB / 1.145 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005541/0.9878, allocations: 384.5 kB / 1.146 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001246/0.9879, allocations: 89.09 kB / 1.146 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.988, allocations: 34.56 kB / 1.146 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=36): time 2.695e-06/0.988, allocations: 0 / 1.146 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of matching and sorting (n=52): time 0.008634/0.9966, allocations: 3.023 MB / 1.149 GB, free: 7.004 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.9967, allocations: 85.55 kB / 1.149 GB, free: 6.902 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.9977, allocations: 0.7413 MB / 1.15 GB, free: 6.152 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 8.807e-05/0.9978, allocations: 25.7 kB / 1.15 GB, free: 6.121 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004061/0.9982, allocations: 0.6912 MB / 1.15 GB, free: 5.418 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.9984, allocations: 177.4 kB / 1.15 GB, free: 5.242 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-05/0.9985, allocations: 0 / 1.15 GB, free: 5.242 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.9987, allocations: 386.8 kB / 1.151 GB, free: 4.855 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008387/0.9995, allocations: 0.6071 MB / 1.151 GB, free: 4.246 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/1.001, allocations: 0.974 MB / 1.152 GB, free: 3.109 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/1.002, allocations: 0.8523 MB / 1.153 GB, free: 2.254 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.002, allocations: 4 kB / 1.153 GB, free: 2.25 MB / 0.7605 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00647/1.008, allocations: 2.486 MB / 1.156 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.001564/1.01, allocations: 4.517 MB / 1.16 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/1.01, allocations: 15.98 kB / 1.16 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004757/1.015, allocations: 0.9436 MB / 1.161 GB, free: 9.902 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000953/1.016, allocations: 211.7 kB / 1.161 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007937/1.024, allocations: 6.384 MB / 1.167 GB, free: 3.031 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/1.025, allocations: 107.8 kB / 1.168 GB, free: 2.926 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.81e-05/1.025, allocations: 47.98 kB / 1.168 GB, free: 2.879 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/1.025, allocations: 4 kB / 1.168 GB, free: 2.875 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002123/1.027, allocations: 1.307 MB / 1.169 GB, free: 1.566 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/1.027, allocations: 12 kB / 1.169 GB, free: 1.555 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/1.027, allocations: 16 kB / 1.169 GB, free: 1.539 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/1.028, allocations: 263.6 kB / 1.169 GB, free: 1.281 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.695e-05/1.028, allocations: 23.94 kB / 1.169 GB, free: 1.258 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007968/1.029, allocations: 79.75 kB / 1.169 GB, free: 1.18 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.7e-05/1.029, allocations: 44 kB / 1.169 GB, free: 1.137 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * 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: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002324/1.029, allocations: 144.6 kB / 1.169 GB, free: 0.9883 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/1.03, allocations: 75.06 kB / 1.169 GB, free: 0.9141 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006033/1.036, allocations: 2.168 MB / 1.172 GB, free: 14.72 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/1.036, allocations: 8 kB / 1.172 GB, free: 14.71 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/1.036, allocations: 4 kB / 1.172 GB, free: 14.71 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-06/1.036, allocations: 0 / 1.172 GB, free: 14.71 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008763/1.044, allocations: 3.776 MB / 1.175 GB, free: 10.83 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.525e-06/1.044, allocations: 4.25 kB / 1.175 GB, free: 10.83 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004535/1.045, allocations: 99.81 kB / 1.175 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005297/1.05, allocations: 1.205 MB / 1.177 GB, free: 9.512 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/1.05, allocations: 7.984 kB / 1.177 GB, free: 9.504 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01099/1.061, allocations: 8.738 MB / 1.185 GB, free: 312 kB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/1.061, allocations: 0 / 1.185 GB, free: 312 kB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005907/1.067, allocations: 2.228 MB / 1.187 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000549/1.068, allocations: 276.1 kB / 1.188 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/1.068, allocations: 8 kB / 1.188 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009643/1.069, allocations: 99.84 kB / 1.188 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/1.069, allocations: 39.86 kB / 1.188 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.145e-05/1.069, allocations: 19.94 kB / 1.188 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0007585/1.07, allocations: 0.5732 MB / 1.188 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001878/1.072, allocations: 0.539 MB / 1.189 GB, free: 12.41 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * 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: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003025/1.072, allocations: 172.1 kB / 1.189 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.003685/1.076, allocations: 2.361 MB / 1.191 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.076, allocations: 0 / 1.191 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001662/1.078, allocations: 1.112 MB / 1.192 GB, free: 8.703 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008361/1.078, allocations: 186.6 kB / 1.193 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004665/1.083, allocations: 2.428 MB / 1.195 GB, free: 6.035 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001573/1.085, allocations: 1.7 MB / 1.197 GB, free: 4.301 MB / 0.8073 GB Notification: Performance of SimCode: time 6.21e-07/1.085, allocations: 0 / 1.197 GB, free: 4.301 MB / 0.8073 GB Notification: Performance of Templates: time 0.03404/1.119, allocations: 22.65 MB / 1.219 GB, free: 13.75 MB / 0.8386 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches