Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.581/1.581, allocations: 252 MB / 267.6 MB, free: 10.95 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 178.3 kB / 327.3 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.86/1.86, allocations: 205.4 MB / 0.5783 GB, free: 20.56 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006891/0.0006891, allocations: 94.09 kB / 0.6829 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002887/0.0002887, allocations: 12.81 kB / 0.797 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1832, allocations: 106.3 MB / 0.9008 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.008049/0.1913, allocations: 9.946 MB / 0.9105 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006386/0.1977, allocations: 5.485 MB / 0.9159 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.1988, allocations: 43.69 kB / 0.9159 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005489/0.1994, allocations: 245.9 kB / 0.9162 GB, free: 48.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002181/0.2016, allocations: 0.8785 MB / 0.917 GB, free: 47.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.2031, allocations: 0.5967 MB / 0.9176 GB, free: 47.19 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001844/0.2049, allocations: 2.352 MB / 0.9199 GB, free: 44.83 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003073/0.208, allocations: 2.165 MB / 0.922 GB, free: 42.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.2091, allocations: 0.7001 MB / 0.9227 GB, free: 41.92 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000955/0.2101, allocations: 0.8288 MB / 0.9235 GB, free: 41.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001556/0.2102, allocations: 60 kB / 0.9236 GB, free: 41.03 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.2116, allocations: 0.5968 MB / 0.9242 GB, free: 40.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000307/0.2119, allocations: 458.6 kB / 0.9246 GB, free: 39.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002613/0.2122, allocations: 300.8 kB / 0.9249 GB, free: 39.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.2135, allocations: 1.8 MB / 0.9266 GB, free: 37.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.2135, allocations: 4 kB / 0.9266 GB, free: 37.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2136, allocations: 0 / 0.9266 GB, free: 37.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.123e-05/0.2136, allocations: 0 / 0.9266 GB, free: 37.88 MB / 0.6042 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.002014/0.2156, allocations: 1.622 MB / 0.9282 GB, free: 36.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.2157, allocations: 16.03 kB / 0.9282 GB, free: 36.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003875/0.2195, allocations: 0.6651 MB / 0.9289 GB, free: 35.51 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.2207, allocations: 0.8789 MB / 0.9298 GB, free: 34.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.09e-05/0.2208, allocations: 98.52 kB / 0.9299 GB, free: 34.49 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.2209, allocations: 131.9 kB / 0.93 GB, free: 34.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002357/0.2233, allocations: 2.191 MB / 0.9321 GB, free: 31.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.559e-05/0.2233, allocations: 15.88 kB / 0.9321 GB, free: 31.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.2235, allocations: 59.97 kB / 0.9322 GB, free: 31.87 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001514/0.2236, allocations: 162.3 kB / 0.9323 GB, free: 31.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002196/0.2258, allocations: 1.863 MB / 0.9342 GB, free: 29.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008504/0.2343, allocations: 12.47 MB / 0.9463 GB, free: 16.42 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003565/0.2379, allocations: 1.957 MB / 0.9483 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006751/0.2387, allocations: 0.6011 MB / 0.9488 GB, free: 13.85 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.2388, allocations: 106.1 kB / 0.9489 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.2388, allocations: 47.56 kB / 0.949 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=103): time 3.096e-06/0.2389, allocations: 0 / 0.949 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=110): time 0.005063/0.2439, allocations: 3.706 MB / 0.9526 GB, free: 9.801 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.244, allocations: 64.41 kB / 0.9527 GB, free: 9.727 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008574/0.2449, allocations: 0.9126 MB / 0.9536 GB, free: 8.797 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.167e-05/0.2449, allocations: 41.7 kB / 0.9536 GB, free: 8.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002918/0.2452, allocations: 0.7353 MB / 0.9543 GB, free: 8.004 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/0.2454, allocations: 386.5 kB / 0.9547 GB, free: 7.621 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.882e-05/0.2455, allocations: 28 kB / 0.9547 GB, free: 7.594 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.996e-05/0.2456, allocations: 361.9 kB / 0.9551 GB, free: 7.234 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007314/0.2463, allocations: 0.6129 MB / 0.9557 GB, free: 6.621 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008766/0.2472, allocations: 1.098 MB / 0.9567 GB, free: 5.309 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008964/0.2481, allocations: 0.7642 MB / 0.9575 GB, free: 4.543 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.2481, allocations: 4 kB / 0.9575 GB, free: 4.539 MB / 0.6042 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002715/0.2509, allocations: 2.088 MB / 0.9595 GB, free: 2.418 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.2509, allocations: 16.17 kB / 0.9595 GB, free: 2.402 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.2509, allocations: 20 kB / 0.9595 GB, free: 2.383 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007281/0.2517, allocations: 262.6 kB / 0.9598 GB, free: 2.102 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.2528, allocations: 375.4 kB / 0.9602 GB, free: 1.734 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008014/0.2608, allocations: 10.75 MB / 0.9707 GB, free: 5.914 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.2622, allocations: 131.8 kB / 0.9708 GB, free: 5.785 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.2623, allocations: 67.98 kB / 0.9709 GB, free: 5.719 MB / 0.6198 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.0006572/0.263, allocations: 409.8 kB / 0.9712 GB, free: 5.309 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.2632, allocations: 126.5 kB / 0.9714 GB, free: 5.184 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002717/0.2659, allocations: 1.684 MB / 0.973 GB, free: 3.465 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.2659, allocations: 12 kB / 0.973 GB, free: 3.453 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.2659, allocations: 0 / 0.973 GB, free: 3.453 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.266, allocations: 3.984 kB / 0.973 GB, free: 3.449 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005052/0.271, allocations: 3.28 MB / 0.9762 GB, free: 20 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.2711, allocations: 4 kB / 0.9762 GB, free: 16 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000879/0.2719, allocations: 223.6 kB / 0.9764 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007311/0.2727, allocations: 239.2 kB / 0.9767 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.02e-05/0.2728, allocations: 35.98 kB / 0.9767 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008415/0.2812, allocations: 10.73 MB / 0.9872 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.767e-06/0.2812, allocations: 8 kB / 0.9872 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002801/0.2841, allocations: 1.792 MB / 0.9889 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005987/0.2847, allocations: 331.2 kB / 0.9893 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/0.2848, allocations: 24 kB / 0.9893 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006803/0.2855, allocations: 91.86 kB / 0.9894 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/0.2857, allocations: 100.7 kB / 0.9895 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.945e-05/0.2858, allocations: 32 kB / 0.9895 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0008019/0.2866, allocations: 0.6099 MB / 0.9901 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2866, allocations: 0 / 0.9901 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001432/0.288, allocations: 392 kB / 0.9905 GB, free: 212 kB / 0.6355 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.0002617/0.2883, allocations: 147 kB / 0.9906 GB, free: 56 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003587/0.2919, allocations: 2.488 MB / 0.993 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.2919, allocations: 4 kB / 0.993 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002063/0.294, allocations: 1.618 MB / 0.9946 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/0.2958, allocations: 333 kB / 0.9949 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004617/0.3004, allocations: 3.351 MB / 0.9982 GB, free: 7.961 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009203/0.3013, allocations: 1.327 MB / 0.9995 GB, free: 6.605 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003917/0.3017, allocations: 115.4 kB / 0.9996 GB, free: 6.492 MB / 0.6511 GB Notification: Performance of SimCode: time 9.82e-07/0.3017, allocations: 0 / 0.9996 GB, free: 6.492 MB / 0.6511 GB Notification: Performance of Templates: time 0.4507/0.7524, allocations: 59.05 MB / 1.057 GB, free: 142.7 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)