Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.694/1.694, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.0009264/0.0009264, allocations: 181.3 kB / 490.8 MB, free: 1.949 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.048/1.048, allocations: 221.3 MB / 0.7863 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008044/0.0008044, allocations: 87.2 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.15e-06/5.16e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1654, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4695/0.635, allocations: 188.3 MB / 1.395 GB, free: 12.58 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/0.6352, allocations: 88.53 kB / 1.396 GB, free: 12.57 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.09627/0.7315, allocations: 47.74 MB / 1.442 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.516e-05/0.7315, allocations: 16 kB / 1.442 GB, free: 4.656 MB / 0.8542 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.001384/0.7329, allocations: 0.9062 MB / 1.443 GB, free: 3.754 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.733, allocations: 16.03 kB / 1.443 GB, free: 3.738 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008171/0.7412, allocations: 1.18 MB / 1.444 GB, free: 2.559 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008998/0.7421, allocations: 0.5627 MB / 1.445 GB, free: 2.035 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.7421, allocations: 20 kB / 1.445 GB, free: 2.016 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.7423, allocations: 32 kB / 1.445 GB, free: 1.984 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001927/0.7442, allocations: 1.266 MB / 1.446 GB, free: 1.09 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001624/0.7458, allocations: 1.294 MB / 1.447 GB, free: 16 kB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.7459, allocations: 7.938 kB / 1.447 GB, free: 8 kB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.631e-05/0.746, allocations: 0 / 1.447 GB, free: 8 kB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001736/0.7461, allocations: 101 kB / 1.447 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007661/0.7538, allocations: 6.243 MB / 1.454 GB, free: 10.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.7549, allocations: 0.9202 MB / 1.454 GB, free: 9.387 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006862/0.7556, allocations: 0.5643 MB / 1.455 GB, free: 8.988 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002242/0.7579, allocations: 2.223 MB / 1.457 GB, free: 6.926 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.7579, allocations: 53.98 kB / 1.457 GB, free: 6.871 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=69): time 2.014e-06/0.7579, allocations: 0 / 1.457 GB, free: 6.871 MB / 0.8698 GB Notification: Performance of matching and sorting (n=93): time 0.007994/0.7659, allocations: 3.578 MB / 1.461 GB, free: 3.98 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.079e-05/0.766, allocations: 199.6 kB / 1.461 GB, free: 3.742 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004029/0.7664, allocations: 442 kB / 1.461 GB, free: 3.402 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.771e-05/0.7665, allocations: 25.7 kB / 1.461 GB, free: 3.371 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.7667, allocations: 354.2 kB / 1.462 GB, free: 3.051 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002334/0.7669, allocations: 313.5 kB / 1.462 GB, free: 2.777 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.952e-05/0.767, allocations: 0 / 1.462 GB, free: 2.777 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.7671, allocations: 375.2 kB / 1.462 GB, free: 2.43 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008295/0.768, allocations: 0.643 MB / 1.463 GB, free: 2.016 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009638/0.769, allocations: 0.9161 MB / 1.464 GB, free: 1.246 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001572/0.7705, allocations: 0.8802 MB / 1.465 GB, free: 0.6172 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.7705, allocations: 4 kB / 1.465 GB, free: 0.6133 MB / 0.8698 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005045/0.7756, allocations: 2.39 MB / 1.467 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009534/0.7766, allocations: 3.143 MB / 1.47 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.7766, allocations: 8.25 kB / 1.47 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002676/0.7793, allocations: 0.6615 MB / 1.471 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/0.7812, allocations: 398.7 kB / 1.471 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007168/0.7883, allocations: 6.928 MB / 1.478 GB, free: 4.125 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/0.7901, allocations: 203.6 kB / 1.478 GB, free: 3.926 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/0.7902, allocations: 58.84 kB / 1.478 GB, free: 3.875 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.159e-06/0.7902, allocations: 4 kB / 1.478 GB, free: 3.871 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003027/0.7933, allocations: 1.778 MB / 1.48 GB, free: 2.547 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.7933, allocations: 8 kB / 1.48 GB, free: 2.539 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005446/0.7938, allocations: 216.3 kB / 1.48 GB, free: 2.355 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002052/0.7959, allocations: 446.2 kB / 1.481 GB, free: 1.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003073/0.799, allocations: 3.675 MB / 1.484 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/0.8005, allocations: 191.7 kB / 1.484 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.8007, allocations: 58.22 kB / 1.484 GB, free: 14.27 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.000213/0.8009, allocations: 132.2 kB / 1.484 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/0.8011, allocations: 67.16 kB / 1.485 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005364/0.8065, allocations: 2.348 MB / 1.487 GB, free: 12.24 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.138e-06/0.8065, allocations: 12 kB / 1.487 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.8065, allocations: 8 kB / 1.487 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.8065, allocations: 7.984 kB / 1.487 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006816/0.8134, allocations: 4.129 MB / 1.491 GB, free: 8.738 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.8134, allocations: 8.094 kB / 1.491 GB, free: 8.73 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001519/0.8149, allocations: 295.5 kB / 1.491 GB, free: 8.441 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002784/0.8177, allocations: 0.7842 MB / 1.492 GB, free: 7.645 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.9e-05/0.8178, allocations: 27.97 kB / 1.492 GB, free: 7.617 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00807/0.8259, allocations: 7.919 MB / 1.5 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.8259, allocations: 4 kB / 1.5 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004757/0.8306, allocations: 2.698 MB / 1.502 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004464/0.8311, allocations: 316 kB / 1.503 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.8313, allocations: 4 kB / 1.503 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00171/0.833, allocations: 211.7 kB / 1.503 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.8331, allocations: 59.83 kB / 1.503 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.521e-05/0.8332, allocations: 39.97 kB / 1.503 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.000307/0.8335, allocations: 326.9 kB / 1.503 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001445/0.835, allocations: 443.9 kB / 1.504 GB, free: 10.92 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.0002018/0.8352, allocations: 126.9 kB / 1.504 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.004608/0.8398, allocations: 3.114 MB / 1.507 GB, free: 7.621 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.8398, allocations: 320 / 1.507 GB, free: 7.621 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001741/0.8416, allocations: 1.269 MB / 1.508 GB, free: 6.312 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005623/0.8422, allocations: 91.77 kB / 1.508 GB, free: 6.223 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007438/0.8496, allocations: 2.382 MB / 1.511 GB, free: 3.75 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009583/0.8506, allocations: 1.128 MB / 1.512 GB, free: 2.594 MB / 0.9167 GB Notification: Performance of SimCode: time 2.81e-07/0.8506, allocations: 0 / 1.512 GB, free: 2.594 MB / 0.9167 GB Notification: Performance of Templates: time 0.03361/0.8842, allocations: 27.94 MB / 1.539 GB, free: 6.652 MB / 0.948 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer.csv","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches