Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.0009079/0.0009079, allocations: 81.86 kB / 19.87 MB, free: 4.621 MB / 18.57 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.0009685/0.0009685, allocations: 169.7 kB / 23.28 MB, free: 1.219 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 0.9485/0.9485, allocations: 177.1 MB / 203.7 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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.001785/0.001785, allocations: 233 kB / 260.5 MB, free: 12.66 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 0.6812/0.6812, allocations: 138.4 MB / 455.5 MB, free: 1.43 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.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.5556 GB, free: 276 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.043e-05/3.199e-05, allocations: 2.312 kB / 0.5556 GB, free: 272 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004881/0.004913, allocations: 3.234 MB / 0.5588 GB, free: 13.01 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002169/0.007082, allocations: 1.177 MB / 0.5599 GB, free: 11.83 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002363/0.007318, allocations: 27.75 kB / 0.5599 GB, free: 11.8 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005552/0.007874, allocations: 131 kB / 0.5601 GB, free: 11.67 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005519/0.008425, allocations: 282.2 kB / 0.5603 GB, free: 11.39 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004324/0.008858, allocations: 219.5 kB / 0.5605 GB, free: 11.18 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007325/0.00959, allocations: 0.7023 MB / 0.5612 GB, free: 10.48 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003805/0.009971, allocations: 250 kB / 0.5615 GB, free: 10.23 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005267/0.0105, allocations: 371 kB / 0.5618 GB, free: 9.863 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003964/0.01089, allocations: 251.3 kB / 0.5621 GB, free: 9.617 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.641e-05/0.01095, allocations: 32 kB / 0.5621 GB, free: 9.586 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.01115, allocations: 99.78 kB / 0.5622 GB, free: 9.488 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.0113, allocations: 147.5 kB / 0.5623 GB, free: 9.344 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.01146, allocations: 155.6 kB / 0.5625 GB, free: 9.191 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004866/0.01194, allocations: 406.4 kB / 0.5629 GB, free: 8.793 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.01195, allocations: 0 / 0.5629 GB, free: 8.793 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.01195, allocations: 4 kB / 0.5629 GB, free: 8.789 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.01195, allocations: 0 / 0.5629 GB, free: 8.789 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0008884/0.01284, allocations: 0.7799 MB / 0.5636 GB, free: 7.973 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.01288, allocations: 8.75 kB / 0.5636 GB, free: 7.965 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009987/0.01388, allocations: 220.1 kB / 0.5638 GB, free: 7.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005289/0.01441, allocations: 382.7 kB / 0.5642 GB, free: 7.348 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.01444, allocations: 25.38 kB / 0.5642 GB, free: 7.324 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.137e-05/0.0145, allocations: 36.36 kB / 0.5643 GB, free: 7.289 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008172/0.01531, allocations: 0.5824 MB / 0.5648 GB, free: 6.566 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.01534, allocations: 12.12 kB / 0.5648 GB, free: 6.555 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/0.01537, allocations: 16.36 kB / 0.5649 GB, free: 6.539 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.702e-05/0.01545, allocations: 55.84 kB / 0.5649 GB, free: 6.484 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003316/0.01578, allocations: 210.7 kB / 0.5651 GB, free: 6.281 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002449/0.01823, allocations: 4.152 MB / 0.5692 GB, free: 1.973 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.01926, allocations: 437 kB / 0.5696 GB, free: 1.508 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.01936, allocations: 70.97 kB / 0.5697 GB, free: 1.426 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.01939, allocations: 7.938 kB / 0.5697 GB, free: 1.418 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.01942, allocations: 45.39 kB / 0.5697 GB, free: 1.363 MB / 490.7 MB Notification: Performance of pre-optimization done (n=30): time 1.803e-06/0.01942, allocations: 0 / 0.5697 GB, free: 1.363 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.001171/0.02059, allocations: 491.7 kB / 0.5702 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.02063, allocations: 110.8 kB / 0.5703 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003078/0.02094, allocations: 414.3 kB / 0.5707 GB, free: 316 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.02096, allocations: 29.7 kB / 0.5707 GB, free: 280 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.02115, allocations: 342.9 kB / 0.571 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.286e-05/0.02124, allocations: 122.9 kB / 0.5711 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.02136, allocations: 103.9 kB / 0.5712 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004013/0.02177, allocations: 0.5273 MB / 0.5718 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.02187, allocations: 61.27 kB / 0.5718 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.02213, allocations: 357 kB / 0.5722 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004178/0.02254, allocations: 466 kB / 0.5726 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.02255, allocations: 0 / 0.5726 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0006767/0.02323, allocations: 475.7 kB / 0.5731 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.02324, allocations: 8 kB / 0.5731 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.02326, allocations: 4 kB / 0.5731 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002549/0.02351, allocations: 87.48 kB / 0.5732 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/0.02381, allocations: 103.8 kB / 0.5733 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00292/0.02673, allocations: 5.175 MB / 0.5783 GB, free: 7.824 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002403/0.02697, allocations: 20 kB / 0.5783 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/0.027, allocations: 20 kB / 0.5783 GB, free: 7.785 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0001444/0.02714, allocations: 196.5 kB / 0.5785 GB, free: 7.582 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.02725, allocations: 55.72 kB / 0.5786 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004938/0.02774, allocations: 323.4 kB / 0.5789 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.02775, allocations: 4 kB / 0.5789 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.02775, allocations: 0 / 0.5789 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.02776, allocations: 4 kB / 0.5789 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.02889, allocations: 0.9857 MB / 0.5799 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.02889, allocations: 0 / 0.5799 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.02906, allocations: 51.86 kB / 0.5799 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002031/0.02926, allocations: 79.28 kB / 0.58 GB, free: 5.973 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.02929, allocations: 8 kB / 0.58 GB, free: 5.965 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002479/0.03177, allocations: 5.175 MB / 0.5851 GB, free: 460 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.03177, allocations: 7.984 kB / 0.5851 GB, free: 452 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007349/0.03251, allocations: 0.7449 MB / 0.5858 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.03264, allocations: 75.66 kB / 0.5859 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.182e-05/0.03268, allocations: 12 kB / 0.5859 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.03292, allocations: 8 kB / 0.5859 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-05/0.03297, allocations: 35.83 kB / 0.5859 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.03299, allocations: 15.94 kB / 0.5859 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001794/0.03317, allocations: 259 kB / 0.5862 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1e-07/0.03317, allocations: 0 / 0.5862 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006787/0.03385, allocations: 124 kB / 0.5863 GB, free: 15.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0001277/0.03398, allocations: 111.1 kB / 0.5864 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007856/0.03476, allocations: 0.7648 MB / 0.5871 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.03477, allocations: 0 / 0.5871 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004536/0.03522, allocations: 0.6198 MB / 0.5877 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008148/0.03604, allocations: 134.6 kB / 0.5879 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.03733, allocations: 0.8494 MB / 0.5887 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.03746, allocations: 133.8 kB / 0.5888 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001875/0.03764, allocations: 64.38 kB / 0.5889 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002634/0.03791, allocations: 174.1 kB / 0.5891 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of SimCode: time 7.72e-07/0.03791, allocations: 3.938 kB / 0.5891 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of Templates: time 0.01102/0.04892, allocations: 6.328 MB / 0.5952 GB, free: 5.832 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.648949791211635]