Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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.ACACConverter,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.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,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.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") [: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.758/1.758, 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.0009881/0.0009881, allocations: 185.2 kB / 487 MB, free: 5.414 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.131/1.131, allocations: 221.3 MB / 0.7819 GB, free: 1.395 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.0008215/0.0008215, allocations: 98 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.56e-06/5.57e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1788, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5191/0.6979, allocations: 177.7 MB / 1.379 GB, free: 15.12 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/0.6982, allocations: 91.56 kB / 1.379 GB, free: 15.07 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.04297/0.7412, allocations: 19.48 MB / 1.398 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.7412, allocations: 4 kB / 1.398 GB, free: 14.71 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007365/0.742, allocations: 0.5387 MB / 1.398 GB, free: 14.15 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.742, allocations: 8.031 kB / 1.398 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007623/0.7428, allocations: 103.6 kB / 1.399 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.7431, allocations: 258.6 kB / 1.399 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.7431, allocations: 4 kB / 1.399 GB, free: 13.76 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.097e-05/0.7431, allocations: 15.94 kB / 1.399 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003859/0.7435, allocations: 267.2 kB / 1.399 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004104/0.7439, allocations: 345 kB / 1.399 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.7439, allocations: 0 / 1.399 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/0.744, allocations: 0 / 1.399 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.004e-05/0.744, allocations: 26.64 kB / 1.399 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001596/0.7456, allocations: 1.674 MB / 1.401 GB, free: 11.61 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/0.7459, allocations: 282.6 kB / 1.401 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.7461, allocations: 171.3 kB / 1.401 GB, free: 11.28 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001407/0.7463, allocations: 89.09 kB / 1.402 GB, free: 11.17 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.7463, allocations: 37.69 kB / 1.402 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.313e-06/0.7463, allocations: 7.938 kB / 1.402 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35): time 0.00272/0.749, allocations: 1.108 MB / 1.403 GB, free: 10.27 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.7491, allocations: 81.11 kB / 1.403 GB, free: 10.17 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.7492, allocations: 147.2 kB / 1.403 GB, free: 10.04 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.7492, allocations: 29.69 kB / 1.403 GB, free: 10 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.162e-05/0.7493, allocations: 143.1 kB / 1.403 GB, free: 9.863 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.868e-05/0.7494, allocations: 115.7 kB / 1.403 GB, free: 9.762 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.7494, allocations: 0 / 1.403 GB, free: 9.762 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.585e-05/0.7495, allocations: 330.1 kB / 1.404 GB, free: 9.438 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.7498, allocations: 225.9 kB / 1.404 GB, free: 9.297 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003051/0.7501, allocations: 299.8 kB / 1.404 GB, free: 9.059 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005668/0.7507, allocations: 308.9 kB / 1.404 GB, free: 8.848 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.7507, allocations: 4 kB / 1.404 GB, free: 8.844 MB / 0.8386 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009938/0.7517, allocations: 0.6172 MB / 1.405 GB, free: 8.387 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002426/0.752, allocations: 0.8706 MB / 1.406 GB, free: 7.461 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.752, allocations: 0 / 1.406 GB, free: 7.461 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.752, allocations: 8 kB / 1.406 GB, free: 7.453 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009091/0.7529, allocations: 158.4 kB / 1.406 GB, free: 7.305 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.7529, allocations: 4 kB / 1.406 GB, free: 7.301 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003594/0.7533, allocations: 39.95 kB / 1.406 GB, free: 7.262 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.07e-05/0.7533, allocations: 15.98 kB / 1.406 GB, free: 7.246 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.1e-06/0.7533, allocations: 4 kB / 1.406 GB, free: 7.242 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007971/0.7541, allocations: 467.3 kB / 1.406 GB, free: 6.906 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.7542, allocations: 4 kB / 1.406 GB, free: 6.902 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.102e-06/0.7542, allocations: 4 kB / 1.406 GB, free: 6.898 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006974/0.7549, allocations: 135.5 kB / 1.407 GB, free: 6.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.7549, allocations: 7.938 kB / 1.407 GB, free: 6.762 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000266/0.7552, allocations: 35.91 kB / 1.407 GB, free: 6.727 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/0.7552, allocations: 19.36 kB / 1.407 GB, free: 6.711 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001032/0.7553, allocations: 120.8 kB / 1.407 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.834e-05/0.7554, allocations: 23.77 kB / 1.407 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.7565, allocations: 0.6505 MB / 1.407 GB, free: 6.102 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.7565, allocations: 4 kB / 1.407 GB, free: 6.098 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.7565, allocations: 3.906 kB / 1.407 GB, free: 6.094 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.7565, allocations: 0 / 1.407 GB, free: 6.094 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.7583, allocations: 1.282 MB / 1.409 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.7583, allocations: 8.016 kB / 1.409 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006179/0.759, allocations: 119.7 kB / 1.409 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.759, allocations: 4 kB / 1.409 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.759, allocations: 11.98 kB / 1.409 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.759, allocations: 11.94 kB / 1.409 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.759, allocations: 4 kB / 1.409 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000849/0.7599, allocations: 0.7801 MB / 1.41 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.76, allocations: 145.7 kB / 1.41 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.96e-05/0.7601, allocations: 0 / 1.41 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003295/0.7604, allocations: 35.97 kB / 1.41 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.664e-05/0.7605, allocations: 26.08 kB / 1.41 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.743e-05/0.7605, allocations: 12 kB / 1.41 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.742e-05/0.7606, allocations: 138.2 kB / 1.41 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005646/0.7612, allocations: 143.9 kB / 1.41 GB, free: 3.609 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001905/0.7614, allocations: 147.8 kB / 1.41 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000902/0.7623, allocations: 0.7147 MB / 1.411 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7623, allocations: 0 / 1.411 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002791/0.7626, allocations: 230.5 kB / 1.411 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.7629, allocations: 39.75 kB / 1.411 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.764, allocations: 0.5805 MB / 1.412 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000514/0.7645, allocations: 0.8335 MB / 1.413 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of SimCode: time 1.422e-06/0.7645, allocations: 0 / 1.413 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of Templates: time 0.009281/0.7738, allocations: 6.59 MB / 1.419 GB, free: 10.86 MB / 0.8542 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.csv","../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches