Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.0009144/0.0009144, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009063/0.0009063, allocations: 173 kB / 23.03 MB, free: 1.539 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.922/0.922, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.001665/0.001665, allocations: 236.6 kB / 260.2 MB, free: 12.82 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.7526/0.7526, allocations: 138.4 MB / 455.2 MB, free: 1.504 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.5551 GB, free: 496 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.452e-05, allocations: 6.312 kB / 0.5551 GB, free: 488 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.01698/0.017, allocations: 20.03 MB / 0.5747 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01039/0.02739, allocations: 5.592 MB / 0.5802 GB, free: 6.754 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002853/0.03024, allocations: 194.5 kB / 0.5803 GB, free: 6.562 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.002417/0.03266, allocations: 0.8414 MB / 0.5812 GB, free: 5.715 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.00461/0.03727, allocations: 1.86 MB / 0.583 GB, free: 3.844 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003706/0.04098, allocations: 1.63 MB / 0.5846 GB, free: 2.211 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.009147/0.05012, allocations: 8.024 MB / 0.5924 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007226/0.05735, allocations: 5.222 MB / 0.5975 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2158/0.2732, allocations: 4.867 MB / 0.6023 GB, free: 70.85 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004881/0.2781, allocations: 3.749 MB / 0.6059 GB, free: 70.85 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001813/0.2799, allocations: 0.6785 MB / 0.6066 GB, free: 70.85 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002777/0.2827, allocations: 0.7649 MB / 0.6073 GB, free: 70.85 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.003206/0.2859, allocations: 2.832 MB / 0.6101 GB, free: 70.85 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.006631/0.2925, allocations: 2.177 MB / 0.6122 GB, free: 70.85 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01078/0.3033, allocations: 5.318 MB / 0.6174 GB, free: 70.46 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3033, allocations: 1.125 kB / 0.6174 GB, free: 70.46 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.395e-06/0.3033, allocations: 0 / 0.6174 GB, free: 70.46 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004243/0.3037, allocations: 1.312 kB / 0.6174 GB, free: 70.46 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01567/0.3194, allocations: 5.626 MB / 0.6229 GB, free: 68.35 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.3194, allocations: 10.78 kB / 0.6229 GB, free: 68.35 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005122/0.3245, allocations: 1.437 MB / 0.6243 GB, free: 67.99 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00639/0.3309, allocations: 3.052 MB / 0.6273 GB, free: 66.84 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003033/0.3312, allocations: 361.1 kB / 0.6277 GB, free: 66.68 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001753/0.333, allocations: 477.4 kB / 0.6281 GB, free: 66.53 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0132/0.3462, allocations: 5.388 MB / 0.6334 GB, free: 63.21 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001748/0.3464, allocations: 29.02 kB / 0.6334 GB, free: 63.21 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001013/0.3474, allocations: 204.7 kB / 0.6336 GB, free: 63.07 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004639/0.3478, allocations: 372.2 kB / 0.6339 GB, free: 63.02 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0067/0.3545, allocations: 1.85 MB / 0.6358 GB, free: 62.73 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02479/0.3793, allocations: 26.24 MB / 0.6614 GB, free: 42.71 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.3807, allocations: 0.8882 MB / 0.6622 GB, free: 42.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006946/0.3814, allocations: 0.6067 MB / 0.6628 GB, free: 42.37 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.019e-05/0.3815, allocations: 25.38 kB / 0.6629 GB, free: 42.37 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.3815, allocations: 57.2 kB / 0.6629 GB, free: 42.31 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=157): time 3.537e-06/0.3815, allocations: 0 / 0.6629 GB, free: 42.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=160): time 0.006807/0.3884, allocations: 3.895 MB / 0.6667 GB, free: 40.74 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.3884, allocations: 68.98 kB / 0.6668 GB, free: 40.67 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.3898, allocations: 1.592 MB / 0.6683 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001762/0.39, allocations: 53.52 kB / 0.6684 GB, free: 39.84 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000787/0.3908, allocations: 2.246 MB / 0.6706 GB, free: 37.86 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003793/0.3911, allocations: 0.5942 MB / 0.6712 GB, free: 37.32 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003497/0.3915, allocations: 401.9 kB / 0.6715 GB, free: 36.92 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.967e-05/0.3915, allocations: 484.7 kB / 0.672 GB, free: 36.44 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005206/0.3921, allocations: 372.2 kB / 0.6724 GB, free: 36.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007516/0.3928, allocations: 1.37 MB / 0.6737 GB, free: 34.28 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/0.3944, allocations: 1.914 MB / 0.6756 GB, free: 32.03 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-05/0.3944, allocations: 7.75 kB / 0.6756 GB, free: 32.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.003216/0.3976, allocations: 2.365 MB / 0.6779 GB, free: 29.77 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.58e-05/0.3977, allocations: 20.17 kB / 0.6779 GB, free: 29.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.3977, allocations: 28 kB / 0.6779 GB, free: 29.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001593/0.3993, allocations: 0.7349 MB / 0.6787 GB, free: 28.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009042/0.4002, allocations: 428.8 kB / 0.6791 GB, free: 28.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008338/0.4085, allocations: 23.09 MB / 0.7016 GB, free: 4.168 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.4101, allocations: 123.9 kB / 0.7017 GB, free: 4.047 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/0.4103, allocations: 92 kB / 0.7018 GB, free: 3.957 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001309/0.4116, allocations: 304 kB / 0.7021 GB, free: 3.684 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003583/0.412, allocations: 298.5 kB / 0.7024 GB, free: 3.391 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002095/0.4141, allocations: 1.729 MB / 0.7041 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.4141, allocations: 16 kB / 0.7041 GB, free: 1.617 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/0.4141, allocations: 8 kB / 0.7041 GB, free: 1.609 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.4141, allocations: 7.969 kB / 0.7041 GB, free: 1.602 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008319/0.4224, allocations: 5.017 MB / 0.709 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.4224, allocations: 8 kB / 0.709 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005661/0.423, allocations: 220.7 kB / 0.7092 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001716/0.4247, allocations: 0.6911 MB / 0.7099 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001288/0.4248, allocations: 39.94 kB / 0.7099 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01323/0.4381, allocations: 23.06 MB / 0.7325 GB, free: 3.113 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.4381, allocations: 4 kB / 0.7325 GB, free: 3.109 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003107/0.4412, allocations: 1.997 MB / 0.7344 GB, free: 0.9961 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.4422, allocations: 438.3 kB / 0.7348 GB, free: 0.5664 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002838/0.4425, allocations: 32.09 kB / 0.7349 GB, free: 0.5352 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006343/0.4431, allocations: 91.89 kB / 0.735 GB, free: 456 kB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003523/0.4435, allocations: 151.6 kB / 0.7351 GB, free: 312 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-05/0.4435, allocations: 48 kB / 0.7351 GB, free: 264 kB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000996/0.4445, allocations: 0.8951 MB / 0.736 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4445, allocations: 0 / 0.736 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003054/0.4476, allocations: 0.9023 MB / 0.7369 GB, free: 14.44 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003385/0.4479, allocations: 160.9 kB / 0.7371 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004297/0.4522, allocations: 3.725 MB / 0.7407 GB, free: 10.44 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/0.4522, allocations: 0 / 0.7407 GB, free: 10.44 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002624/0.4548, allocations: 3 MB / 0.7436 GB, free: 7.254 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002674/0.4575, allocations: 0.7614 MB / 0.7444 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/0.4704, allocations: 7 MB / 0.7512 GB, free: 15.42 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001589/0.472, allocations: 1.176 MB / 0.7524 GB, free: 14.21 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001369/0.4734, allocations: 440.5 kB / 0.7528 GB, free: 13.78 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/0.4737, allocations: 128.5 kB / 0.7529 GB, free: 13.66 MB / 0.573 GB Notification: Performance of SimCode: time 2.334e-06/0.4737, allocations: 0 / 0.7529 GB, free: 13.66 MB / 0.573 GB Notification: Performance of Templates: time 0.0584/0.5321, allocations: 44.7 MB / 0.7965 GB, free: 1.996 MB / 0.6042 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.89893380086869]