Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.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.OnePhase.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.OnePhase.Conversion.Examples.ACACTransformer") translateModel(Buildings.Electrical.AC.OnePhase.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.OnePhase.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.778/1.778, allocations: 387.2 MB / 394.5 MB, free: 13.71 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.0009026/0.0009025, allocations: 177.3 kB / 487 MB, free: 5.383 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.126/1.126, allocations: 221.3 MB / 0.7819 GB, free: 1.398 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.000861/0.000861, allocations: 94.67 kB / 0.9213 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.062e-06/6.082e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1932, allocations: 142.3 MB / 1.205 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5229/0.7161, allocations: 187.5 MB / 1.388 GB, free: 5.723 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/0.7164, allocations: 91.94 kB / 1.388 GB, free: 5.672 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.1037/0.8201, allocations: 47.75 MB / 1.435 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.219e-05/0.8201, allocations: 16 kB / 1.435 GB, free: 13.41 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.001481/0.8216, allocations: 0.9072 MB / 1.436 GB, free: 12.51 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.8217, allocations: 17.02 kB / 1.436 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008344/0.83, allocations: 1.188 MB / 1.437 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007862/0.8308, allocations: 0.5459 MB / 1.438 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.8308, allocations: 20 kB / 1.438 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.831, allocations: 36 kB / 1.438 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001859/0.8329, allocations: 1.263 MB / 1.439 GB, free: 9.859 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.8345, allocations: 1.296 MB / 1.44 GB, free: 8.785 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.8345, allocations: 0 / 1.44 GB, free: 8.785 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.8346, allocations: 4 kB / 1.44 GB, free: 8.781 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001723/0.8348, allocations: 95.77 kB / 1.44 GB, free: 8.695 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007592/0.8424, allocations: 6.254 MB / 1.446 GB, free: 2.867 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.8435, allocations: 0.9249 MB / 1.447 GB, free: 2.152 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006708/0.8442, allocations: 0.5636 MB / 1.448 GB, free: 1.754 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002229/0.8464, allocations: 2.224 MB / 1.45 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.8464, allocations: 49.81 kB / 1.45 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=69): time 1.923e-06/0.8465, allocations: 0 / 1.45 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of matching and sorting (n=93): time 0.008056/0.8545, allocations: 3.57 MB / 1.454 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.602e-05/0.8546, allocations: 195.6 kB / 1.454 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004027/0.855, allocations: 437.2 kB / 1.454 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.622e-05/0.8551, allocations: 25.7 kB / 1.454 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.8553, allocations: 356.3 kB / 1.455 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.8555, allocations: 310.4 kB / 1.455 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.207e-05/0.8556, allocations: 0 / 1.455 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.8557, allocations: 378 kB / 1.455 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008321/0.8565, allocations: 0.6417 MB / 1.456 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009466/0.8575, allocations: 0.917 MB / 1.457 GB, free: 10.03 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/0.8591, allocations: 0.8781 MB / 1.458 GB, free: 9.402 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.8591, allocations: 0 / 1.458 GB, free: 9.402 MB / 0.8855 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.00515/0.8643, allocations: 2.394 MB / 1.46 GB, free: 7.539 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008008/0.8651, allocations: 3.14 MB / 1.463 GB, free: 4.215 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.8651, allocations: 8 kB / 1.463 GB, free: 4.207 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00273/0.8678, allocations: 0.6706 MB / 1.464 GB, free: 3.621 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001962/0.8698, allocations: 398.1 kB / 1.464 GB, free: 3.242 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00742/0.8772, allocations: 6.918 MB / 1.471 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/0.8791, allocations: 207.6 kB / 1.471 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.8793, allocations: 57.84 kB / 1.471 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 7.083e-06/0.8793, allocations: 4 kB / 1.471 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003182/0.8825, allocations: 1.782 MB / 1.473 GB, free: 11.33 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.8825, allocations: 8 kB / 1.473 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005749/0.8831, allocations: 220.2 kB / 1.473 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002128/0.8852, allocations: 443.1 kB / 1.473 GB, free: 10.72 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003144/0.8884, allocations: 3.675 MB / 1.477 GB, free: 7.297 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/0.89, allocations: 199.6 kB / 1.477 GB, free: 7.102 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.8901, allocations: 57.53 kB / 1.477 GB, free: 7.055 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.0002525/0.8904, allocations: 129.2 kB / 1.477 GB, free: 6.926 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002447/0.8906, allocations: 79.14 kB / 1.477 GB, free: 6.848 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00581/0.8965, allocations: 2.348 MB / 1.48 GB, free: 5.016 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.8965, allocations: 12 kB / 1.48 GB, free: 5.004 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.8965, allocations: 8 kB / 1.48 GB, free: 4.996 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.8965, allocations: 3.984 kB / 1.48 GB, free: 4.992 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007804/0.9043, allocations: 4.119 MB / 1.484 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.9044, allocations: 8.125 kB / 1.484 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001592/0.906, allocations: 291.5 kB / 1.484 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002979/0.909, allocations: 0.792 MB / 1.485 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.1e-05/0.9091, allocations: 19.97 kB / 1.485 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008685/0.9178, allocations: 7.911 MB / 1.493 GB, free: 7.523 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/0.9178, allocations: 11.94 kB / 1.493 GB, free: 7.512 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005118/0.9229, allocations: 2.702 MB / 1.495 GB, free: 4.582 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005115/0.9234, allocations: 312.1 kB / 1.496 GB, free: 4.258 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001743/0.9236, allocations: 8 kB / 1.496 GB, free: 4.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/0.9254, allocations: 207.7 kB / 1.496 GB, free: 4.047 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.9256, allocations: 67.77 kB / 1.496 GB, free: 3.98 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.681e-05/0.9257, allocations: 39.97 kB / 1.496 GB, free: 3.941 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.0003554/0.926, allocations: 330.9 kB / 1.496 GB, free: 3.621 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001635/0.9277, allocations: 439.9 kB / 1.497 GB, free: 3.191 MB / 0.9167 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.0002301/0.9279, allocations: 131 kB / 1.497 GB, free: 3.051 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.004895/0.9328, allocations: 3.117 MB / 1.5 GB, free: 15.88 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.9328, allocations: 8.062 kB / 1.5 GB, free: 15.88 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001813/0.9346, allocations: 1.261 MB / 1.501 GB, free: 14.57 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000578/0.9352, allocations: 85.75 kB / 1.501 GB, free: 14.49 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007795/0.943, allocations: 2.374 MB / 1.503 GB, free: 12.02 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009829/0.944, allocations: 1.132 MB / 1.504 GB, free: 10.86 MB / 0.9323 GB Notification: Performance of SimCode: time 2.7e-07/0.944, allocations: 0 / 1.504 GB, free: 10.86 MB / 0.9323 GB Notification: Performance of Templates: time 0.03523/0.9793, allocations: 27.94 MB / 1.532 GB, free: 14.91 MB / 0.9636 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer.csv","../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches