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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.2 MB / 239.9 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.65/2.65, allocations: 436.5 MB / 0.7104 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003554, allocations: 8 kB / 0.8708 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9051/0.9055, allocations: 153.7 MB / 1.021 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01656/0.9221, allocations: 14.87 MB / 1.035 GB, free: 2.195 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.009715/0.9319, allocations: 5.902 MB / 1.041 GB, free: 12.28 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001492/0.9334, allocations: 39.88 kB / 1.041 GB, free: 12.24 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0009188/0.9344, allocations: 333.9 kB / 1.041 GB, free: 11.91 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002086/0.9364, allocations: 0.6191 MB / 1.042 GB, free: 11.29 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002781/0.9392, allocations: 0.8958 MB / 1.043 GB, free: 10.39 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.002969/0.9422, allocations: 1.719 MB / 1.045 GB, free: 8.672 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007708/0.9499, allocations: 5.239 MB / 1.05 GB, free: 3.375 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001657/0.9516, allocations: 0.9346 MB / 1.051 GB, free: 2.438 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.9531, allocations: 1.106 MB / 1.052 GB, free: 1.328 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002635/0.9533, allocations: 160 kB / 1.052 GB, free: 1.172 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009926/0.9543, allocations: 387.6 kB / 1.052 GB, free: 0.793 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001074/0.9554, allocations: 1.123 MB / 1.053 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000544/0.956, allocations: 0.5083 MB / 1.054 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.004083/0.9601, allocations: 4.611 MB / 1.058 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.9601, allocations: 0 / 1.058 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.627e-06/0.9601, allocations: 0 / 1.058 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.000122/0.9602, allocations: 11.88 kB / 1.058 GB, free: 10.52 MB / 0.8106 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.00464/0.9649, allocations: 2.219 MB / 1.061 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.9649, allocations: 8.031 kB / 1.061 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003887/0.9688, allocations: 0.832 MB / 1.061 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003062/0.9719, allocations: 1.387 MB / 1.063 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.9721, allocations: 189.2 kB / 1.063 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004396/0.9725, allocations: 255.9 kB / 1.063 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007684/0.9802, allocations: 4.541 MB / 1.068 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.63e-05/0.9803, allocations: 7.938 kB / 1.068 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002877/0.9806, allocations: 115.9 kB / 1.068 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002297/0.9808, allocations: 176.2 kB / 1.068 GB, free: 500 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006304/0.9871, allocations: 3.814 MB / 1.072 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02542/1.013, allocations: 21.43 MB / 1.092 GB, free: 5.344 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002841/1.015, allocations: 2.247 MB / 1.095 GB, free: 2.809 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.116e-05/1.016, allocations: 15.98 kB / 1.095 GB, free: 2.793 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.571e-05/1.016, allocations: 50.48 kB / 1.095 GB, free: 2.734 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=62): time 3.406e-06/1.016, allocations: 0 / 1.095 GB, free: 2.734 MB / 0.8419 GB Notification: Performance of matching and sorting (n=68): time 0.00865/1.024, allocations: 4.216 MB / 1.099 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/1.024, allocations: 243.3 kB / 1.099 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/1.026, allocations: 1.1 MB / 1.1 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.833e-05/1.026, allocations: 37.7 kB / 1.1 GB, free: 13 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007421/1.027, allocations: 1.191 MB / 1.101 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/1.027, allocations: 256.6 kB / 1.102 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.282e-05/1.027, allocations: 32 kB / 1.102 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001844/1.027, allocations: 414.9 kB / 1.102 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009423/1.028, allocations: 0.7026 MB / 1.103 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/1.03, allocations: 1.387 MB / 1.104 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/1.031, allocations: 0.9905 MB / 1.105 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/1.031, allocations: 15.94 kB / 1.105 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.002955/1.034, allocations: 2.187 MB / 1.107 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.003502/1.037, allocations: 9.398 MB / 1.116 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.005e-05/1.037, allocations: 27.95 kB / 1.116 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.972e-05/1.037, allocations: 36 kB / 1.116 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/1.039, allocations: 427.2 kB / 1.117 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.694e-05/1.039, allocations: 51.78 kB / 1.117 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/1.04, allocations: 195.4 kB / 1.117 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/1.041, allocations: 83.98 kB / 1.117 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/1.041, allocations: 4 kB / 1.117 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002847/1.043, allocations: 1.859 MB / 1.119 GB, free: 8.668 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.978e-05/1.044, allocations: 24 kB / 1.119 GB, free: 8.645 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.103e-05/1.044, allocations: 36 kB / 1.119 GB, free: 8.609 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/1.045, allocations: 392.1 kB / 1.119 GB, free: 8.227 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.998e-05/1.045, allocations: 51.8 kB / 1.119 GB, free: 8.176 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/1.046, allocations: 139.4 kB / 1.12 GB, free: 8.039 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/1.046, allocations: 79.98 kB / 1.12 GB, free: 7.961 MB / 0.8731 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 () * Number of clocked 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.002013/1.048, allocations: 1.129 MB / 1.121 GB, free: 6.82 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003994/1.048, allocations: 102.8 kB / 1.121 GB, free: 6.719 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001614/1.05, allocations: 1.12 MB / 1.122 GB, free: 5.594 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/1.05, allocations: 8 kB / 1.122 GB, free: 5.586 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/1.05, allocations: 7.984 kB / 1.122 GB, free: 5.578 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/1.05, allocations: 7.984 kB / 1.122 GB, free: 5.57 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01419/1.064, allocations: 10.27 MB / 1.132 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.762e-05/1.064, allocations: 12 kB / 1.132 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006814/1.065, allocations: 187.7 kB / 1.132 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.549e-05/1.065, allocations: 24 kB / 1.132 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.054e-05/1.065, allocations: 32.72 kB / 1.132 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.391e-05/1.065, allocations: 31.86 kB / 1.132 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.849e-05/1.065, allocations: 27.88 kB / 1.132 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002679/1.068, allocations: 3 MB / 1.135 GB, free: 7.113 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008098/1.069, allocations: 343.5 kB / 1.136 GB, free: 6.758 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000304/1.069, allocations: 31.98 kB / 1.136 GB, free: 6.727 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/1.07, allocations: 95.88 kB / 1.136 GB, free: 6.633 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/1.07, allocations: 107.5 kB / 1.136 GB, free: 6.527 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.822e-05/1.07, allocations: 40 kB / 1.136 GB, free: 6.488 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001192/1.072, allocations: 0.7542 MB / 1.137 GB, free: 5.723 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/1.072, allocations: 0 / 1.137 GB, free: 5.723 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.003666/1.075, allocations: 0.7266 MB / 1.137 GB, free: 4.996 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 (74): * Single equations (assignments): 74 * 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.0003499/1.076, allocations: 162.8 kB / 1.137 GB, free: 4.824 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004065/1.08, allocations: 2.492 MB / 1.14 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/1.08, allocations: 4 kB / 1.14 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0007629/1.081, allocations: 0.5762 MB / 1.14 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001567/1.082, allocations: 233 kB / 1.141 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009165/1.091, allocations: 5.301 MB / 1.146 GB, free: 12 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002779/1.094, allocations: 2.05 MB / 1.148 GB, free: 9.914 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002472/1.097, allocations: 0.8405 MB / 1.149 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004084/1.097, allocations: 87.41 kB / 1.149 GB, free: 8.984 MB / 0.9044 GB Notification: Performance of SimCode: time 9.72e-07/1.097, allocations: 0 / 1.149 GB, free: 8.984 MB / 0.9044 GB Notification: Performance of Templates: time 0.02619/1.123, allocations: 13.47 MB / 1.162 GB, free: 11.63 MB / 0.92 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