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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 84.73 kB / 19.44 MB, free: 352 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0022/0.0022, allocations: 157.7 kB / 22.75 MB, free: 1.676 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.516/1.516, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002646/0.002646, allocations: 233.5 kB / 259.8 MB, free: 12.86 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.077/1.077, allocations: 138.4 MB / 454.7 MB, free: 1.492 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.5543 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.256e-05/3.455e-05, allocations: 5.406 kB / 0.5543 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.02332/0.02335, allocations: 10.48 MB / 0.5646 GB, free: 6.348 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01674/0.04009, allocations: 5.591 MB / 0.57 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001531/0.04162, allocations: 71.31 kB / 0.5701 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007321/0.04894, allocations: 1.731 MB / 0.5718 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.005177/0.05412, allocations: 1.227 MB / 0.573 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003498/0.05762, allocations: 0.8061 MB / 0.5738 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.004582/0.0622, allocations: 2.185 MB / 0.5759 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002522/0.06472, allocations: 1.022 MB / 0.5769 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003121/0.06784, allocations: 1.208 MB / 0.5781 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002346/0.07019, allocations: 0.8257 MB / 0.5789 GB, free: 7.602 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0004322/0.07062, allocations: 119.9 kB / 0.579 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003467/0.07409, allocations: 1.079 MB / 0.5801 GB, free: 6.402 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.00135/0.07544, allocations: 0.5686 MB / 0.5806 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.001392/0.07683, allocations: 0.5298 MB / 0.5811 GB, free: 5.301 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.005921/0.08275, allocations: 2.484 MB / 0.5836 GB, free: 2.809 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.08276, allocations: 0 / 0.5836 GB, free: 2.809 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.322e-06/0.08276, allocations: 0 / 0.5836 GB, free: 2.809 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.314e-05/0.08282, allocations: 0 / 0.5836 GB, free: 2.809 MB / 0.4948 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.005822/0.08864, allocations: 1.832 MB / 0.5853 GB, free: 0.9336 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.08869, allocations: 8.75 kB / 0.5854 GB, free: 0.9258 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009062/0.09776, allocations: 0.9901 MB / 0.5863 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003372/0.1011, allocations: 0.9947 MB / 0.5873 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/0.1013, allocations: 90.91 kB / 0.5874 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000416/0.1017, allocations: 136.3 kB / 0.5875 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006278/0.108, allocations: 2.404 MB / 0.5899 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.818e-05/0.108, allocations: 12.06 kB / 0.5899 GB, free: 12 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002547/0.1083, allocations: 64.34 kB / 0.5899 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004028/0.1087, allocations: 166.2 kB / 0.5901 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005498/0.1142, allocations: 1.859 MB / 0.5919 GB, free: 9.902 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01943/0.1336, allocations: 9.2 MB / 0.6009 GB, free: 428 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2275/0.3612, allocations: 1.849 MB / 0.6027 GB, free: 99.75 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006647/0.3618, allocations: 0.5558 MB / 0.6032 GB, free: 99.75 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001397/0.362, allocations: 27.92 kB / 0.6033 GB, free: 99.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.362, allocations: 45.06 kB / 0.6033 GB, free: 99.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=103): time 3.186e-06/0.362, allocations: 0.5938 kB / 0.6033 GB, free: 99.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=110): time 0.004857/0.3669, allocations: 3.159 MB / 0.6064 GB, free: 98.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.3669, allocations: 64.19 kB / 0.6065 GB, free: 98.74 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000792/0.3677, allocations: 0.8758 MB / 0.6073 GB, free: 98.38 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.258e-05/0.3677, allocations: 48.61 kB / 0.6074 GB, free: 98.33 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003001/0.368, allocations: 0.7489 MB / 0.6081 GB, free: 97.82 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/0.3682, allocations: 404.5 kB / 0.6085 GB, free: 97.56 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000335/0.3686, allocations: 286.4 kB / 0.6087 GB, free: 97.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.595e-05/0.3686, allocations: 305.1 kB / 0.609 GB, free: 97.13 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00075/0.3694, allocations: 0.6108 MB / 0.6096 GB, free: 96.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009466/0.3703, allocations: 1.107 MB / 0.6107 GB, free: 96.12 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001823/0.3722, allocations: 1.831 MB / 0.6125 GB, free: 94.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.866e-06/0.3722, allocations: 7.875 kB / 0.6125 GB, free: 94.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003026/0.3752, allocations: 2.162 MB / 0.6146 GB, free: 94.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.3752, allocations: 11.75 kB / 0.6146 GB, free: 94.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.3753, allocations: 15.31 kB / 0.6146 GB, free: 94.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008738/0.3761, allocations: 277 kB / 0.6149 GB, free: 93.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.3773, allocations: 377.1 kB / 0.6153 GB, free: 93.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005811/0.3831, allocations: 10.58 MB / 0.6256 GB, free: 83.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.3842, allocations: 124.4 kB / 0.6257 GB, free: 83.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.3843, allocations: 70.61 kB / 0.6258 GB, free: 83.86 MB / 0.5105 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.0005516/0.3849, allocations: 411.4 kB / 0.6262 GB, free: 83.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002229/0.3851, allocations: 168.8 kB / 0.6263 GB, free: 83.52 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002699/0.3878, allocations: 1.671 MB / 0.628 GB, free: 82.84 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.3878, allocations: 10.84 kB / 0.628 GB, free: 82.84 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.3878, allocations: 6.344 kB / 0.628 GB, free: 82.84 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.3878, allocations: 8.922 kB / 0.628 GB, free: 82.84 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004513/0.3923, allocations: 2.934 MB / 0.6309 GB, free: 81.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.3923, allocations: 5.016 kB / 0.6309 GB, free: 81.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008627/0.3932, allocations: 223.6 kB / 0.6311 GB, free: 81.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000792/0.394, allocations: 260.3 kB / 0.6313 GB, free: 81.42 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.563e-05/0.3941, allocations: 29.58 kB / 0.6314 GB, free: 81.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005962/0.4, allocations: 10.56 MB / 0.6417 GB, free: 71.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.4, allocations: 9.938 kB / 0.6417 GB, free: 71.35 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002534/0.4026, allocations: 1.813 MB / 0.6435 GB, free: 70.43 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005097/0.4031, allocations: 231.6 kB / 0.6437 GB, free: 70.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/0.4033, allocations: 29.16 kB / 0.6437 GB, free: 70.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000756/0.404, allocations: 95.02 kB / 0.6438 GB, free: 70.29 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002031/0.4042, allocations: 98.59 kB / 0.6439 GB, free: 70.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.402e-05/0.4043, allocations: 35.45 kB / 0.6439 GB, free: 70.26 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007322/0.405, allocations: 0.5695 MB / 0.6445 GB, free: 70.02 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.1e-08/0.405, allocations: 0.625 kB / 0.6445 GB, free: 70.02 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001449/0.4065, allocations: 397.1 kB / 0.6449 GB, free: 69.98 MB / 0.5105 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.0002095/0.4067, allocations: 142.9 kB / 0.645 GB, free: 69.87 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003185/0.4099, allocations: 2.408 MB / 0.6473 GB, free: 68.51 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.4099, allocations: 1.938 kB / 0.6473 GB, free: 68.51 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001741/0.4116, allocations: 1.584 MB / 0.6489 GB, free: 67.41 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/0.4132, allocations: 354.8 kB / 0.6492 GB, free: 67.31 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003882/0.417, allocations: 2.834 MB / 0.652 GB, free: 65.86 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006799/0.4177, allocations: 0.7402 MB / 0.6527 GB, free: 65.68 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008189/0.4185, allocations: 350.4 kB / 0.6531 GB, free: 65.63 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002745/0.4188, allocations: 101.6 kB / 0.6532 GB, free: 65.61 MB / 0.5105 GB Notification: Performance of SimCode: time 6.41e-07/0.4188, allocations: 0 / 0.6532 GB, free: 65.61 MB / 0.5105 GB Notification: Performance of Templates: time 0.02308/0.4419, allocations: 17.33 MB / 0.6701 GB, free: 50.14 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.441052812966518]