Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.759/1.759, 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.0009519/0.0009518, allocations: 188.5 kB / 487 MB, free: 5.332 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.115/1.115, allocations: 221.3 MB / 0.7819 GB, free: 1.336 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.0008591/0.0008592, allocations: 95.3 kB / 0.9213 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.571e-06/5.591e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1746, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5126/0.6873, allocations: 191.2 MB / 1.392 GB, free: 2.316 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/0.6875, allocations: 89.19 kB / 1.392 GB, free: 2.27 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.1055/0.793, allocations: 48.86 MB / 1.44 GB, free: 9.059 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.243e-05/0.7931, allocations: 12 kB / 1.44 GB, free: 9.047 MB / 0.8698 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.001509/0.7946, allocations: 0.919 MB / 1.441 GB, free: 8.125 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.7946, allocations: 16.03 kB / 1.441 GB, free: 8.109 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008287/0.8029, allocations: 1.184 MB / 1.442 GB, free: 6.926 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008019/0.8037, allocations: 0.5523 MB / 1.442 GB, free: 6.422 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.8038, allocations: 20 kB / 1.442 GB, free: 6.402 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.8039, allocations: 36 kB / 1.442 GB, free: 6.367 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001873/0.8058, allocations: 1.266 MB / 1.444 GB, free: 5.477 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.8074, allocations: 1.29 MB / 1.445 GB, free: 4.41 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.8075, allocations: 4 kB / 1.445 GB, free: 4.406 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.887e-05/0.8076, allocations: 0 / 1.445 GB, free: 4.406 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000176/0.8078, allocations: 108.7 kB / 1.445 GB, free: 4.309 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007534/0.8153, allocations: 6.236 MB / 1.451 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.8164, allocations: 0.9212 MB / 1.452 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006541/0.8171, allocations: 0.5682 MB / 1.453 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002231/0.8193, allocations: 2.222 MB / 1.455 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.8194, allocations: 45.69 kB / 1.455 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=69): time 3.877e-06/0.8194, allocations: 3.984 kB / 1.455 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of matching and sorting (n=93): time 0.00813/0.8275, allocations: 3.572 MB / 1.458 GB, free: 8.379 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/0.8276, allocations: 203.6 kB / 1.459 GB, free: 8.137 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004084/0.828, allocations: 439.9 kB / 1.459 GB, free: 7.801 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.715e-05/0.8281, allocations: 25.7 kB / 1.459 GB, free: 7.77 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.8282, allocations: 354.5 kB / 1.459 GB, free: 7.449 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000223/0.8285, allocations: 309.8 kB / 1.46 GB, free: 7.18 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.986e-05/0.8286, allocations: 0 / 1.46 GB, free: 7.18 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.8287, allocations: 381 kB / 1.46 GB, free: 6.828 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008405/0.8295, allocations: 0.644 MB / 1.461 GB, free: 6.41 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009497/0.8305, allocations: 0.9127 MB / 1.461 GB, free: 5.641 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/0.8321, allocations: 0.8797 MB / 1.462 GB, free: 5.016 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.8321, allocations: 4 kB / 1.462 GB, free: 5.012 MB / 0.8855 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005187/0.8373, allocations: 2.399 MB / 1.465 GB, free: 3.148 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008161/0.8381, allocations: 3.13 MB / 1.468 GB, free: 15.83 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.8381, allocations: 12 kB / 1.468 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002728/0.8409, allocations: 0.6775 MB / 1.468 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001939/0.8428, allocations: 390.9 kB / 1.469 GB, free: 14.85 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007394/0.8502, allocations: 6.921 MB / 1.476 GB, free: 8.508 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/0.8521, allocations: 199.7 kB / 1.476 GB, free: 8.312 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.8522, allocations: 58.66 kB / 1.476 GB, free: 8.266 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 6.021e-06/0.8522, allocations: 6.5 kB / 1.476 GB, free: 8.262 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003191/0.8554, allocations: 1.784 MB / 1.478 GB, free: 6.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.8555, allocations: 8 kB / 1.478 GB, free: 6.922 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005728/0.856, allocations: 211.7 kB / 1.478 GB, free: 6.75 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002157/0.8582, allocations: 442.9 kB / 1.478 GB, free: 6.324 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003127/0.8613, allocations: 3.672 MB / 1.482 GB, free: 2.906 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.863, allocations: 195.7 kB / 1.482 GB, free: 2.715 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.8631, allocations: 63.41 kB / 1.482 GB, free: 2.664 MB / 0.9011 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.000235/0.8634, allocations: 132.6 kB / 1.482 GB, free: 2.531 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002396/0.8636, allocations: 75.14 kB / 1.482 GB, free: 2.457 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005618/0.8693, allocations: 2.354 MB / 1.484 GB, free: 416 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.8693, allocations: 15.91 kB / 1.485 GB, free: 400 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.8693, allocations: 4 kB / 1.485 GB, free: 396 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.8693, allocations: 7.969 kB / 1.485 GB, free: 388 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007233/0.8765, allocations: 4.109 MB / 1.489 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.8766, allocations: 7.906 kB / 1.489 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001579/0.8782, allocations: 296.2 kB / 1.489 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002951/0.8811, allocations: 0.7881 MB / 1.49 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.005e-05/0.8812, allocations: 19.97 kB / 1.49 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008211/0.8894, allocations: 7.928 MB / 1.497 GB, free: 2.637 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.8895, allocations: 7.938 kB / 1.497 GB, free: 2.629 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004949/0.8944, allocations: 2.694 MB / 1.5 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000461/0.8949, allocations: 323.9 kB / 1.5 GB, free: 15.37 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/0.8951, allocations: 4 kB / 1.5 GB, free: 15.36 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001789/0.8969, allocations: 215.7 kB / 1.501 GB, free: 15.15 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.897, allocations: 59.77 kB / 1.501 GB, free: 15.09 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.8971, allocations: 43.97 kB / 1.501 GB, free: 15.05 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0003499/0.8975, allocations: 330.9 kB / 1.501 GB, free: 14.73 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001535/0.899, allocations: 440 kB / 1.501 GB, free: 14.3 MB / 0.9323 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.000207/0.8992, allocations: 137.7 kB / 1.501 GB, free: 14.16 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004794/0.904, allocations: 3.109 MB / 1.505 GB, free: 11 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.904, allocations: 4 kB / 1.505 GB, free: 10.99 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001784/0.9058, allocations: 1.262 MB / 1.506 GB, free: 9.691 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005802/0.9064, allocations: 84.41 kB / 1.506 GB, free: 9.613 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007785/0.9142, allocations: 2.377 MB / 1.508 GB, free: 7.141 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009512/0.9152, allocations: 1.136 MB / 1.509 GB, free: 5.98 MB / 0.9323 GB Notification: Performance of SimCode: time 4.41e-07/0.9152, allocations: 3.938 kB / 1.509 GB, free: 5.977 MB / 0.9323 GB Notification: Performance of Templates: time 0.03444/0.9496, allocations: 27.94 MB / 1.537 GB, free: 10.04 MB / 0.9636 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches