Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.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.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_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull") translateModel(Buildings.Electrical.AC.OnePhase.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_latest_Buildings.Electrical.AC.OnePhase.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 10.0.0-master/package.mo): time 1.7/1.7, allocations: 390.4 MB / 397.7 MB, free: 11.21 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.0008986/0.0008986, allocations: 178.5 kB / 490.8 MB, free: 1.91 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.052/1.052, allocations: 221.3 MB / 0.7863 GB, free: 13.62 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.0008144/0.0008145, allocations: 83.94 kB / 0.9264 GB, free: 14.15 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.21e-06/5.23e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1668, allocations: 143 MB / 1.212 GB, free: 40.06 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4776/0.6444, allocations: 191.5 MB / 1.399 GB, free: 9.828 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001945/0.6446, allocations: 86.12 kB / 1.399 GB, free: 9.781 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.1005/0.7452, allocations: 48.96 MB / 1.447 GB, free: 468 kB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.411e-05/0.7452, allocations: 23.98 kB / 1.447 GB, free: 444 kB / 0.8542 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.001442/0.7467, allocations: 0.9662 MB / 1.447 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.7467, allocations: 8.031 kB / 1.447 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008503/0.7552, allocations: 1.255 MB / 1.449 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009443/0.7562, allocations: 0.6255 MB / 1.449 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.7562, allocations: 23.94 kB / 1.449 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.7564, allocations: 35.06 kB / 1.449 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001897/0.7583, allocations: 1.343 MB / 1.451 GB, free: 12.63 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.7599, allocations: 1.379 MB / 1.452 GB, free: 11.51 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.76, allocations: 7.844 kB / 1.452 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.7601, allocations: 7.984 kB / 1.452 GB, free: 11.49 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002661/0.7604, allocations: 136 kB / 1.452 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008263/0.7686, allocations: 6.548 MB / 1.459 GB, free: 5.441 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009375/0.7696, allocations: 0.8373 MB / 1.459 GB, free: 4.848 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006777/0.7703, allocations: 0.5758 MB / 1.46 GB, free: 4.461 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001759/0.772, allocations: 1.488 MB / 1.461 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.7721, allocations: 46.31 kB / 1.461 GB, free: 3.109 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 1.743e-06/0.7721, allocations: 0 / 1.461 GB, free: 3.109 MB / 0.8698 GB Notification: Performance of matching and sorting (n=107): time 0.009463/0.7815, allocations: 4.19 MB / 1.466 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.7816, allocations: 90.05 kB / 1.466 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004367/0.782, allocations: 472.3 kB / 1.466 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.732e-05/0.7821, allocations: 25.7 kB / 1.466 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.7823, allocations: 355.2 kB / 1.466 GB, free: 15 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002522/0.7825, allocations: 359.4 kB / 1.467 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.325e-05/0.7826, allocations: 0 / 1.467 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.7828, allocations: 394 kB / 1.467 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009198/0.7837, allocations: 0.7562 MB / 1.468 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.7848, allocations: 1.084 MB / 1.469 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/0.7865, allocations: 1.012 MB / 1.47 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.7865, allocations: 4 kB / 1.47 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006051/0.7925, allocations: 2.93 MB / 1.473 GB, free: 9.914 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009917/0.7935, allocations: 3.914 MB / 1.477 GB, free: 5.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.7936, allocations: 12 kB / 1.477 GB, free: 5.758 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003556/0.7971, allocations: 0.9705 MB / 1.478 GB, free: 4.93 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001846/0.799, allocations: 386.3 kB / 1.478 GB, free: 4.559 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009266/0.8083, allocations: 8.365 MB / 1.486 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/0.81, allocations: 207.6 kB / 1.486 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.8102, allocations: 61.66 kB / 1.486 GB, free: 12.97 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 5.34e-06/0.8102, allocations: 4 kB / 1.486 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004096/0.8143, allocations: 2.338 MB / 1.489 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.8143, allocations: 12 kB / 1.489 GB, free: 11.19 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00151/0.8158, allocations: 0.5625 MB / 1.489 GB, free: 10.72 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001943/0.8178, allocations: 421.7 kB / 1.49 GB, free: 10.32 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007562/0.8254, allocations: 8.093 MB / 1.498 GB, free: 1.859 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/0.827, allocations: 199.8 kB / 1.498 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.8272, allocations: 67.91 kB / 1.498 GB, free: 1.598 MB / 0.9011 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.0002392/0.8274, allocations: 133.3 kB / 1.498 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/0.8276, allocations: 86.97 kB / 1.498 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006655/0.8343, allocations: 2.995 MB / 1.501 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.8343, allocations: 12 kB / 1.501 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.8343, allocations: 8 kB / 1.501 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.8343, allocations: 7.969 kB / 1.501 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008076/0.8424, allocations: 4.557 MB / 1.505 GB, free: 9.641 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.8424, allocations: 8.688 kB / 1.505 GB, free: 9.633 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/0.8439, allocations: 295.5 kB / 1.506 GB, free: 9.344 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003546/0.8475, allocations: 1.033 MB / 1.507 GB, free: 8.297 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.49e-05/0.8476, allocations: 19.97 kB / 1.507 GB, free: 8.277 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01079/0.8584, allocations: 9.695 MB / 1.516 GB, free: 14.12 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.8584, allocations: 4 kB / 1.516 GB, free: 14.11 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005578/0.864, allocations: 3.119 MB / 1.519 GB, free: 10.75 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004757/0.8645, allocations: 340.1 kB / 1.52 GB, free: 10.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001864/0.8647, allocations: 11.98 kB / 1.52 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001815/0.8665, allocations: 227.6 kB / 1.52 GB, free: 10.17 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.8667, allocations: 76.17 kB / 1.52 GB, free: 10.09 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/0.8668, allocations: 47.97 kB / 1.52 GB, free: 10.05 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0003284/0.8671, allocations: 355 kB / 1.52 GB, free: 9.699 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001469/0.8686, allocations: 0.5077 MB / 1.521 GB, free: 9.191 MB / 0.9323 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.00021/0.8688, allocations: 135 kB / 1.521 GB, free: 9.051 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006088/0.8749, allocations: 3.908 MB / 1.525 GB, free: 5.07 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.8749, allocations: 4 kB / 1.525 GB, free: 5.066 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002558/0.8775, allocations: 1.529 MB / 1.526 GB, free: 3.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006134/0.8781, allocations: 114.2 kB / 1.526 GB, free: 3.387 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007917/0.886, allocations: 2.644 MB / 1.529 GB, free: 0.6406 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009753/0.887, allocations: 1.18 MB / 1.53 GB, free: 15.44 MB / 0.948 GB Notification: Performance of SimCode: time 2.9e-07/0.887, allocations: 0 / 1.53 GB, free: 15.44 MB / 0.948 GB Notification: Performance of Templates: time 0.03768/0.9247, allocations: 33.1 MB / 1.562 GB, free: 14.41 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.csv","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches