Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.361/2.361, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001092/0.001092, allocations: 195.2 kB / 498.1 MB, free: 5.727 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.61/1.61, allocations: 223.2 MB / 0.7949 GB, free: 17.85 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.0008779/0.0008779, allocations: 99.81 kB / 0.9346 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004333/0.0004335, allocations: 10.41 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3497, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2208/0.5706, allocations: 165.3 MB / 1.384 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/0.571, allocations: 99.86 kB / 1.384 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.07459/0.6456, allocations: 30.46 MB / 1.414 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of FrontEnd: time 5.82e-06/0.6456, allocations: 0 / 1.414 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.815e-05/0.6457, allocations: 23.92 kB / 1.414 GB, free: 13.84 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001358/0.6471, allocations: 0.7246 MB / 1.415 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.6471, allocations: 8.031 kB / 1.415 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/0.6486, allocations: 179.2 kB / 1.415 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006811/0.6493, allocations: 402.4 kB / 1.415 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.479e-05/0.6493, allocations: 28.98 kB / 1.415 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.382e-05/0.6494, allocations: 31.98 kB / 1.415 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.6504, allocations: 0.6963 MB / 1.416 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.6505, allocations: 4 kB / 1.416 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.484e-05/0.6505, allocations: 19.98 kB / 1.416 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.018e-05/0.6506, allocations: 51.86 kB / 1.416 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008283/0.6515, allocations: 495.3 kB / 1.417 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004042/0.6555, allocations: 3.802 MB / 1.42 GB, free: 6.957 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/0.6575, allocations: 0.6834 MB / 1.421 GB, free: 6.246 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.6575, allocations: 4 kB / 1.421 GB, free: 6.242 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.6576, allocations: 42.83 kB / 1.421 GB, free: 6.191 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=30): time 3.196e-06/0.6576, allocations: 0 / 1.421 GB, free: 6.191 MB / 0.9167 GB Notification: Performance of matching and sorting (n=33): time 0.002391/0.66, allocations: 1.272 MB / 1.422 GB, free: 4.844 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.135e-05/0.6601, allocations: 114.8 kB / 1.422 GB, free: 4.707 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003972/0.6605, allocations: 345 kB / 1.423 GB, free: 4.363 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.6605, allocations: 33.7 kB / 1.423 GB, free: 4.324 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.6607, allocations: 267.7 kB / 1.423 GB, free: 4.055 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.6608, allocations: 122.3 kB / 1.423 GB, free: 3.934 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.278e-05/0.6609, allocations: 9.688 kB / 1.423 GB, free: 3.926 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.661, allocations: 362.7 kB / 1.424 GB, free: 3.562 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.6613, allocations: 169 kB / 1.424 GB, free: 3.398 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003893/0.6617, allocations: 349.4 kB / 1.424 GB, free: 2.969 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/0.662, allocations: 232.1 kB / 1.424 GB, free: 2.742 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.662, allocations: 0 / 1.424 GB, free: 2.742 MB / 0.9167 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009909/0.663, allocations: 0.6518 MB / 1.425 GB, free: 2.074 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.663, allocations: 11.94 kB / 1.425 GB, free: 2.062 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.6631, allocations: 4 kB / 1.425 GB, free: 2.059 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003571/0.6634, allocations: 94.5 kB / 1.425 GB, free: 1.957 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003853/0.6638, allocations: 103.8 kB / 1.425 GB, free: 1.855 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6737/1.337, allocations: 4.052 MB / 1.429 GB, free: 182.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005384/1.338, allocations: 32.94 kB / 1.429 GB, free: 182.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/1.338, allocations: 25.94 kB / 1.429 GB, free: 182.3 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002862/1.338, allocations: 187.1 kB / 1.429 GB, free: 182.2 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/1.339, allocations: 46.97 kB / 1.429 GB, free: 182.2 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008973/1.339, allocations: 0.5224 MB / 1.43 GB, free: 182.1 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/1.339, allocations: 3.594 kB / 1.43 GB, free: 182.1 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.339, allocations: 4.125 kB / 1.43 GB, free: 182.1 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/1.339, allocations: 1.828 kB / 1.43 GB, free: 182.1 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/1.341, allocations: 1.286 MB / 1.431 GB, free: 181.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/1.341, allocations: 2.719 kB / 1.431 GB, free: 181.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/1.342, allocations: 59.12 kB / 1.431 GB, free: 181.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002991/1.342, allocations: 94.83 kB / 1.431 GB, free: 181.6 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/1.342, allocations: 7.312 kB / 1.431 GB, free: 181.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002731/1.345, allocations: 4.062 MB / 1.435 GB, free: 177.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/1.345, allocations: 5.75 kB / 1.435 GB, free: 177.8 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/1.346, allocations: 0.9012 MB / 1.436 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002237/1.346, allocations: 159.3 kB / 1.436 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.326e-05/1.346, allocations: 13.08 kB / 1.436 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/1.346, allocations: 21.3 kB / 1.436 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.562e-05/1.347, allocations: 29.09 kB / 1.436 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/1.347, allocations: 14.36 kB / 1.436 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003742/1.347, allocations: 280.2 kB / 1.437 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.21e-07/1.347, allocations: 0 / 1.437 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0007776/1.348, allocations: 124.9 kB / 1.437 GB, free: 177.1 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001864/1.348, allocations: 128.8 kB / 1.437 GB, free: 177 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00129/1.349, allocations: 0.7952 MB / 1.438 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.349, allocations: 3.406 kB / 1.438 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007288/1.35, allocations: 0.5451 MB / 1.438 GB, free: 176.3 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007571/1.351, allocations: 118.5 kB / 1.438 GB, free: 176.3 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/1.353, allocations: 1.052 MB / 1.439 GB, free: 175.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005256/1.353, allocations: 0.8708 MB / 1.44 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003415/1.354, allocations: 104.9 kB / 1.44 GB, free: 175 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/1.354, allocations: 37.34 kB / 1.44 GB, free: 175 MB / 0.9167 GB Notification: Performance of SimCode: time 9.72e-07/1.354, allocations: 1.156 kB / 1.44 GB, free: 175 MB / 0.9167 GB Notification: Performance of Templates: time 0.01387/1.368, allocations: 5.305 MB / 1.445 GB, free: 174.8 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches