Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0009431/0.0009431, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.001131/0.001131, allocations: 177.2 kB / 16.27 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001715/0.001715, allocations: 274.5 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9391/0.9391, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003889/0.0003889, allocations: 12.91 kB / 0.5987 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.143, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.011/0.154, allocations: 10.52 MB / 0.6954 GB, free: 4.492 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00825/0.1623, allocations: 5.764 MB / 0.701 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000868/0.1632, allocations: 51.62 kB / 0.7011 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000692/0.1639, allocations: 242 kB / 0.7013 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002759/0.1667, allocations: 1.074 MB / 0.7024 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001999/0.1687, allocations: 0.7357 MB / 0.7031 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003136/0.1718, allocations: 2.852 MB / 0.7059 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004297/0.1762, allocations: 2.362 MB / 0.7082 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001205/0.1774, allocations: 0.6921 MB / 0.7089 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001506/0.1789, allocations: 0.8519 MB / 0.7097 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003237/0.1792, allocations: 60 kB / 0.7097 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002639/0.1819, allocations: 1.442 MB / 0.7112 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007558/0.1826, allocations: 466.5 kB / 0.7116 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001386/0.184, allocations: 0.7319 MB / 0.7123 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003507/0.1876, allocations: 2.41 MB / 0.7147 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1876, allocations: 0 / 0.7147 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1876, allocations: 4 kB / 0.7147 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.883e-05/0.1876, allocations: 0 / 0.7147 GB, free: 0.6914 MB / 0.4981 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.002964/0.1906, allocations: 1.591 MB / 0.7162 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.1907, allocations: 12.03 kB / 0.7162 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004497/0.1952, allocations: 0.6776 MB / 0.7169 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.1966, allocations: 0.9145 MB / 0.7178 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.415e-05/0.1967, allocations: 98.89 kB / 0.7179 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002075/0.1969, allocations: 124.3 kB / 0.718 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00307/0.1999, allocations: 2.21 MB / 0.7202 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.796e-05/0.2, allocations: 7.938 kB / 0.7202 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001338/0.2001, allocations: 63.97 kB / 0.7202 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001931/0.2003, allocations: 158.3 kB / 0.7204 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002674/0.203, allocations: 1.871 MB / 0.7222 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0106/0.2136, allocations: 12.48 MB / 0.7344 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004094/0.2178, allocations: 1.983 MB / 0.7363 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007847/0.2186, allocations: 0.6011 MB / 0.7369 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001402/0.2187, allocations: 102.1 kB / 0.737 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.2187, allocations: 39.56 kB / 0.7371 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=103): time 3.296e-06/0.2187, allocations: 0 / 0.7371 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of matching and sorting (n=110): time 0.005682/0.2244, allocations: 3.718 MB / 0.7407 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.2245, allocations: 68.41 kB / 0.7407 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009902/0.2255, allocations: 0.9281 MB / 0.7417 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.304e-05/0.2256, allocations: 41.7 kB / 0.7417 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004378/0.226, allocations: 0.7237 MB / 0.7424 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002784/0.2263, allocations: 382.5 kB / 0.7428 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.2265, allocations: 121.7 kB / 0.7429 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.471e-05/0.2266, allocations: 301.1 kB / 0.7432 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008789/0.2274, allocations: 0.6129 MB / 0.7438 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.2286, allocations: 1.113 MB / 0.7449 GB, free: 12 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002199/0.2308, allocations: 1.835 MB / 0.7466 GB, free: 13.96 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.2308, allocations: 4 kB / 0.7467 GB, free: 13.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003129/0.234, allocations: 2.095 MB / 0.7487 GB, free: 11.83 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.234, allocations: 13.88 kB / 0.7487 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/0.234, allocations: 16.88 kB / 0.7487 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007538/0.2348, allocations: 258.6 kB / 0.749 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.2361, allocations: 383.4 kB / 0.7493 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007772/0.2438, allocations: 10.76 MB / 0.7598 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/0.2451, allocations: 131.8 kB / 0.76 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.2452, allocations: 71.98 kB / 0.76 GB, free: 15.12 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006824/0.2459, allocations: 405.8 kB / 0.7604 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.2461, allocations: 130.4 kB / 0.7606 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002761/0.2488, allocations: 1.677 MB / 0.7622 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.2489, allocations: 12 kB / 0.7622 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.2489, allocations: 4 kB / 0.7622 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.2489, allocations: 3.984 kB / 0.7622 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004734/0.2536, allocations: 3.307 MB / 0.7654 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.2537, allocations: 4 kB / 0.7654 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008423/0.2545, allocations: 223.6 kB / 0.7657 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007023/0.2552, allocations: 250.8 kB / 0.7659 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.82e-05/0.2553, allocations: 31.98 kB / 0.7659 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3212/0.5765, allocations: 10.73 MB / 0.7764 GB, free: 83.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.688e-06/0.5766, allocations: 9.531 kB / 0.7764 GB, free: 83.89 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003162/0.5797, allocations: 1.798 MB / 0.7782 GB, free: 83.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006156/0.5804, allocations: 326.7 kB / 0.7785 GB, free: 83.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/0.5805, allocations: 26.27 kB / 0.7785 GB, free: 83.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007273/0.5813, allocations: 91 kB / 0.7786 GB, free: 83.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002306/0.5815, allocations: 97.7 kB / 0.7787 GB, free: 83.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.038e-05/0.5816, allocations: 34.83 kB / 0.7787 GB, free: 83.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008919/0.5825, allocations: 0.6184 MB / 0.7793 GB, free: 83.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5825, allocations: 0 / 0.7793 GB, free: 83.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001466/0.5839, allocations: 392.3 kB / 0.7797 GB, free: 83.3 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(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,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.0002189/0.5842, allocations: 148.4 kB / 0.7798 GB, free: 83.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003222/0.5874, allocations: 2.485 MB / 0.7823 GB, free: 82.31 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.5874, allocations: 1.469 kB / 0.7823 GB, free: 82.31 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001764/0.5892, allocations: 1.64 MB / 0.7839 GB, free: 81.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/0.5915, allocations: 328.8 kB / 0.7842 GB, free: 81.33 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003765/0.5953, allocations: 3.407 MB / 0.7875 GB, free: 79.39 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006778/0.596, allocations: 1.325 MB / 0.7888 GB, free: 78.62 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009986/0.597, allocations: 356.6 kB / 0.7891 GB, free: 78.57 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/0.5972, allocations: 96.2 kB / 0.7892 GB, free: 78.56 MB / 0.5606 GB Notification: Performance of SimCode: time 9.12e-07/0.5972, allocations: 3.219 kB / 0.7892 GB, free: 78.56 MB / 0.5606 GB Notification: Performance of Templates: time 0.03033/0.6276, allocations: 16.22 MB / 0.8051 GB, free: 74.18 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)