Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.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.ACACTransformerFull,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.ACACTransformerFull") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,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.ACACTransformerFull") [: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.788/1.788, 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.0009918/0.0009918, allocations: 184.6 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.132/1.132, 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.0008065/0.0008061, allocations: 91.31 kB / 0.9213 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.32e-06/5.35e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.182, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5105/0.6925, allocations: 195.4 MB / 1.396 GB, free: 14.37 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/0.6927, allocations: 95.19 kB / 1.396 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of FrontEnd: time 0.1146/0.8073, allocations: 50.72 MB / 1.446 GB, free: 3.496 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.934e-05/0.8074, allocations: 24 kB / 1.446 GB, free: 3.473 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.001696/0.8091, allocations: 0.9635 MB / 1.447 GB, free: 2.508 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.8092, allocations: 16.03 kB / 1.447 GB, free: 2.492 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009081/0.8183, allocations: 1.251 MB / 1.448 GB, free: 1.242 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.8196, allocations: 0.6318 MB / 1.448 GB, free: 0.668 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.8196, allocations: 19.98 kB / 1.448 GB, free: 0.6484 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/0.8198, allocations: 39.91 kB / 1.449 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002142/0.8219, allocations: 1.342 MB / 1.45 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/0.8238, allocations: 1.382 MB / 1.451 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.8238, allocations: 0 / 1.451 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.8239, allocations: 4 kB / 1.451 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002776/0.8242, allocations: 137.2 kB / 1.451 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009062/0.8333, allocations: 6.563 MB / 1.458 GB, free: 8.461 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009816/0.8343, allocations: 0.8279 MB / 1.459 GB, free: 7.875 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006892/0.835, allocations: 0.5792 MB / 1.459 GB, free: 7.484 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001932/0.8369, allocations: 1.486 MB / 1.461 GB, free: 6.191 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.837, allocations: 44 kB / 1.461 GB, free: 6.145 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 2.255e-06/0.837, allocations: 0 / 1.461 GB, free: 6.145 MB / 0.8855 GB Notification: Performance of matching and sorting (n=107): time 0.009953/0.8469, allocations: 4.177 MB / 1.465 GB, free: 2.852 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.847, allocations: 90.03 kB / 1.465 GB, free: 2.746 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005106/0.8475, allocations: 476.9 kB / 1.465 GB, free: 2.379 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.903e-05/0.8476, allocations: 25.7 kB / 1.465 GB, free: 2.348 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.8478, allocations: 364 kB / 1.466 GB, free: 2.023 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002657/0.8481, allocations: 360.7 kB / 1.466 GB, free: 1.707 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.737e-05/0.8482, allocations: 0 / 1.466 GB, free: 1.707 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.8483, allocations: 393.5 kB / 1.466 GB, free: 1.348 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009502/0.8493, allocations: 0.753 MB / 1.467 GB, free: 0.8672 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.8505, allocations: 1.087 MB / 1.468 GB, free: 15.94 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001797/0.8523, allocations: 1.015 MB / 1.469 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.8523, allocations: 4 kB / 1.469 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006386/0.8587, allocations: 2.929 MB / 1.472 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001228/0.8599, allocations: 3.919 MB / 1.476 GB, free: 8.793 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.8599, allocations: 8 kB / 1.476 GB, free: 8.785 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003659/0.8636, allocations: 0.9568 MB / 1.477 GB, free: 7.969 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001972/0.8656, allocations: 393 kB / 1.477 GB, free: 7.594 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/0.8758, allocations: 8.37 MB / 1.485 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002122/0.878, allocations: 199.8 kB / 1.485 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/0.8781, allocations: 59.97 kB / 1.486 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 7.423e-06/0.8781, allocations: 4 kB / 1.486 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004608/0.8827, allocations: 2.344 MB / 1.488 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.8828, allocations: 16.09 kB / 1.488 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001614/0.8844, allocations: 0.5579 MB / 1.488 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002002/0.8864, allocations: 411.4 kB / 1.489 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008143/0.8946, allocations: 8.086 MB / 1.497 GB, free: 3.793 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/0.8964, allocations: 191.8 kB / 1.497 GB, free: 3.605 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/0.8965, allocations: 63.97 kB / 1.497 GB, free: 3.543 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0003036/0.8969, allocations: 149.2 kB / 1.497 GB, free: 3.391 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/0.8971, allocations: 79.06 kB / 1.497 GB, free: 3.312 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00698/0.904, allocations: 2.995 MB / 1.5 GB, free: 292 kB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.9041, allocations: 12 kB / 1.5 GB, free: 280 kB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.9041, allocations: 12 kB / 1.5 GB, free: 268 kB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.9041, allocations: 3.984 kB / 1.5 GB, free: 264 kB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008509/0.9126, allocations: 4.577 MB / 1.505 GB, free: 11.55 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.9126, allocations: 4 kB / 1.505 GB, free: 11.55 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001576/0.9142, allocations: 295.7 kB / 1.505 GB, free: 11.26 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003645/0.9179, allocations: 1.038 MB / 1.506 GB, free: 10.21 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.743e-05/0.918, allocations: 19.97 kB / 1.506 GB, free: 10.19 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01181/0.9298, allocations: 9.706 MB / 1.515 GB, free: 28 kB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.9298, allocations: 7.938 kB / 1.515 GB, free: 20 kB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005993/0.9358, allocations: 3.116 MB / 1.518 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005738/0.9364, allocations: 339.9 kB / 1.519 GB, free: 12.31 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000185/0.9366, allocations: 11.98 kB / 1.519 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001895/0.9385, allocations: 223.6 kB / 1.519 GB, free: 12.08 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.9387, allocations: 68.25 kB / 1.519 GB, free: 12.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/0.9388, allocations: 43.98 kB / 1.519 GB, free: 11.97 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004176/0.9392, allocations: 366.9 kB / 1.519 GB, free: 11.61 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001738/0.9409, allocations: 0.4999 MB / 1.52 GB, free: 11.11 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 64 * 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 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002289/0.9412, allocations: 143 kB / 1.52 GB, free: 10.96 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006548/0.9477, allocations: 3.903 MB / 1.524 GB, free: 6.996 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.9477, allocations: 0 / 1.524 GB, free: 6.996 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002716/0.9505, allocations: 1.537 MB / 1.525 GB, free: 5.414 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006561/0.9511, allocations: 118.2 kB / 1.525 GB, free: 5.301 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008319/0.9595, allocations: 2.648 MB / 1.528 GB, free: 2.551 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/0.9605, allocations: 1.184 MB / 1.529 GB, free: 1.336 MB / 0.948 GB Notification: Performance of SimCode: time 3.51e-07/0.9605, allocations: 4 kB / 1.529 GB, free: 1.332 MB / 0.948 GB Notification: Performance of Templates: time 0.04309/1.004, allocations: 33.1 MB / 1.562 GB, free: 320 kB / 0.9792 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches