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.363/2.363, allocations: 393.5 MB / 408.4 MB, free: 11.11 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.001394/0.001393, allocations: 180 kB / 0.4902 GB, free: 2.305 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.51/1.51, allocations: 223.2 MB / 0.7992 GB, free: 14.71 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.0009342/0.0009341, allocations: 113.8 kB / 0.9396 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004127/0.0004126, allocations: 11.06 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2753, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.217/0.4923, allocations: 187.1 MB / 1.412 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/0.4927, allocations: 107.9 kB / 1.412 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.7789/1.272, allocations: 103 MB / 1.513 GB, free: 133 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.697e-06/1.272, allocations: 0 / 1.513 GB, free: 133 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001857/1.272, allocations: 52 kB / 1.513 GB, free: 133 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: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.008318/1.28, allocations: 2.266 MB / 1.515 GB, free: 130.7 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/1.28, allocations: 8.562 kB / 1.515 GB, free: 130.6 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004988/1.285, allocations: 0.754 MB / 1.516 GB, free: 129.9 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004068/1.289, allocations: 1.469 MB / 1.517 GB, free: 128.4 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/1.29, allocations: 189.2 kB / 1.517 GB, free: 128.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001225/1.291, allocations: 248 kB / 1.517 GB, free: 127.9 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01078/1.302, allocations: 4.194 MB / 1.522 GB, free: 123.5 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000153/1.302, allocations: 7.938 kB / 1.522 GB, free: 123.5 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001081/1.303, allocations: 108 kB / 1.522 GB, free: 123.4 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002133/1.303, allocations: 160.3 kB / 1.522 GB, free: 123.3 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007033/1.31, allocations: 3.459 MB / 1.525 GB, free: 119.8 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02739/1.338, allocations: 21.52 MB / 1.546 GB, free: 96.39 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006219/1.338, allocations: 0.5239 MB / 1.547 GB, free: 95.8 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.931e-05/1.338, allocations: 8.75 kB / 1.547 GB, free: 95.79 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/1.338, allocations: 54.44 kB / 1.547 GB, free: 95.73 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=50): time 3.316e-06/1.338, allocations: 4 kB / 1.547 GB, free: 95.72 MB / 0.9167 GB Notification: Performance of matching and sorting (n=56): time 0.005952/1.344, allocations: 3.994 MB / 1.551 GB, free: 91.68 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.387e-05/1.344, allocations: 244.4 kB / 1.551 GB, free: 91.38 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001915/1.346, allocations: 1.202 MB / 1.552 GB, free: 90.16 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.512e-05/1.347, allocations: 33.7 kB / 1.552 GB, free: 90.12 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006928/1.347, allocations: 1.237 MB / 1.553 GB, free: 88.86 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002307/1.347, allocations: 209.3 kB / 1.554 GB, free: 88.66 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.928e-05/1.348, allocations: 32 kB / 1.554 GB, free: 88.62 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001604/1.348, allocations: 414.7 kB / 1.554 GB, free: 88.21 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009891/1.349, allocations: 0.7768 MB / 1.555 GB, free: 87.43 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/1.35, allocations: 1.462 MB / 1.556 GB, free: 85.63 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/1.351, allocations: 1.062 MB / 1.557 GB, free: 84.57 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.658e-05/1.351, allocations: 11.95 kB / 1.557 GB, free: 84.56 MB / 0.9167 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.00304/1.354, allocations: 2.328 MB / 1.559 GB, free: 82.23 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001697/1.356, allocations: 9.404 MB / 1.569 GB, free: 72.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.628e-05/1.356, allocations: 24 kB / 1.569 GB, free: 72.06 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.465e-05/1.356, allocations: 36 kB / 1.569 GB, free: 72.03 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/1.358, allocations: 451.2 kB / 1.569 GB, free: 71.59 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.159e-05/1.358, allocations: 47.8 kB / 1.569 GB, free: 71.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/1.36, allocations: 279.3 kB / 1.569 GB, free: 71.27 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/1.36, allocations: 84.25 kB / 1.57 GB, free: 71.18 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/1.36, allocations: 4 kB / 1.57 GB, free: 71.18 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002413/1.362, allocations: 2.008 MB / 1.572 GB, free: 69.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.451e-05/1.362, allocations: 24 kB / 1.572 GB, free: 69.15 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.807e-05/1.362, allocations: 36 kB / 1.572 GB, free: 69.11 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/1.363, allocations: 407.3 kB / 1.572 GB, free: 68.71 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.091e-05/1.363, allocations: 47.86 kB / 1.572 GB, free: 68.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/1.365, allocations: 187.5 kB / 1.572 GB, free: 68.48 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/1.365, allocations: 83.98 kB / 1.572 GB, free: 68.4 MB / 0.9167 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.002392/1.367, allocations: 1.136 MB / 1.573 GB, free: 67.25 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004037/1.368, allocations: 106.6 kB / 1.573 GB, free: 67.15 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/1.369, allocations: 0.87 MB / 1.574 GB, free: 66.27 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/1.369, allocations: 8 kB / 1.574 GB, free: 66.27 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/1.369, allocations: 4 kB / 1.574 GB, free: 66.26 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/1.369, allocations: 3.984 kB / 1.574 GB, free: 66.26 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009449/1.379, allocations: 8.134 MB / 1.582 GB, free: 57.92 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/1.379, allocations: 12 kB / 1.582 GB, free: 57.91 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004359/1.379, allocations: 143.6 kB / 1.582 GB, free: 57.77 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.536e-05/1.379, allocations: 16.78 kB / 1.582 GB, free: 57.75 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.146e-05/1.379, allocations: 24 kB / 1.582 GB, free: 57.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.238e-05/1.379, allocations: 27.92 kB / 1.583 GB, free: 57.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/1.379, allocations: 15.94 kB / 1.583 GB, free: 57.69 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/1.381, allocations: 2.432 MB / 1.585 GB, free: 54.81 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006505/1.381, allocations: 351.5 kB / 1.585 GB, free: 54.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/1.382, allocations: 27.98 kB / 1.585 GB, free: 54.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009672/1.383, allocations: 107.8 kB / 1.585 GB, free: 54.31 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.902e-05/1.383, allocations: 75.67 kB / 1.585 GB, free: 54.24 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.862e-05/1.383, allocations: 32 kB / 1.585 GB, free: 54.21 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001126/1.384, allocations: 0.9198 MB / 1.586 GB, free: 53.28 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.2e-07/1.384, allocations: 0 / 1.586 GB, free: 53.28 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003288/1.387, allocations: 0.8163 MB / 1.587 GB, free: 52.46 MB / 0.9167 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 () * Number of clocked 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.0002437/1.387, allocations: 155.7 kB / 1.587 GB, free: 52.3 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003053/1.39, allocations: 2.539 MB / 1.59 GB, free: 49.77 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.391, allocations: 4.062 kB / 1.59 GB, free: 49.77 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004685/1.391, allocations: 446.2 kB / 1.59 GB, free: 49.34 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/1.392, allocations: 223 kB / 1.59 GB, free: 49.12 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008473/1.401, allocations: 5.047 MB / 1.595 GB, free: 43.88 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001745/1.403, allocations: 2.041 MB / 1.597 GB, free: 41.8 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001936/1.405, allocations: 0.8015 MB / 1.598 GB, free: 41 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002404/1.405, allocations: 87.42 kB / 1.598 GB, free: 40.91 MB / 0.9167 GB Notification: Performance of SimCode: time 1.423e-06/1.405, allocations: 0 / 1.598 GB, free: 40.91 MB / 0.9167 GB Notification: Performance of Templates: time 0.02044/1.425, allocations: 12.88 MB / 1.611 GB, free: 28.15 MB / 0.9167 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