Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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.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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.366/2.366, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001317/0.001317, allocations: 173.8 kB / 0.4902 GB, free: 2.324 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.623/1.623, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001073/0.001074, allocations: 87.27 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005098/0.0005096, allocations: 6.969 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3206, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2171/0.5377, allocations: 170.7 MB / 1.396 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000368/0.5382, allocations: 99.92 kB / 1.396 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.03436/0.5725, allocations: 13.6 MB / 1.409 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.076e-06/0.5726, allocations: 0 / 1.409 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.874e-05/0.5726, allocations: 4 kB / 1.409 GB, free: 0.9766 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.0007185/0.5733, allocations: 467.2 kB / 1.41 GB, free: 484 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.5734, allocations: 8.562 kB / 1.41 GB, free: 476 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006001/0.574, allocations: 67.73 kB / 1.41 GB, free: 408 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003193/0.5743, allocations: 230.6 kB / 1.41 GB, free: 136 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.5744, allocations: 8 kB / 1.41 GB, free: 128 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.5744, allocations: 15.98 kB / 1.41 GB, free: 112 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004682/0.5749, allocations: 278.5 kB / 1.41 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.5749, allocations: 0 / 1.41 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.758e-05/0.575, allocations: 8 kB / 1.41 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.731e-05/0.575, allocations: 12.22 kB / 1.41 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003261/0.5753, allocations: 208.5 kB / 1.411 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.5773, allocations: 1.584 MB / 1.412 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.5774, allocations: 85.11 kB / 1.412 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.5774, allocations: 0 / 1.412 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.5775, allocations: 34.52 kB / 1.412 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.5775, allocations: 0 / 1.412 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0005359/0.578, allocations: 220.8 kB / 1.412 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.5781, allocations: 81.3 kB / 1.413 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.5783, allocations: 201.2 kB / 1.413 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.5783, allocations: 25.7 kB / 1.413 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.5784, allocations: 167.5 kB / 1.413 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.5785, allocations: 31.56 kB / 1.413 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.247e-05/0.5785, allocations: 4 kB / 1.413 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.5786, allocations: 322.8 kB / 1.413 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.5788, allocations: 79.94 kB / 1.413 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.579, allocations: 156.9 kB / 1.413 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.5791, allocations: 107.9 kB / 1.414 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.5792, allocations: 0 / 1.414 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004098/0.5796, allocations: 281.1 kB / 1.414 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005283/0.5801, allocations: 1.138 MB / 1.415 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.5801, allocations: 12 kB / 1.415 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.5802, allocations: 4 kB / 1.415 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.5804, allocations: 51.91 kB / 1.415 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.5804, allocations: 7.984 kB / 1.415 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.5807, allocations: 23.97 kB / 1.415 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.5807, allocations: 8.047 kB / 1.415 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 7.674e-06/0.5807, allocations: 4 kB / 1.415 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003195/0.581, allocations: 223.5 kB / 1.415 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.581, allocations: 4 kB / 1.415 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.04e-06/0.581, allocations: 4 kB / 1.415 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.5812, allocations: 47.91 kB / 1.415 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.5812, allocations: 7.953 kB / 1.415 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.5814, allocations: 19.92 kB / 1.415 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.5814, allocations: 15.98 kB / 1.415 GB, free: 10.32 MB / 0.9167 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.0001818/0.5816, allocations: 221.4 kB / 1.416 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.313e-05/0.5816, allocations: 15.81 kB / 1.416 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002023/0.5819, allocations: 114.6 kB / 1.416 GB, free: 9.961 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.5819, allocations: 4 kB / 1.416 GB, free: 9.957 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.5819, allocations: 3.953 kB / 1.416 GB, free: 9.953 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.5819, allocations: 0 / 1.416 GB, free: 9.953 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007323/0.5826, allocations: 0.6196 MB / 1.416 GB, free: 9.258 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.5826, allocations: 7.953 kB / 1.416 GB, free: 9.25 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.338e-05/0.5827, allocations: 15.98 kB / 1.416 GB, free: 9.234 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.5827, allocations: 4 kB / 1.416 GB, free: 9.23 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.5827, allocations: 0 / 1.416 GB, free: 9.23 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.5828, allocations: 7.938 kB / 1.416 GB, free: 9.223 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.5828, allocations: 8.25 kB / 1.416 GB, free: 9.215 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/0.5831, allocations: 411.8 kB / 1.417 GB, free: 8.734 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.5832, allocations: 108.8 kB / 1.417 GB, free: 8.609 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.5833, allocations: 4 kB / 1.417 GB, free: 8.605 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.5834, allocations: 20.05 kB / 1.417 GB, free: 8.586 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.332e-05/0.5835, allocations: 8 kB / 1.417 GB, free: 8.578 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.5835, allocations: 4 kB / 1.417 GB, free: 8.574 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001561/0.5836, allocations: 167 kB / 1.417 GB, free: 8.41 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.8e-07/0.5836, allocations: 0 / 1.417 GB, free: 8.41 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005052/0.5842, allocations: 91.94 kB / 1.417 GB, free: 8.32 MB / 0.9167 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.000187/0.5843, allocations: 123.9 kB / 1.417 GB, free: 8.188 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004432/0.5848, allocations: 267.5 kB / 1.417 GB, free: 7.926 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5848, allocations: 1.5 kB / 1.417 GB, free: 7.926 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.703e-05/0.5849, allocations: 48.22 kB / 1.418 GB, free: 7.879 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.5852, allocations: 37.5 kB / 1.418 GB, free: 7.844 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007359/0.586, allocations: 464.6 kB / 1.418 GB, free: 7.348 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.5864, allocations: 0.744 MB / 1.419 GB, free: 6.574 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002189/0.5866, allocations: 73.53 kB / 1.419 GB, free: 6.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.39e-05/0.5867, allocations: 15.44 kB / 1.419 GB, free: 6.484 MB / 0.9167 GB Notification: Performance of SimCode: time 3.6e-07/0.5867, allocations: 0 / 1.419 GB, free: 6.484 MB / 0.9167 GB Notification: Performance of Templates: time 0.004583/0.5912, allocations: 1.527 MB / 1.42 GB, free: 4.992 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches