Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.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.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer") [: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.291/1.291, allocations: 249.4 MB / 256.7 MB, free: 7.035 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.001038/0.001038, allocations: 192.4 kB / 316 MB, free: 3.527 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.426/1.426, allocations: 205.1 MB / 0.5667 GB, free: 15.58 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.00105/0.00105, allocations: 87.45 kB / 0.671 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.174e-06/7.334e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2074, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6293/0.8368, allocations: 174.4 MB / 1.055 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/0.8372, allocations: 93.3 kB / 1.055 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.1085/0.9457, allocations: 44.07 MB / 1.098 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.193e-05/0.9458, allocations: 23.98 kB / 1.098 GB, free: 9.895 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.00187/0.9477, allocations: 0.9088 MB / 1.099 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.9477, allocations: 12.03 kB / 1.099 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009348/0.9571, allocations: 1.184 MB / 1.1 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/0.9585, allocations: 0.5506 MB / 1.101 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.9585, allocations: 20 kB / 1.101 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.9587, allocations: 39.91 kB / 1.101 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002283/0.961, allocations: 1.267 MB / 1.102 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.9629, allocations: 1.291 MB / 1.103 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.9629, allocations: 3.938 kB / 1.103 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.9631, allocations: 4 kB / 1.103 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002276/0.9633, allocations: 96.89 kB / 1.103 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009672/0.973, allocations: 6.238 MB / 1.109 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.9744, allocations: 0.9363 MB / 1.11 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007534/0.9751, allocations: 0.5696 MB / 1.111 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002873/0.978, allocations: 2.229 MB / 1.113 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.9781, allocations: 44.94 kB / 1.113 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 2.855e-06/0.9781, allocations: 0 / 1.113 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=93): time 0.009547/0.9876, allocations: 3.576 MB / 1.117 GB, free: 8.715 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.9878, allocations: 203.8 kB / 1.117 GB, free: 8.473 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006127/0.9884, allocations: 433 kB / 1.117 GB, free: 8.043 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.9885, allocations: 25.7 kB / 1.117 GB, free: 8.012 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/0.9888, allocations: 358.8 kB / 1.118 GB, free: 7.652 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000292/0.9891, allocations: 315.3 kB / 1.118 GB, free: 7.34 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-05/0.9892, allocations: 0 / 1.118 GB, free: 7.34 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.9893, allocations: 374.8 kB / 1.118 GB, free: 6.965 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009849/0.9903, allocations: 0.6429 MB / 1.119 GB, free: 6.32 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.9915, allocations: 0.9129 MB / 1.12 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001886/0.9934, allocations: 0.8759 MB / 1.121 GB, free: 4.418 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.727e-06/0.9935, allocations: 4 kB / 1.121 GB, free: 4.414 MB / 0.7292 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005873/0.9993, allocations: 2.4 MB / 1.123 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001282/1.001, allocations: 3.128 MB / 1.126 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/1.001, allocations: 8.25 kB / 1.126 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00304/1.004, allocations: 0.6706 MB / 1.127 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002313/1.006, allocations: 395.4 kB / 1.127 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009062/1.015, allocations: 6.931 MB / 1.134 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002357/1.018, allocations: 195.8 kB / 1.134 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001711/1.018, allocations: 63.88 kB / 1.134 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.276e-06/1.018, allocations: 4 kB / 1.134 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00382/1.022, allocations: 1.777 MB / 1.136 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/1.022, allocations: 8 kB / 1.136 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006668/1.022, allocations: 213.5 kB / 1.136 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002434/1.025, allocations: 443.5 kB / 1.136 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004028/1.029, allocations: 3.681 MB / 1.14 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002112/1.031, allocations: 191.7 kB / 1.14 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/1.031, allocations: 59.97 kB / 1.14 GB, free: 15.39 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * 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: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003807/1.031, allocations: 132.7 kB / 1.14 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003645/1.032, allocations: 75.06 kB / 1.14 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006217/1.038, allocations: 2.353 MB / 1.143 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/1.038, allocations: 12 kB / 1.143 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/1.038, allocations: 4 kB / 1.143 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/1.038, allocations: 7.984 kB / 1.143 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008649/1.047, allocations: 4.127 MB / 1.147 GB, free: 8.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/1.047, allocations: 7.938 kB / 1.147 GB, free: 8.512 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001762/1.049, allocations: 296.1 kB / 1.147 GB, free: 8.223 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003298/1.052, allocations: 0.7877 MB / 1.148 GB, free: 7.422 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000227/1.052, allocations: 19.97 kB / 1.148 GB, free: 7.402 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009992/1.062, allocations: 7.915 MB / 1.156 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-05/1.062, allocations: 11.91 kB / 1.156 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006116/1.068, allocations: 2.691 MB / 1.158 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007459/1.069, allocations: 312.1 kB / 1.159 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001847/1.069, allocations: 8 kB / 1.159 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001954/1.071, allocations: 211.6 kB / 1.159 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/1.072, allocations: 59.83 kB / 1.159 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/1.072, allocations: 43.97 kB / 1.159 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0004291/1.072, allocations: 330.9 kB / 1.159 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002008/1.074, allocations: 436 kB / 1.16 GB, free: 10.71 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002958/1.074, allocations: 138.9 kB / 1.16 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.006044/1.08, allocations: 3.109 MB / 1.163 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/1.08, allocations: 4 kB / 1.163 GB, free: 7.395 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.002221/1.083, allocations: 1.266 MB / 1.164 GB, free: 6.09 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008217/1.084, allocations: 90.53 kB / 1.164 GB, free: 6 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009276/1.093, allocations: 2.374 MB / 1.166 GB, free: 3.531 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/1.094, allocations: 1.137 MB / 1.168 GB, free: 2.367 MB / 0.7761 GB Notification: Performance of SimCode: time 7.41e-07/1.094, allocations: 0 / 1.168 GB, free: 2.367 MB / 0.7761 GB Notification: Performance of Templates: time 0.04349/1.138, allocations: 27.95 MB / 1.195 GB, free: 6.383 MB / 0.8073 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches