Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen_N.V.1.|sen_N.V.2.|sen_N.V.3.|sen.theta.1.|sen.theta.2.|sen.theta.3.|sen_N.theta.1.|sen_N.theta.2.|sen_N.theta.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen_N.V.1.|sen_N.V.2.|sen_N.V.3.|sen.theta.1.|sen.theta.2.|sen.theta.3.|sen_N.theta.1.|sen_N.theta.2.|sen_N.theta.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.264/2.264, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001063/0.001063, allocations: 184.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.716/1.716, allocations: 221.3 MB / 0.7915 GB, free: 5.367 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.0009016/0.0009017, allocations: 111.8 kB / 0.9318 GB, free: 5.676 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.185e-05/3.2e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3307, allocations: 143 MB / 1.219 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.115/1.446, allocations: 187.1 MB / 1.401 GB, free: 0.6172 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003303/1.446, allocations: 95.19 kB / 1.402 GB, free: 0.5664 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.2413/1.687, allocations: 102.6 MB / 1.502 GB, free: 15.98 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.264e-06/1.687, allocations: 0 / 1.502 GB, free: 15.98 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001259/1.688, allocations: 56 kB / 1.502 GB, free: 15.93 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.006762/1.694, allocations: 2.168 MB / 1.504 GB, free: 13.71 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/1.694, allocations: 11.97 kB / 1.504 GB, free: 13.7 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005095/1.699, allocations: 0.7501 MB / 1.505 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004551/1.704, allocations: 1.453 MB / 1.506 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002236/1.704, allocations: 193.1 kB / 1.506 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001413/1.706, allocations: 251.9 kB / 1.506 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01366/1.719, allocations: 4.14 MB / 1.51 GB, free: 6.664 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001754/1.72, allocations: 15.88 kB / 1.51 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001222/1.721, allocations: 104 kB / 1.511 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003028/1.721, allocations: 160.3 kB / 1.511 GB, free: 6.387 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008483/1.73, allocations: 3.403 MB / 1.514 GB, free: 2.977 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03206/1.762, allocations: 21.52 MB / 1.535 GB, free: 11.55 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008327/1.763, allocations: 0.5373 MB / 1.536 GB, free: 10.95 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007597/1.764, allocations: 0.4914 MB / 1.536 GB, free: 10.43 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.618e-05/1.764, allocations: 11.92 kB / 1.536 GB, free: 10.42 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.88e-05/1.764, allocations: 42.56 kB / 1.536 GB, free: 10.37 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=50): time 6.702e-06/1.764, allocations: 3.984 kB / 1.536 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of matching and sorting (n=56): time 0.009041/1.773, allocations: 3.622 MB / 1.54 GB, free: 6.688 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000162/1.773, allocations: 243.8 kB / 1.54 GB, free: 6.395 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002389/1.775, allocations: 1.195 MB / 1.541 GB, free: 5.176 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001394/1.776, allocations: 33.7 kB / 1.541 GB, free: 5.137 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009989/1.777, allocations: 1.226 MB / 1.542 GB, free: 3.891 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004178/1.777, allocations: 213.2 kB / 1.543 GB, free: 3.68 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001886/1.777, allocations: 32 kB / 1.543 GB, free: 3.648 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0003477/1.778, allocations: 410.7 kB / 1.543 GB, free: 3.238 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/1.779, allocations: 0.7652 MB / 1.544 GB, free: 2.473 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002276/1.781, allocations: 1.462 MB / 1.545 GB, free: 0.6758 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/1.783, allocations: 1.053 MB / 1.546 GB, free: 15.62 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.62e-05/1.783, allocations: 8 kB / 1.546 GB, free: 15.62 MB / 1.01 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003847/1.787, allocations: 2.316 MB / 1.548 GB, free: 13.29 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.004288/1.791, allocations: 9.391 MB / 1.558 GB, free: 3.164 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.265e-05/1.791, allocations: 23.95 kB / 1.558 GB, free: 3.141 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.747e-05/1.791, allocations: 40 kB / 1.558 GB, free: 3.102 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/1.793, allocations: 447.2 kB / 1.558 GB, free: 2.664 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.466e-05/1.793, allocations: 47.86 kB / 1.558 GB, free: 2.617 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/1.795, allocations: 283.2 kB / 1.558 GB, free: 2.34 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/1.795, allocations: 83.98 kB / 1.558 GB, free: 2.258 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/1.795, allocations: 4 kB / 1.558 GB, free: 2.254 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002959/1.798, allocations: 1.984 MB / 1.56 GB, free: 276 kB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.491e-05/1.798, allocations: 24 kB / 1.56 GB, free: 252 kB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.401e-05/1.798, allocations: 36 kB / 1.56 GB, free: 216 kB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/1.8, allocations: 407.3 kB / 1.561 GB, free: 15.81 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.576e-05/1.8, allocations: 47.8 kB / 1.561 GB, free: 15.77 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/1.801, allocations: 179.5 kB / 1.561 GB, free: 15.59 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/1.801, allocations: 83.98 kB / 1.561 GB, free: 15.51 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 192 * 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.0003423/1.801, allocations: 212.3 kB / 1.561 GB, free: 15.29 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003176/1.802, allocations: 98.78 kB / 1.561 GB, free: 15.2 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/1.803, allocations: 0.866 MB / 1.562 GB, free: 14.32 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/1.803, allocations: 8 kB / 1.562 GB, free: 14.31 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/1.803, allocations: 4 kB / 1.562 GB, free: 14.31 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/1.803, allocations: 3.984 kB / 1.562 GB, free: 14.3 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01198/1.815, allocations: 8.13 MB / 1.57 GB, free: 5.973 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.808e-05/1.815, allocations: 12 kB / 1.57 GB, free: 5.961 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005883/1.816, allocations: 147.7 kB / 1.57 GB, free: 5.816 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.539e-05/1.816, allocations: 16 kB / 1.57 GB, free: 5.801 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.138e-05/1.816, allocations: 24.72 kB / 1.57 GB, free: 5.777 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.879e-05/1.816, allocations: 31.86 kB / 1.57 GB, free: 5.746 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.617e-05/1.816, allocations: 15.94 kB / 1.57 GB, free: 5.73 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002941/1.819, allocations: 2.427 MB / 1.573 GB, free: 2.863 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008149/1.82, allocations: 343.6 kB / 1.573 GB, free: 2.508 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/1.82, allocations: 31.94 kB / 1.573 GB, free: 2.477 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/1.821, allocations: 116.2 kB / 1.573 GB, free: 2.363 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/1.821, allocations: 67.73 kB / 1.573 GB, free: 2.297 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.753e-05/1.821, allocations: 28 kB / 1.573 GB, free: 2.27 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.00151/1.823, allocations: 0.9127 MB / 1.574 GB, free: 1.344 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.3e-07/1.823, allocations: 0 / 1.574 GB, free: 1.344 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.003753/1.827, allocations: 0.8203 MB / 1.575 GB, free: 0.5234 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * 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.0003766/1.827, allocations: 150.9 kB / 1.575 GB, free: 372 kB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.003966/1.831, allocations: 2.537 MB / 1.578 GB, free: 13.83 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/1.831, allocations: 8.25 kB / 1.578 GB, free: 13.82 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.000587/1.832, allocations: 442.2 kB / 1.578 GB, free: 13.39 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/1.833, allocations: 215.3 kB / 1.578 GB, free: 13.18 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007069/1.84, allocations: 3.442 MB / 1.582 GB, free: 9.547 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002154/1.842, allocations: 2.031 MB / 1.584 GB, free: 7.484 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.002469/1.845, allocations: 0.8677 MB / 1.585 GB, free: 6.613 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002587/1.845, allocations: 79.41 kB / 1.585 GB, free: 6.535 MB / 1.042 GB Notification: Performance of SimCode: time 1.763e-06/1.845, allocations: 0 / 1.585 GB, free: 6.535 MB / 1.042 GB Notification: Performance of Templates: time 0.02929/1.874, allocations: 13.78 MB / 1.598 GB, free: 8.859 MB / 1.057 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches