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 9.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 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.617/1.617, allocations: 297.8 MB / 313.7 MB, free: 68 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008976/0.0008976, allocations: 182 kB / 384.6 MB, free: 10.8 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 223.2 MB / 0.6626 GB, free: 4.285 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008124/0.0008125, allocations: 94.19 kB / 0.7808 GB, free: 50.34 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000399/0.0003991, allocations: 15.47 kB / 0.9088 GB, free: 2.812 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6299/0.6303, allocations: 120.3 MB / 1.026 GB, free: 56.03 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1864/0.8168, allocations: 161.9 MB / 1.184 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.8171, allocations: 97.67 kB / 1.184 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.02918/0.8463, allocations: 13.59 MB / 1.198 GB, free: 2.32 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.204e-06/0.8463, allocations: 0.8438 kB / 1.198 GB, free: 2.32 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.464e-05/0.8464, allocations: 4 kB / 1.198 GB, free: 2.316 MB / 0.7605 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.0005722/0.8469, allocations: 466.1 kB / 1.198 GB, free: 1.812 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.847, allocations: 12.03 kB / 1.198 GB, free: 1.801 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005413/0.8475, allocations: 64.67 kB / 1.198 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.8478, allocations: 230.1 kB / 1.198 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.8478, allocations: 16.36 kB / 1.199 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/0.8479, allocations: 12.38 kB / 1.199 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003731/0.8482, allocations: 281.7 kB / 1.199 GB, free: 1.141 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.8483, allocations: 0 / 1.199 GB, free: 1.141 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.8483, allocations: 4 kB / 1.199 GB, free: 1.137 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.05e-05/0.8483, allocations: 19.94 kB / 1.199 GB, free: 1.121 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003255/0.8487, allocations: 204.5 kB / 1.199 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.8502, allocations: 1.589 MB / 1.201 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.603e-05/0.8503, allocations: 77.11 kB / 1.201 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.421e-05/0.8504, allocations: 45.81 kB / 1.201 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.8504, allocations: 8 kB / 1.201 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.8504, allocations: 30.56 kB / 1.201 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.8505, allocations: 0 / 1.201 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.000466/0.8509, allocations: 217.1 kB / 1.201 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.851, allocations: 81.11 kB / 1.201 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.8512, allocations: 215.8 kB / 1.201 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.8512, allocations: 33.64 kB / 1.201 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.779e-05/0.8513, allocations: 167.7 kB / 1.201 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.8513, allocations: 35.3 kB / 1.201 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.145e-05/0.8513, allocations: 8 kB / 1.201 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.184e-05/0.8514, allocations: 322.8 kB / 1.202 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.8515, allocations: 75.45 kB / 1.202 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.8517, allocations: 167.7 kB / 1.202 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/0.852, allocations: 228.7 kB / 1.202 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.852, allocations: 4 kB / 1.202 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003751/0.8524, allocations: 269.2 kB / 1.202 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.285e-05/0.8525, allocations: 187.5 kB / 1.203 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.8525, allocations: 0 / 1.203 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.8525, allocations: 9.812 kB / 1.203 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.8527, allocations: 47.91 kB / 1.203 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.8527, allocations: 8.844 kB / 1.203 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.8529, allocations: 25.47 kB / 1.203 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.853, allocations: 12 kB / 1.203 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.5e-06/0.853, allocations: 4 kB / 1.203 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002906/0.8533, allocations: 212.6 kB / 1.203 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.8533, allocations: 4 kB / 1.203 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.048e-06/0.8533, allocations: 4 kB / 1.203 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.8535, allocations: 51.91 kB / 1.203 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.8535, allocations: 4 kB / 1.203 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.8536, allocations: 23.77 kB / 1.203 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.8536, allocations: 16.36 kB / 1.203 GB, free: 12.46 MB / 0.7761 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.0001226/0.8538, allocations: 221 kB / 1.203 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.317e-05/0.8538, allocations: 11.91 kB / 1.203 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001775/0.854, allocations: 124.2 kB / 1.203 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.854, allocations: 4 kB / 1.203 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.854, allocations: 3.938 kB / 1.203 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.854, allocations: 0 / 1.203 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006315/0.8547, allocations: 0.6235 MB / 1.204 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.8547, allocations: 4 kB / 1.204 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.836e-05/0.8548, allocations: 15.98 kB / 1.204 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.8548, allocations: 4 kB / 1.204 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.8548, allocations: 256 / 1.204 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.8548, allocations: 11.94 kB / 1.204 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.8548, allocations: 4.859 kB / 1.204 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.855, allocations: 335.6 kB / 1.204 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.637e-05/0.8551, allocations: 104.1 kB / 1.204 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.8552, allocations: 9.484 kB / 1.204 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.8553, allocations: 7.984 kB / 1.204 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.47e-05/0.8554, allocations: 12.94 kB / 1.204 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.8554, allocations: 4 kB / 1.204 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001439/0.8555, allocations: 177.1 kB / 1.205 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8555, allocations: 0 / 1.205 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004885/0.856, allocations: 83.98 kB / 1.205 GB, free: 10.57 MB / 0.7761 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.0001647/0.8562, allocations: 119.7 kB / 1.205 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003931/0.8566, allocations: 269.2 kB / 1.205 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.248e-05/0.8566, allocations: 0 / 1.205 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.228e-05/0.8567, allocations: 47.8 kB / 1.205 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.8572, allocations: 33.75 kB / 1.205 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006362/0.8578, allocations: 464.8 kB / 1.206 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.8581, allocations: 0.7441 MB / 1.206 GB, free: 8.84 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002004/0.8583, allocations: 69.47 kB / 1.206 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/0.8584, allocations: 15.44 kB / 1.206 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of SimCode: time 3.11e-07/0.8584, allocations: 0 / 1.206 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of Templates: time 0.003961/0.8623, allocations: 1.555 MB / 1.208 GB, free: 7.27 MB / 0.7761 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 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)