Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") [: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.822/1.822, 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.001007/0.001007, allocations: 184.3 kB / 487 MB, free: 5.371 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.134/1.134, allocations: 221.3 MB / 0.7819 GB, free: 1.367 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.0007923/0.0007923, allocations: 81.7 kB / 0.9213 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.48e-06/5.5e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1818, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5298/0.7116, allocations: 191 MB / 1.392 GB, free: 1.676 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.7119, allocations: 90.06 kB / 1.392 GB, free: 1.625 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.2538/0.9657, allocations: 117.8 MB / 1.507 GB, free: 10.49 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 9.333e-05/0.9659, allocations: 64 kB / 1.507 GB, free: 10.43 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.004114/0.97, allocations: 2.439 MB / 1.509 GB, free: 7.93 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.97, allocations: 12.03 kB / 1.509 GB, free: 7.918 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003291/0.9733, allocations: 0.6483 MB / 1.51 GB, free: 7.266 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002589/0.9759, allocations: 1.613 MB / 1.512 GB, free: 5.609 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.446e-05/0.976, allocations: 96 kB / 1.512 GB, free: 5.516 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00038/0.9764, allocations: 172 kB / 1.512 GB, free: 5.348 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004951/0.9813, allocations: 3.319 MB / 1.515 GB, free: 2.023 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006017/0.9874, allocations: 4.217 MB / 1.519 GB, free: 13.62 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.157e-05/0.9874, allocations: 11.88 kB / 1.519 GB, free: 13.61 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002548/0.9877, allocations: 4 kB / 1.519 GB, free: 13.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001635/0.9879, allocations: 196.6 kB / 1.519 GB, free: 13.41 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02065/1.009, allocations: 22.13 MB / 1.541 GB, free: 5.164 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/1.01, allocations: 1.377 MB / 1.542 GB, free: 3.746 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001536/1.012, allocations: 1.094 MB / 1.543 GB, free: 2.641 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/1.012, allocations: 101.7 kB / 1.543 GB, free: 2.523 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/1.012, allocations: 51.09 kB / 1.544 GB, free: 2.465 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=72): time 2.305e-06/1.012, allocations: 0 / 1.544 GB, free: 2.465 MB / 0.9636 GB Notification: Performance of matching and sorting (n=75): time 0.004185/1.016, allocations: 3.007 MB / 1.546 GB, free: 15.42 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/1.016, allocations: 137.2 kB / 1.547 GB, free: 15.26 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009113/1.017, allocations: 0.8201 MB / 1.547 GB, free: 14.43 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 5.902e-05/1.017, allocations: 25.7 kB / 1.547 GB, free: 14.4 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.000563/1.018, allocations: 1.137 MB / 1.549 GB, free: 13.24 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.000202/1.018, allocations: 256.2 kB / 1.549 GB, free: 12.99 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.679e-05/1.018, allocations: 0 / 1.549 GB, free: 12.99 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001613/1.018, allocations: 402.8 kB / 1.549 GB, free: 12.59 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009406/1.019, allocations: 0.7873 MB / 1.55 GB, free: 11.8 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/1.02, allocations: 1.269 MB / 1.551 GB, free: 10.31 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001506/1.022, allocations: 1.086 MB / 1.552 GB, free: 9.223 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/1.022, allocations: 4 kB / 1.552 GB, free: 9.219 MB / 0.9792 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003027/1.025, allocations: 2.153 MB / 1.554 GB, free: 7.051 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.00185/1.027, allocations: 5.491 MB / 1.56 GB, free: 1.133 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/1.027, allocations: 16 kB / 1.56 GB, free: 1.117 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.182e-05/1.027, allocations: 24 kB / 1.56 GB, free: 1.094 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/1.029, allocations: 379.4 kB / 1.56 GB, free: 0.7227 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.108e-05/1.029, allocations: 31.84 kB / 1.56 GB, free: 0.6914 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/1.03, allocations: 163.4 kB / 1.56 GB, free: 0.5312 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/1.03, allocations: 63.98 kB / 1.56 GB, free: 480 kB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 6.843e-06/1.03, allocations: 8 kB / 1.56 GB, free: 472 kB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002338/1.032, allocations: 1.704 MB / 1.562 GB, free: 14.76 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/1.032, allocations: 16.19 kB / 1.562 GB, free: 14.74 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/1.032, allocations: 39.83 kB / 1.562 GB, free: 14.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/1.034, allocations: 339.5 kB / 1.562 GB, free: 14.37 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.817e-05/1.034, allocations: 27.92 kB / 1.562 GB, free: 14.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008686/1.035, allocations: 107.6 kB / 1.563 GB, free: 14.24 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.121e-05/1.035, allocations: 59.98 kB / 1.563 GB, free: 14.18 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 156 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002013/1.035, allocations: 153.6 kB / 1.563 GB, free: 14.02 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002035/1.035, allocations: 90.88 kB / 1.563 GB, free: 13.93 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002154/1.037, allocations: 1.566 MB / 1.564 GB, free: 12.35 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/1.037, allocations: 12 kB / 1.564 GB, free: 12.34 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.037, allocations: 0 / 1.564 GB, free: 12.34 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/1.037, allocations: 3.984 kB / 1.564 GB, free: 12.34 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008558/1.046, allocations: 7.162 MB / 1.571 GB, free: 4.934 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/1.046, allocations: 15.94 kB / 1.571 GB, free: 4.918 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/1.047, allocations: 232.3 kB / 1.572 GB, free: 4.691 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.397e-05/1.047, allocations: 15.98 kB / 1.572 GB, free: 4.676 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.043e-05/1.047, allocations: 12 kB / 1.572 GB, free: 4.664 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.171e-05/1.047, allocations: 15.94 kB / 1.572 GB, free: 4.648 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.468e-06/1.047, allocations: 15.94 kB / 1.572 GB, free: 4.633 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002281/1.049, allocations: 2.514 MB / 1.574 GB, free: 1.746 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005257/1.05, allocations: 371.7 kB / 1.574 GB, free: 1.363 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001713/1.05, allocations: 15.91 kB / 1.574 GB, free: 1.348 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008297/1.051, allocations: 79.88 kB / 1.575 GB, free: 1.27 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/1.051, allocations: 63.78 kB / 1.575 GB, free: 1.207 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.429e-05/1.051, allocations: 32 kB / 1.575 GB, free: 1.176 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.0006532/1.052, allocations: 0.6084 MB / 1.575 GB, free: 0.5742 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002231/1.054, allocations: 0.7695 MB / 1.576 GB, free: 15.8 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 78 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001933/1.054, allocations: 139.6 kB / 1.576 GB, free: 15.66 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00301/1.057, allocations: 2.649 MB / 1.579 GB, free: 13.02 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/1.057, allocations: 4 kB / 1.579 GB, free: 13.01 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0008549/1.058, allocations: 0.746 MB / 1.579 GB, free: 12.27 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/1.059, allocations: 237.5 kB / 1.58 GB, free: 12.04 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006278/1.065, allocations: 3.919 MB / 1.583 GB, free: 7.941 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002284/1.068, allocations: 2.263 MB / 1.586 GB, free: 5.645 MB / 1.01 GB Notification: Performance of SimCode: time 4.01e-07/1.068, allocations: 0 / 1.586 GB, free: 5.645 MB / 1.01 GB Notification: Performance of Templates: time 0.03257/1.1, allocations: 23.89 MB / 1.609 GB, free: 13.91 MB / 1.042 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches