Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.292/2.292, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001714/0.001714, allocations: 169.2 kB / 498.1 MB, free: 5.738 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.55/1.55, allocations: 223.2 MB / 0.7948 GB, free: 17.9 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.0008425/0.0008425, allocations: 103.5 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.000368, allocations: 9.656 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3086, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2181/0.5268, allocations: 169.9 MB / 1.389 GB, free: 8.113 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003875/0.5272, allocations: 99.88 kB / 1.389 GB, free: 8.016 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03265/0.5599, allocations: 13.6 MB / 1.402 GB, free: 10.27 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.585e-06/0.56, allocations: 0 / 1.402 GB, free: 10.27 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.978e-05/0.56, allocations: 12 kB / 1.402 GB, free: 10.26 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006827/0.5607, allocations: 467.1 kB / 1.403 GB, free: 9.758 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.5607, allocations: 8.031 kB / 1.403 GB, free: 9.75 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005863/0.5613, allocations: 67.73 kB / 1.403 GB, free: 9.684 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.5616, allocations: 226.8 kB / 1.403 GB, free: 9.422 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.5617, allocations: 8 kB / 1.403 GB, free: 9.414 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.359e-05/0.5617, allocations: 16 kB / 1.403 GB, free: 9.398 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004508/0.5622, allocations: 279.8 kB / 1.403 GB, free: 9.086 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.5622, allocations: 3.938 kB / 1.403 GB, free: 9.082 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.5622, allocations: 7.938 kB / 1.403 GB, free: 9.074 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.75e-05/0.5623, allocations: 20.22 kB / 1.403 GB, free: 9.055 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000374/0.5627, allocations: 212.4 kB / 1.403 GB, free: 8.848 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.5644, allocations: 1.591 MB / 1.405 GB, free: 7.121 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.5646, allocations: 69.17 kB / 1.405 GB, free: 7.035 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.5646, allocations: 0 / 1.405 GB, free: 7.035 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.5646, allocations: 46.58 kB / 1.405 GB, free: 6.98 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.5646, allocations: 0 / 1.405 GB, free: 6.98 MB / 0.9011 GB Notification: Performance of matching and sorting (n=8): time 0.0005295/0.5652, allocations: 212.6 kB / 1.405 GB, free: 6.766 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/0.5652, allocations: 85.09 kB / 1.405 GB, free: 6.664 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.5655, allocations: 202.1 kB / 1.406 GB, free: 6.461 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.5655, allocations: 29.7 kB / 1.406 GB, free: 6.426 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 9.442e-05/0.5656, allocations: 159.5 kB / 1.406 GB, free: 6.266 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.5656, allocations: 23.66 kB / 1.406 GB, free: 6.242 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.204e-05/0.5656, allocations: 8 kB / 1.406 GB, free: 6.234 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.5658, allocations: 330.8 kB / 1.406 GB, free: 5.902 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.5659, allocations: 76.14 kB / 1.406 GB, free: 5.828 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.5661, allocations: 163 kB / 1.406 GB, free: 5.629 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.5663, allocations: 99.91 kB / 1.406 GB, free: 5.531 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.5663, allocations: 0 / 1.406 GB, free: 5.531 MB / 0.9011 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004215/0.5667, allocations: 277.1 kB / 1.407 GB, free: 5.254 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004655/0.5672, allocations: 1.142 MB / 1.408 GB, free: 4.023 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.5672, allocations: 0 / 1.408 GB, free: 4.023 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.5672, allocations: 8 kB / 1.408 GB, free: 4.016 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.5674, allocations: 51.89 kB / 1.408 GB, free: 3.965 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.5675, allocations: 4 kB / 1.408 GB, free: 3.961 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.5677, allocations: 23.97 kB / 1.408 GB, free: 3.938 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.5677, allocations: 12 kB / 1.408 GB, free: 3.926 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 5.28e-06/0.5677, allocations: 0 / 1.408 GB, free: 3.926 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003047/0.568, allocations: 219.5 kB / 1.408 GB, free: 3.711 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.568, allocations: 4 kB / 1.408 GB, free: 3.707 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.44e-06/0.5681, allocations: 4 kB / 1.408 GB, free: 3.703 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.5682, allocations: 47.91 kB / 1.408 GB, free: 3.656 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.5682, allocations: 7.953 kB / 1.408 GB, free: 3.648 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.5684, allocations: 15.98 kB / 1.408 GB, free: 3.633 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.5684, allocations: 16.36 kB / 1.408 GB, free: 3.617 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * 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.0001545/0.5686, allocations: 221 kB / 1.408 GB, free: 3.391 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.323e-05/0.5686, allocations: 15.81 kB / 1.408 GB, free: 3.375 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002036/0.5688, allocations: 122.4 kB / 1.409 GB, free: 3.25 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.5689, allocations: 4 kB / 1.409 GB, free: 3.246 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.5689, allocations: 3.953 kB / 1.409 GB, free: 3.242 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5689, allocations: 0 / 1.409 GB, free: 3.242 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007177/0.5696, allocations: 0.6235 MB / 1.409 GB, free: 2.543 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.5696, allocations: 7.953 kB / 1.409 GB, free: 2.535 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.213e-05/0.5697, allocations: 19.92 kB / 1.409 GB, free: 2.516 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.5697, allocations: 4 kB / 1.409 GB, free: 2.512 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.5697, allocations: 4 kB / 1.409 GB, free: 2.508 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.5697, allocations: 256 / 1.409 GB, free: 2.508 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5698, allocations: 8.312 kB / 1.409 GB, free: 2.5 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.5701, allocations: 407.7 kB / 1.41 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.5702, allocations: 108.9 kB / 1.41 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.5702, allocations: 8 kB / 1.41 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.5704, allocations: 19.92 kB / 1.41 GB, free: 1.871 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/0.5704, allocations: 4 kB / 1.41 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.5705, allocations: 4 kB / 1.41 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001482/0.5706, allocations: 171 kB / 1.41 GB, free: 1.695 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1e-07/0.5706, allocations: 0 / 1.41 GB, free: 1.695 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005009/0.5711, allocations: 91.89 kB / 1.41 GB, free: 1.605 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001835/0.5713, allocations: 122.9 kB / 1.41 GB, free: 1.473 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004081/0.5717, allocations: 269.4 kB / 1.41 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.5717, allocations: 0 / 1.41 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 5.854e-05/0.5718, allocations: 48.41 kB / 1.41 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.5721, allocations: 29.89 kB / 1.41 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007245/0.5729, allocations: 466.5 kB / 1.411 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.5732, allocations: 0.744 MB / 1.412 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001992/0.5734, allocations: 73.5 kB / 1.412 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.702e-05/0.5735, allocations: 19.44 kB / 1.412 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of SimCode: time 3.41e-07/0.5735, allocations: 4 kB / 1.412 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of Templates: time 0.004173/0.5777, allocations: 1.531 MB / 1.413 GB, free: 14.25 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches