Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y_1.V.1.|probe_Y_1.V.2.|probe_Y_1.V.3.|probe_D_1.V.1.|probe_D_1.V.2.|probe_D_1.V.3.|probe_2.V.1.|probe_2.V.2.|probe_2.V.3.|probe_Y_1.theta.1.|probe_Y_1.theta.2.|probe_Y_1.theta.3.|probe_D_1.theta.1.|probe_D_1.theta.2.|probe_D_1.theta.3.|probe_2.theta.1.|probe_2.theta.2.|probe_2.theta.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y_1.V.1.|probe_Y_1.V.2.|probe_Y_1.V.3.|probe_D_1.V.1.|probe_D_1.V.2.|probe_D_1.V.3.|probe_2.V.1.|probe_2.V.2.|probe_2.V.3.|probe_Y_1.theta.1.|probe_Y_1.theta.2.|probe_Y_1.theta.3.|probe_D_1.theta.1.|probe_D_1.theta.2.|probe_D_1.theta.3.|probe_2.theta.1.|probe_2.theta.2.|probe_2.theta.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY") [: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 7.0.3-maint.7.0.x/package.mo): time 1.291/1.291, allocations: 249.4 MB / 256.7 MB, free: 7.004 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 180.6 kB / 316 MB, free: 3.551 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.308/1.308, allocations: 205.1 MB / 0.5667 GB, free: 15.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 86.33 kB / 0.671 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.096e-06/8.136e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1983, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5857/0.784, allocations: 181.5 MB / 1.062 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/0.7844, allocations: 95.11 kB / 1.062 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.2478/1.032, allocations: 104.8 MB / 1.164 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001604/1.032, allocations: 59.98 kB / 1.164 GB, free: 7.863 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 809 * Number of variables: 809 Notification: Performance of Generate backend data structure: time 0.008394/1.041, allocations: 2.467 MB / 1.167 GB, free: 5.34 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/1.041, allocations: 8.031 kB / 1.167 GB, free: 5.332 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01201/1.053, allocations: 1.526 MB / 1.168 GB, free: 3.801 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004978/1.058, allocations: 1.721 MB / 1.17 GB, free: 2.035 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000165/1.058, allocations: 100 kB / 1.17 GB, free: 1.938 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001527/1.06, allocations: 168 kB / 1.17 GB, free: 1.773 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009567/1.069, allocations: 4.202 MB / 1.174 GB, free: 13.56 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01136/1.081, allocations: 4.628 MB / 1.179 GB, free: 8.848 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.445e-05/1.081, allocations: 0 / 1.179 GB, free: 8.848 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003616/1.081, allocations: 0 / 1.179 GB, free: 8.848 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000304/1.081, allocations: 201 kB / 1.179 GB, free: 8.648 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02753/1.109, allocations: 22.53 MB / 1.201 GB, free: 60 kB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/1.111, allocations: 1.2 MB / 1.202 GB, free: 14.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001595/1.112, allocations: 1.221 MB / 1.203 GB, free: 13.56 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002091/1.112, allocations: 118 kB / 1.203 GB, free: 13.43 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/1.113, allocations: 63.44 kB / 1.204 GB, free: 13.36 MB / 0.823 GB Notification: Performance of pre-optimization done (n=123): time 3.476e-06/1.113, allocations: 4 kB / 1.204 GB, free: 13.35 MB / 0.823 GB Notification: Performance of matching and sorting (n=153): time 0.01493/1.127, allocations: 7.417 MB / 1.211 GB, free: 5.891 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.92e-05/1.128, allocations: 227 kB / 1.211 GB, free: 5.621 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/1.129, allocations: 0.937 MB / 1.212 GB, free: 4.676 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002257/1.129, allocations: 25.7 kB / 1.212 GB, free: 4.645 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006101/1.13, allocations: 1.199 MB / 1.213 GB, free: 3.426 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004781/1.13, allocations: 0.5083 MB / 1.214 GB, free: 2.91 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/1.13, allocations: 0 / 1.214 GB, free: 2.91 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001844/1.131, allocations: 431.1 kB / 1.214 GB, free: 2.48 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001941/1.133, allocations: 1.347 MB / 1.215 GB, free: 1.129 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002426/1.135, allocations: 2.021 MB / 1.217 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003686/1.139, allocations: 1.985 MB / 1.219 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/1.139, allocations: 4 kB / 1.219 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.008363/1.147, allocations: 4.378 MB / 1.223 GB, free: 8.414 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.002938/1.15, allocations: 8.43 MB / 1.232 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.934e-05/1.15, allocations: 27.98 kB / 1.232 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002442/1.153, allocations: 0.7739 MB / 1.233 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003908/1.156, allocations: 0.6591 MB / 1.233 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01312/1.17, allocations: 11.71 MB / 1.245 GB, free: 1.434 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003578/1.173, allocations: 303.3 kB / 1.245 GB, free: 1.137 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004141/1.174, allocations: 119.9 kB / 1.245 GB, free: 1.02 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/1.174, allocations: 4 kB / 1.245 GB, free: 1.016 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00796/1.182, allocations: 4.097 MB / 1.249 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.023e-05/1.182, allocations: 24.28 kB / 1.249 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001709/1.183, allocations: 0.6691 MB / 1.25 GB, free: 12.19 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003735/1.187, allocations: 0.6591 MB / 1.25 GB, free: 11.53 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3073/1.495, allocations: 11.31 MB / 1.261 GB, free: 352.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005334/1.5, allocations: 293.3 kB / 1.262 GB, free: 352.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000479/1.5, allocations: 110.6 kB / 1.262 GB, free: 352.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (240): * Single equations (assignments): 234 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008037/1.501, allocations: 174.1 kB / 1.262 GB, free: 352.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006149/1.502, allocations: 123.3 kB / 1.262 GB, free: 352.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/1.513, allocations: 3.868 MB / 1.266 GB, free: 352.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.902e-05/1.513, allocations: 16.44 kB / 1.266 GB, free: 352.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/1.513, allocations: 9.875 kB / 1.266 GB, free: 352.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.606e-05/1.513, allocations: 5.297 kB / 1.266 GB, free: 352.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/1.523, allocations: 6.795 MB / 1.272 GB, free: 351.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/1.523, allocations: 10.84 kB / 1.272 GB, free: 351.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002488/1.526, allocations: 421.8 kB / 1.273 GB, free: 351.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001681/1.527, allocations: 0.6275 MB / 1.273 GB, free: 351.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001464/1.528, allocations: 32.19 kB / 1.274 GB, free: 351.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008818/1.536, allocations: 11.13 MB / 1.284 GB, free: 344.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/1.536, allocations: 10.44 kB / 1.284 GB, free: 344.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005378/1.542, allocations: 3.708 MB / 1.288 GB, free: 343.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008618/1.543, allocations: 0.4921 MB / 1.289 GB, free: 343.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002713/1.543, allocations: 9.844 kB / 1.289 GB, free: 343.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002363/1.545, allocations: 262.7 kB / 1.289 GB, free: 343.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/1.545, allocations: 89.88 kB / 1.289 GB, free: 343.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/1.546, allocations: 67.03 kB / 1.289 GB, free: 343.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0008791/1.546, allocations: 0.7228 MB / 1.29 GB, free: 343.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003565/1.55, allocations: 1.042 MB / 1.291 GB, free: 343.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 99 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002953/1.55, allocations: 139.3 kB / 1.291 GB, free: 343.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.008719/1.559, allocations: 6.312 MB / 1.297 GB, free: 341.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.594e-05/1.559, allocations: 3.531 kB / 1.297 GB, free: 341.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003433/1.563, allocations: 2.098 MB / 1.299 GB, free: 341.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/1.564, allocations: 124.1 kB / 1.299 GB, free: 341.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01683/1.581, allocations: 5.631 MB / 1.305 GB, free: 340.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003061/1.584, allocations: 2.487 MB / 1.307 GB, free: 339.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.432e-06/1.584, allocations: 0 / 1.307 GB, free: 339.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.07598/1.66, allocations: 48.33 MB / 1.354 GB, free: 331.6 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpDY.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches