Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009557/0.0009555, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001338/0.001338, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.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.71/1.71, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005505/0.0005507, allocations: 13.09 kB / 0.6737 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2237, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01024/0.234, allocations: 9.931 MB / 0.797 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008413/0.2424, allocations: 5.493 MB / 0.8023 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001772/0.2442, allocations: 43.69 kB / 0.8024 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0008686/0.2451, allocations: 237.9 kB / 0.8026 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002957/0.2481, allocations: 0.8902 MB / 0.8035 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002118/0.2503, allocations: 0.5887 MB / 0.8041 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003092/0.2534, allocations: 2.356 MB / 0.8064 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003792/0.2572, allocations: 2.168 MB / 0.8085 GB, free: 6.141 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.2584, allocations: 0.6962 MB / 0.8092 GB, free: 5.441 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.2594, allocations: 0.8288 MB / 0.81 GB, free: 4.609 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.2595, allocations: 60 kB / 0.81 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.2609, allocations: 0.6046 MB / 0.8106 GB, free: 3.945 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003936/0.2613, allocations: 458.6 kB / 0.8111 GB, free: 3.496 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002824/0.2616, allocations: 296.8 kB / 0.8113 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00164/0.2632, allocations: 1.796 MB / 0.8131 GB, free: 1.398 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2632, allocations: 0 / 0.8131 GB, free: 1.398 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2632, allocations: 0 / 0.8131 GB, free: 1.398 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.717e-05/0.2633, allocations: 0 / 0.8131 GB, free: 1.398 MB / 0.6231 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.002235/0.2655, allocations: 1.626 MB / 0.8147 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.2656, allocations: 8.031 kB / 0.8147 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003907/0.2695, allocations: 0.6845 MB / 0.8154 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.2707, allocations: 0.875 MB / 0.8162 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.912e-05/0.2708, allocations: 98.52 kB / 0.8163 GB, free: 14 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.271, allocations: 128 kB / 0.8164 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002803/0.2738, allocations: 2.191 MB / 0.8186 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.976e-05/0.2739, allocations: 15.78 kB / 0.8186 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/0.274, allocations: 59.97 kB / 0.8186 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000183/0.2742, allocations: 162.3 kB / 0.8188 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002561/0.2767, allocations: 1.855 MB / 0.8206 GB, free: 9.359 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01064/0.2874, allocations: 12.47 MB / 0.8328 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003911/0.2913, allocations: 1.965 MB / 0.8347 GB, free: 9.969 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007625/0.2921, allocations: 0.605 MB / 0.8353 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000154/0.2923, allocations: 102.1 kB / 0.8354 GB, free: 9.242 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.2923, allocations: 43.56 kB / 0.8354 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=103): time 2.575e-06/0.2923, allocations: 0 / 0.8354 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of matching and sorting (n=110): time 0.00581/0.2982, allocations: 3.71 MB / 0.8391 GB, free: 5.316 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.2982, allocations: 60.41 kB / 0.8391 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.2994, allocations: 0.9126 MB / 0.84 GB, free: 4.316 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.992e-05/0.2995, allocations: 41.7 kB / 0.84 GB, free: 4.27 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004957/0.3, allocations: 0.7315 MB / 0.8408 GB, free: 3.527 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000284/0.3003, allocations: 386.5 kB / 0.8411 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.7e-05/0.3003, allocations: 32 kB / 0.8412 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3005, allocations: 369.8 kB / 0.8415 GB, free: 2.746 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008544/0.3014, allocations: 0.6051 MB / 0.8421 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001324/0.3027, allocations: 1.098 MB / 0.8432 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.3039, allocations: 0.7681 MB / 0.8439 GB, free: 60 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.3039, allocations: 4 kB / 0.8439 GB, free: 56 kB / 0.6544 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003757/0.3077, allocations: 2.088 MB / 0.846 GB, free: 13.93 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.3077, allocations: 12 kB / 0.846 GB, free: 13.92 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/0.3078, allocations: 16 kB / 0.846 GB, free: 13.91 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00074/0.3085, allocations: 263.1 kB / 0.8462 GB, free: 13.62 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.3097, allocations: 375.4 kB / 0.8466 GB, free: 13.26 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008769/0.3185, allocations: 10.75 MB / 0.8571 GB, free: 1.449 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.3197, allocations: 127.8 kB / 0.8572 GB, free: 1.324 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.3199, allocations: 75.94 kB / 0.8573 GB, free: 1.25 MB / 0.67 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.0006751/0.3205, allocations: 402.3 kB / 0.8577 GB, free: 0.8477 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.3207, allocations: 146.2 kB / 0.8578 GB, free: 0.707 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002719/0.3234, allocations: 1.669 MB / 0.8594 GB, free: 15 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/0.3235, allocations: 12 kB / 0.8595 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.3235, allocations: 4 kB / 0.8595 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.3235, allocations: 3.984 kB / 0.8595 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004431/0.3279, allocations: 3.288 MB / 0.8627 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.934e-06/0.328, allocations: 4 kB / 0.8627 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007564/0.3287, allocations: 227.7 kB / 0.8629 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005995/0.3293, allocations: 242.6 kB / 0.8631 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.949e-05/0.3294, allocations: 28 kB / 0.8631 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007374/0.3368, allocations: 10.75 MB / 0.8736 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.3368, allocations: 4 kB / 0.8736 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0024/0.3392, allocations: 1.788 MB / 0.8754 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004473/0.3397, allocations: 319.4 kB / 0.8757 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.3398, allocations: 27.98 kB / 0.8757 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005941/0.3404, allocations: 95.88 kB / 0.8758 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.3406, allocations: 92.72 kB / 0.8759 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-05/0.3406, allocations: 40 kB / 0.8759 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006988/0.3413, allocations: 0.606 MB / 0.8765 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3414, allocations: 0 / 0.8765 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001253/0.3426, allocations: 396 kB / 0.8769 GB, free: 11.73 MB / 0.7012 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.0002116/0.3428, allocations: 147 kB / 0.8771 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003053/0.3459, allocations: 2.473 MB / 0.8795 GB, free: 9 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.3459, allocations: 0.875 kB / 0.8795 GB, free: 9 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001819/0.3477, allocations: 1.64 MB / 0.8811 GB, free: 7.262 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.3491, allocations: 331.2 kB / 0.8814 GB, free: 6.941 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003957/0.3531, allocations: 3.256 MB / 0.8846 GB, free: 3.594 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008566/0.3539, allocations: 1.323 MB / 0.8859 GB, free: 2.238 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009437/0.3549, allocations: 359.3 kB / 0.8862 GB, free: 1.883 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002592/0.3552, allocations: 95.42 kB / 0.8863 GB, free: 1.789 MB / 0.7012 GB Notification: Performance of SimCode: time 1.092e-06/0.3552, allocations: 0 / 0.8863 GB, free: 1.789 MB / 0.7012 GB Notification: Performance of Templates: time 0.02776/0.3829, allocations: 15.73 MB / 0.9017 GB, free: 2.207 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) Environment - environmentSimulation: