Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [: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.309/1.309, allocations: 249.4 MB / 256.7 MB, free: 7.09 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.001016/0.001016, allocations: 181.2 kB / 316 MB, free: 3.523 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.367/1.367, allocations: 205.2 MB / 0.5667 GB, free: 15.57 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.0009697/0.0009697, allocations: 87.27 kB / 0.671 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.697e-06/8.727e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2028, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5793/0.7822, allocations: 161.6 MB / 1.042 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003544/0.7826, allocations: 99.34 kB / 1.042 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.1994/0.982, allocations: 85.19 MB / 1.126 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001176/0.9821, allocations: 52 kB / 1.126 GB, free: 15.66 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.006196/0.9883, allocations: 2.147 MB / 1.128 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.9884, allocations: 8.031 kB / 1.128 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007432/0.9959, allocations: 0.6799 MB / 1.128 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004828/1.001, allocations: 1.543 MB / 1.13 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/1.001, allocations: 80 kB / 1.13 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006377/1.001, allocations: 136 kB / 1.13 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005921/1.007, allocations: 2.794 MB / 1.133 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005657/1.013, allocations: 3.55 MB / 1.136 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.359e-05/1.013, allocations: 15.84 kB / 1.136 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002324/1.013, allocations: 4 kB / 1.136 GB, free: 4.43 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001591/1.014, allocations: 168.5 kB / 1.137 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01783/1.031, allocations: 15.99 MB / 1.152 GB, free: 2.828 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/1.033, allocations: 1.062 MB / 1.153 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000883/1.034, allocations: 0.6251 MB / 1.154 GB, free: 1.105 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001637/1.034, allocations: 89.77 kB / 1.154 GB, free: 1 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/1.034, allocations: 51.2 kB / 1.154 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=72): time 4.519e-06/1.034, allocations: 0 / 1.154 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of matching and sorting (n=76): time 0.00511/1.039, allocations: 2.815 MB / 1.157 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/1.039, allocations: 111.5 kB / 1.157 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/1.04, allocations: 0.8481 MB / 1.158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.661e-05/1.04, allocations: 25.7 kB / 1.158 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005421/1.041, allocations: 1.001 MB / 1.159 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/1.041, allocations: 268.1 kB / 1.159 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.694e-05/1.041, allocations: 0 / 1.159 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000189/1.041, allocations: 410.7 kB / 1.159 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008229/1.042, allocations: 0.6325 MB / 1.16 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/1.043, allocations: 1.165 MB / 1.161 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001663/1.045, allocations: 1.006 MB / 1.162 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/1.045, allocations: 4 kB / 1.162 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003384/1.048, allocations: 2.06 MB / 1.164 GB, free: 6.242 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/1.048, allocations: 7.906 kB / 1.164 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/1.049, allocations: 16 kB / 1.164 GB, free: 6.219 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004476/1.049, allocations: 163.3 kB / 1.164 GB, free: 6.047 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/1.05, allocations: 335.8 kB / 1.165 GB, free: 5.719 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.654e-05/1.05, allocations: 39.86 kB / 1.165 GB, free: 5.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009837/1.051, allocations: 91.72 kB / 1.165 GB, free: 5.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-05/1.051, allocations: 60 kB / 1.165 GB, free: 5.531 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002083/1.052, allocations: 160.4 kB / 1.165 GB, free: 5.367 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/1.052, allocations: 114.7 kB / 1.165 GB, free: 5.254 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002266/1.054, allocations: 1.33 MB / 1.166 GB, free: 3.902 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/1.054, allocations: 12 kB / 1.166 GB, free: 3.891 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/1.054, allocations: 7.938 kB / 1.166 GB, free: 3.883 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/1.054, allocations: 7.891 kB / 1.166 GB, free: 3.875 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005251/1.059, allocations: 3.371 MB / 1.17 GB, free: 380 kB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/1.059, allocations: 7.984 kB / 1.17 GB, free: 372 kB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006733/1.06, allocations: 152 kB / 1.17 GB, free: 220 kB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003667/1.06, allocations: 143.3 kB / 1.17 GB, free: 64 kB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-05/1.06, allocations: 4 kB / 1.17 GB, free: 60 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.726e-06/1.06, allocations: 7.938 kB / 1.17 GB, free: 52 kB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.061, allocations: 4 kB / 1.17 GB, free: 48 kB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002161/1.063, allocations: 1.703 MB / 1.172 GB, free: 14.23 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004782/1.063, allocations: 299.7 kB / 1.172 GB, free: 13.91 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/1.063, allocations: 4 kB / 1.172 GB, free: 13.91 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006326/1.064, allocations: 51.94 kB / 1.172 GB, free: 13.86 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/1.064, allocations: 48.5 kB / 1.172 GB, free: 13.81 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.148e-05/1.064, allocations: 27.92 kB / 1.172 GB, free: 13.79 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.000792/1.065, allocations: 0.64 MB / 1.173 GB, free: 13.13 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0014/1.066, allocations: 375.9 kB / 1.173 GB, free: 12.77 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002096/1.067, allocations: 123.2 kB / 1.173 GB, free: 12.64 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002071/1.069, allocations: 1.751 MB / 1.175 GB, free: 10.8 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.069, allocations: 0 / 1.175 GB, free: 10.8 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0009001/1.07, allocations: 0.9061 MB / 1.176 GB, free: 9.809 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/1.071, allocations: 207.4 kB / 1.176 GB, free: 9.605 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00604/1.077, allocations: 3.104 MB / 1.179 GB, free: 6.422 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002189/1.079, allocations: 2.053 MB / 1.181 GB, free: 4.328 MB / 0.7917 GB Notification: Performance of SimCode: time 6.91e-07/1.079, allocations: 0 / 1.181 GB, free: 4.328 MB / 0.7917 GB Notification: Performance of Templates: time 0.0273/1.106, allocations: 14.55 MB / 1.195 GB, free: 5.871 MB / 0.8073 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches