Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 107.5 kB / 16.37 MB, free: 6.465 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.001064/0.001064, allocations: 186.3 kB / 17.31 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.343/1.343, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.777/1.777, allocations: 292.3 MB / 0.5496 GB, free: 17.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 71.12 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2148, allocations: 114.5 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.3537/0.5685, allocations: 4.285 MB / 0.789 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002951/0.5715, allocations: 2.423 MB / 0.7914 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002265/0.5717, allocations: 15.28 kB / 0.7914 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009158/0.5728, allocations: 374.2 kB / 0.7917 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0006389/0.5734, allocations: 369.3 kB / 0.7921 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005815/0.574, allocations: 322.1 kB / 0.7924 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005058/0.5745, allocations: 0.6754 MB / 0.793 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003499/0.5749, allocations: 262.5 kB / 0.7933 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000236/0.5751, allocations: 258.8 kB / 0.7935 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002728/0.5754, allocations: 263.7 kB / 0.7938 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.916e-05/0.5754, allocations: 31.62 kB / 0.7938 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005355/0.576, allocations: 432.1 kB / 0.7942 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.5761, allocations: 144.4 kB / 0.7944 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.5763, allocations: 236.2 kB / 0.7946 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006744/0.577, allocations: 0.7344 MB / 0.7953 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.577, allocations: 3.5 kB / 0.7953 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.042e-06/0.577, allocations: 1.375 kB / 0.7953 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.577, allocations: 0 / 0.7953 GB, free: 45.45 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0008944/0.5779, allocations: 0.7834 MB / 0.7961 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.578, allocations: 11.62 kB / 0.7961 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/0.5792, allocations: 188.3 kB / 0.7963 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005066/0.5797, allocations: 442.7 kB / 0.7967 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.5798, allocations: 27.64 kB / 0.7967 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.188e-05/0.5798, allocations: 32.98 kB / 0.7968 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006778/0.5805, allocations: 0.6515 MB / 0.7974 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.5805, allocations: 11.28 kB / 0.7974 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.289e-05/0.5806, allocations: 22.42 kB / 0.7974 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.411e-05/0.5807, allocations: 49.78 kB / 0.7975 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006154/0.5813, allocations: 0.4924 MB / 0.7979 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002257/0.5835, allocations: 3.778 MB / 0.8016 GB, free: 41.14 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/0.5854, allocations: 0.6329 MB / 0.8023 GB, free: 40.94 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002085/0.5856, allocations: 175.8 kB / 0.8024 GB, free: 40.87 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.5857, allocations: 1.938 kB / 0.8024 GB, free: 40.87 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.5857, allocations: 48.19 kB / 0.8025 GB, free: 40.82 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=30): time 2.324e-06/0.5857, allocations: 0 / 0.8025 GB, free: 40.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.002017/0.5877, allocations: 1.268 MB / 0.8037 GB, free: 40.07 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.5878, allocations: 115 kB / 0.8038 GB, free: 39.94 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003704/0.5881, allocations: 398.9 kB / 0.8042 GB, free: 39.74 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.5882, allocations: 32.92 kB / 0.8042 GB, free: 39.71 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.5883, allocations: 283.4 kB / 0.8045 GB, free: 39.47 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.723e-05/0.5884, allocations: 122.5 kB / 0.8046 GB, free: 39.38 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.5885, allocations: 94.84 kB / 0.8047 GB, free: 39.33 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.484e-05/0.5886, allocations: 354.8 kB / 0.805 GB, free: 39 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.5889, allocations: 178.4 kB / 0.8052 GB, free: 38.94 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003443/0.5892, allocations: 378 kB / 0.8056 GB, free: 38.62 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006166/0.5898, allocations: 0.587 MB / 0.8062 GB, free: 38.19 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.5899, allocations: 5.375 kB / 0.8062 GB, free: 38.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00106/0.5909, allocations: 0.675 MB / 0.8068 GB, free: 37.89 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.591, allocations: 8.609 kB / 0.8068 GB, free: 37.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.591, allocations: 6.906 kB / 0.8068 GB, free: 37.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003586/0.5913, allocations: 99.14 kB / 0.8069 GB, free: 37.85 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000426/0.5918, allocations: 113.3 kB / 0.807 GB, free: 37.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002437/0.5942, allocations: 4.343 MB / 0.8113 GB, free: 33.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003571/0.5946, allocations: 29.23 kB / 0.8113 GB, free: 33.56 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.21e-05/0.5946, allocations: 25.12 kB / 0.8113 GB, free: 33.56 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002236/0.5949, allocations: 205.8 kB / 0.8115 GB, free: 33.39 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.595, allocations: 47.03 kB / 0.8116 GB, free: 33.37 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009359/0.5959, allocations: 0.5147 MB / 0.8121 GB, free: 33.14 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.596, allocations: 4.719 kB / 0.8121 GB, free: 33.14 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.596, allocations: 2.125 kB / 0.8121 GB, free: 33.14 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.596, allocations: 2.609 kB / 0.8121 GB, free: 33.14 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.5977, allocations: 1.282 MB / 0.8133 GB, free: 32.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.5977, allocations: 2.5 kB / 0.8133 GB, free: 32.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.598, allocations: 66.69 kB / 0.8134 GB, free: 32.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002603/0.5982, allocations: 84.09 kB / 0.8135 GB, free: 32.28 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.5983, allocations: 9.156 kB / 0.8135 GB, free: 32.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002327/0.6006, allocations: 4.353 MB / 0.8177 GB, free: 27.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.6006, allocations: 3.344 kB / 0.8177 GB, free: 27.99 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008374/0.6015, allocations: 0.7785 MB / 0.8185 GB, free: 27.45 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.6017, allocations: 160.1 kB / 0.8187 GB, free: 27.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.419e-05/0.6017, allocations: 11.83 kB / 0.8187 GB, free: 27.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003087/0.602, allocations: 26.11 kB / 0.8187 GB, free: 27.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.227e-05/0.6021, allocations: 34.28 kB / 0.8187 GB, free: 27.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.6021, allocations: 14.55 kB / 0.8187 GB, free: 27.29 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003047/0.6024, allocations: 281.3 kB / 0.819 GB, free: 27.15 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6025, allocations: 0 / 0.819 GB, free: 27.15 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007181/0.6032, allocations: 124.7 kB / 0.8191 GB, free: 27.13 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001181/0.6033, allocations: 112.8 kB / 0.8192 GB, free: 27.03 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001199/0.6045, allocations: 0.7988 MB / 0.82 GB, free: 26.55 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.6045, allocations: 0 / 0.82 GB, free: 26.55 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005976/0.6051, allocations: 0.5504 MB / 0.8205 GB, free: 26.15 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008995/0.606, allocations: 132.2 kB / 0.8207 GB, free: 26.12 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.6074, allocations: 0.9598 MB / 0.8216 GB, free: 25.53 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.6077, allocations: 0.8563 MB / 0.8224 GB, free: 24.82 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.6079, allocations: 43.73 kB / 0.8225 GB, free: 24.81 MB / 0.6544 GB Notification: Performance of SimCode: time 4.11e-07/0.6079, allocations: 0 / 0.8225 GB, free: 24.81 MB / 0.6544 GB Notification: Performance of Templates: time 0.01635/0.6242, allocations: 11.1 MB / 0.8333 GB, free: 24.12 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)