Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.774/1.774, allocations: 288.3 MB / 303.2 MB, free: 8.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 175.7 kB / 371.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.734/1.734, allocations: 205.4 MB / 0.6306 GB, free: 9.957 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007797/0.0007797, allocations: 98.66 kB / 0.7439 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.000376, allocations: 11.97 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1985, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.008133/0.2067, allocations: 9.624 MB / 0.9888 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00619/0.2129, allocations: 5.404 MB / 0.9941 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008907/0.2139, allocations: 47.62 kB / 0.9941 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004477/0.2143, allocations: 218.5 kB / 0.9944 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001802/0.2162, allocations: 0.8411 MB / 0.9952 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.2175, allocations: 0.603 MB / 0.9958 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001366/0.2188, allocations: 1.256 MB / 0.997 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002988/0.2218, allocations: 2.165 MB / 0.9991 GB, free: 7.484 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008436/0.2227, allocations: 0.6149 MB / 0.9997 GB, free: 6.867 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001174/0.2239, allocations: 0.6536 MB / 1 GB, free: 6.211 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.224, allocations: 56 kB / 1 GB, free: 6.156 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001655/0.2257, allocations: 0.5109 MB / 1.001 GB, free: 5.645 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003788/0.2261, allocations: 418.8 kB / 1.001 GB, free: 5.234 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003811/0.2265, allocations: 300.9 kB / 1.002 GB, free: 4.934 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001761/0.2283, allocations: 1.722 MB / 1.003 GB, free: 3.207 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2283, allocations: 0 / 1.003 GB, free: 3.207 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.485e-06/0.2283, allocations: 0 / 1.003 GB, free: 3.207 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.812e-05/0.2283, allocations: 3.938 kB / 1.003 GB, free: 3.203 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002199/0.2305, allocations: 1.591 MB / 1.005 GB, free: 1.555 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.2306, allocations: 12.02 kB / 1.005 GB, free: 1.543 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003717/0.2343, allocations: 0.6846 MB / 1.006 GB, free: 0.8555 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/0.2359, allocations: 0.8828 MB / 1.006 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.705e-05/0.236, allocations: 90.45 kB / 1.006 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001868/0.2362, allocations: 128 kB / 1.007 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002955/0.2392, allocations: 2.187 MB / 1.009 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.266e-05/0.2392, allocations: 19.84 kB / 1.009 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/0.2394, allocations: 51.98 kB / 1.009 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001973/0.2396, allocations: 166.3 kB / 1.009 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002711/0.2423, allocations: 1.855 MB / 1.011 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01238/0.2547, allocations: 12.48 MB / 1.023 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004091/0.2588, allocations: 1.965 MB / 1.025 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001777/0.259, allocations: 98.09 kB / 1.025 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.2591, allocations: 47.55 kB / 1.025 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=103): time 2.805e-06/0.2591, allocations: 0 / 1.025 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of matching and sorting (n=110): time 0.005987/0.2651, allocations: 3.714 MB / 1.029 GB, free: 7.754 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.2651, allocations: 68.41 kB / 1.029 GB, free: 7.672 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.2663, allocations: 0.9087 MB / 1.03 GB, free: 6.746 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.414e-05/0.2663, allocations: 41.7 kB / 1.03 GB, free: 6.699 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005045/0.2669, allocations: 0.7276 MB / 1.03 GB, free: 5.961 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003322/0.2672, allocations: 394.4 kB / 1.031 GB, free: 5.57 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.965e-05/0.2673, allocations: 28 kB / 1.031 GB, free: 5.543 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.2674, allocations: 365.9 kB / 1.031 GB, free: 5.18 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009145/0.2684, allocations: 0.609 MB / 1.032 GB, free: 4.57 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.2696, allocations: 1.094 MB / 1.033 GB, free: 3.258 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.2707, allocations: 0.768 MB / 1.033 GB, free: 2.488 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.2708, allocations: 4 kB / 1.033 GB, free: 2.484 MB / 0.6511 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003253/0.274, allocations: 2.084 MB / 1.036 GB, free: 376 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.2741, allocations: 13 kB / 1.036 GB, free: 364 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/0.2741, allocations: 16 kB / 1.036 GB, free: 348 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007726/0.2749, allocations: 266.6 kB / 1.036 GB, free: 56 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.2761, allocations: 375.5 kB / 1.036 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008144/0.2843, allocations: 10.82 MB / 1.047 GB, free: 3.801 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.2857, allocations: 123.8 kB / 1.047 GB, free: 3.68 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.2858, allocations: 71.98 kB / 1.047 GB, free: 3.609 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000672/0.2865, allocations: 405.3 kB / 1.047 GB, free: 3.203 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.2867, allocations: 134.4 kB / 1.047 GB, free: 3.07 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002829/0.2895, allocations: 1.677 MB / 1.049 GB, free: 1.363 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.2896, allocations: 15.95 kB / 1.049 GB, free: 1.348 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.2896, allocations: 4 kB / 1.049 GB, free: 1.344 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.2896, allocations: 7.969 kB / 1.049 GB, free: 1.336 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005154/0.2948, allocations: 3.284 MB / 1.052 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.475e-06/0.2948, allocations: 4 kB / 1.052 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008581/0.2957, allocations: 223.6 kB / 1.053 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007161/0.2964, allocations: 243 kB / 1.053 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.147e-05/0.2965, allocations: 28 kB / 1.053 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007796/0.3043, allocations: 10.79 MB / 1.063 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.904e-06/0.3043, allocations: 12.25 kB / 1.063 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4142/0.7185, allocations: 2.064 MB / 1.065 GB, free: 82.62 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007711/0.7193, allocations: 327.7 kB / 1.066 GB, free: 82.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/0.7195, allocations: 26.75 kB / 1.066 GB, free: 82.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007347/0.7203, allocations: 95.78 kB / 1.066 GB, free: 82.52 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001999/0.7205, allocations: 97.97 kB / 1.066 GB, free: 82.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-05/0.7205, allocations: 34.22 kB / 1.066 GB, free: 82.52 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008268/0.7214, allocations: 0.6088 MB / 1.066 GB, free: 82.41 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7214, allocations: 0 / 1.066 GB, free: 82.41 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001259/0.7226, allocations: 395.6 kB / 1.067 GB, free: 82.41 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001983/0.7229, allocations: 139.8 kB / 1.067 GB, free: 82.33 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003361/0.7262, allocations: 2.48 MB / 1.069 GB, free: 81.45 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.7262, allocations: 5.219 kB / 1.069 GB, free: 81.45 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002164/0.7284, allocations: 1.626 MB / 1.071 GB, free: 80.53 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/0.7299, allocations: 318.2 kB / 1.071 GB, free: 80.45 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004628/0.7345, allocations: 3.241 MB / 1.074 GB, free: 78.66 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/0.7357, allocations: 1.358 MB / 1.076 GB, free: 77.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001303/0.737, allocations: 364.2 kB / 1.076 GB, free: 77.87 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002964/0.7373, allocations: 96.12 kB / 1.076 GB, free: 77.86 MB / 0.6823 GB Notification: Performance of SimCode: time 7.81e-07/0.7373, allocations: 0 / 1.076 GB, free: 77.86 MB / 0.6823 GB Notification: Performance of Templates: time 0.03164/0.7689, allocations: 15.71 MB / 1.092 GB, free: 74.84 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)