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.0009225/0.0009225, allocations: 77.97 kB / 20.66 MB, free: 3.844 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.001008/0.001008, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.967/0.967, allocations: 177.1 MB / 204.5 MB, free: 5.477 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.0017/0.0017, allocations: 237.6 kB / 261.3 MB, free: 12.64 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.7337/0.7337, allocations: 138.4 MB / 456.3 MB, free: 1.391 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.382e-06/1.382e-06, allocations: 0 / 0.5564 GB, free: 200 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.535e-05, allocations: 5.828 kB / 0.5564 GB, free: 196 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.01889/0.01891, allocations: 19.48 MB / 0.5754 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.009166/0.02808, allocations: 5.577 MB / 0.5809 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002487/0.03057, allocations: 190.6 kB / 0.581 GB, free: 6.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.002097/0.03266, allocations: 0.8414 MB / 0.5819 GB, free: 5.992 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.003479/0.03614, allocations: 1.856 MB / 0.5837 GB, free: 4.125 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002839/0.03898, allocations: 1.63 MB / 0.5853 GB, free: 2.492 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.007292/0.04627, allocations: 8.024 MB / 0.5931 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006374/0.05265, allocations: 5.222 MB / 0.5982 GB, free: 5.098 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007487/0.06013, allocations: 4.869 MB / 0.603 GB, free: 224 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.221/0.2811, allocations: 3.761 MB / 0.6066 GB, free: 72.52 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001899/0.283, allocations: 0.6767 MB / 0.6073 GB, free: 72.52 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002194/0.2852, allocations: 0.76 MB / 0.608 GB, free: 72.52 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.00259/0.2878, allocations: 2.83 MB / 0.6108 GB, free: 72.52 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.004486/0.2923, allocations: 2.173 MB / 0.6129 GB, free: 72.52 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.007359/0.2997, allocations: 5.323 MB / 0.6181 GB, free: 72.13 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.2997, allocations: 0.6562 kB / 0.6181 GB, free: 72.13 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2997, allocations: 0 / 0.6181 GB, free: 72.13 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003276/0.3, allocations: 0.5 kB / 0.6181 GB, free: 72.13 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.01259/0.3126, allocations: 5.603 MB / 0.6236 GB, free: 70.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.3127, allocations: 13.56 kB / 0.6236 GB, free: 70.02 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003629/0.3163, allocations: 1.316 MB / 0.6249 GB, free: 69.66 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005452/0.3217, allocations: 2.814 MB / 0.6276 GB, free: 68.57 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002899/0.322, allocations: 355.4 kB / 0.628 GB, free: 68.42 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009807/0.323, allocations: 483.6 kB / 0.6284 GB, free: 68.27 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007996/0.331, allocations: 5.063 MB / 0.6334 GB, free: 65.29 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001314/0.3311, allocations: 24.16 kB / 0.6334 GB, free: 65.29 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004142/0.3315, allocations: 212.5 kB / 0.6336 GB, free: 65.14 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000435/0.332, allocations: 374.4 kB / 0.634 GB, free: 65.09 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003304/0.3353, allocations: 1.464 MB / 0.6354 GB, free: 64.99 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01719/0.3525, allocations: 25.04 MB / 0.6599 GB, free: 45.67 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.3535, allocations: 0.7776 MB / 0.6606 GB, free: 45.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004742/0.354, allocations: 0.5216 MB / 0.6611 GB, free: 45.44 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.117e-05/0.3541, allocations: 30.28 kB / 0.6611 GB, free: 45.44 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.3541, allocations: 57.67 kB / 0.6612 GB, free: 45.38 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=157): time 3.516e-06/0.3541, allocations: 0 / 0.6612 GB, free: 45.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=160): time 0.005448/0.3595, allocations: 3.097 MB / 0.6642 GB, free: 44.31 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.3596, allocations: 75.41 kB / 0.6643 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.3606, allocations: 1.568 MB / 0.6658 GB, free: 43.82 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.793e-05/0.3607, allocations: 56.73 kB / 0.6659 GB, free: 43.77 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007396/0.3614, allocations: 2.262 MB / 0.6681 GB, free: 42.12 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002718/0.3617, allocations: 0.5877 MB / 0.6687 GB, free: 41.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003385/0.362, allocations: 419.8 kB / 0.6691 GB, free: 41.49 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.4e-05/0.362, allocations: 476.8 kB / 0.6695 GB, free: 41.02 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003247/0.3624, allocations: 287.2 kB / 0.6698 GB, free: 40.99 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005852/0.363, allocations: 1.287 MB / 0.6711 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.3641, allocations: 1.757 MB / 0.6728 GB, free: 38.19 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.505e-05/0.3641, allocations: 3.812 kB / 0.6728 GB, free: 38.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.002356/0.3665, allocations: 2.147 MB / 0.6749 GB, free: 36.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.3665, allocations: 16 kB / 0.6749 GB, free: 36.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.472e-05/0.3665, allocations: 20 kB / 0.6749 GB, free: 36.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001399/0.3679, allocations: 0.7207 MB / 0.6756 GB, free: 36.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007396/0.3686, allocations: 373.8 kB / 0.676 GB, free: 35.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007206/0.3759, allocations: 22.66 MB / 0.6981 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.3773, allocations: 68 kB / 0.6982 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.873e-05/0.3774, allocations: 76.06 kB / 0.6982 GB, free: 11.88 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.001255/0.3786, allocations: 297.9 kB / 0.6985 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002884/0.3789, allocations: 302.5 kB / 0.6988 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/0.3806, allocations: 1.565 MB / 0.7003 GB, free: 9.73 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.3806, allocations: 16 kB / 0.7003 GB, free: 9.715 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.3806, allocations: 15.94 kB / 0.7004 GB, free: 9.699 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.679e-06/0.3807, allocations: 7.969 kB / 0.7004 GB, free: 9.691 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005112/0.3858, allocations: 3.827 MB / 0.7041 GB, free: 6.086 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.3858, allocations: 8 kB / 0.7041 GB, free: 6.078 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004368/0.3862, allocations: 170.8 kB / 0.7043 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001327/0.3875, allocations: 0.6711 MB / 0.7049 GB, free: 5.223 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.497e-05/0.3876, allocations: 36 kB / 0.705 GB, free: 5.188 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009944/0.3976, allocations: 22.63 MB / 0.7271 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.758e-06/0.3976, allocations: 4 kB / 0.7271 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002722/0.4003, allocations: 1.849 MB / 0.7289 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008087/0.4011, allocations: 397.7 kB / 0.7293 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/0.4013, allocations: 36 kB / 0.7293 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005272/0.4018, allocations: 36 kB / 0.7293 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002959/0.4021, allocations: 148 kB / 0.7295 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.736e-05/0.4022, allocations: 36 kB / 0.7295 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006654/0.4028, allocations: 0.8251 MB / 0.7303 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4028, allocations: 0 / 0.7303 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00259/0.4054, allocations: 0.9062 MB / 0.7312 GB, free: 9.215 MB / 0.5417 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.0002397/0.4057, allocations: 157.3 kB / 0.7313 GB, free: 9.059 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003135/0.4088, allocations: 3.564 MB / 0.7348 GB, free: 5.418 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.4088, allocations: 4 kB / 0.7348 GB, free: 5.414 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002119/0.4109, allocations: 2.923 MB / 0.7377 GB, free: 2.344 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/0.4131, allocations: 0.7656 MB / 0.7384 GB, free: 1.625 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009563/0.4227, allocations: 6.99 MB / 0.7453 GB, free: 10.54 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/0.4239, allocations: 1.176 MB / 0.7464 GB, free: 9.332 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009965/0.4249, allocations: 288.8 kB / 0.7467 GB, free: 9.047 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0011/0.426, allocations: 0.736 MB / 0.7474 GB, free: 8.309 MB / 0.5573 GB Notification: Performance of SimCode: time 1.714e-06/0.426, allocations: 0 / 0.7474 GB, free: 8.309 MB / 0.5573 GB Notification: Performance of Templates: time 0.06027/0.4862, allocations: 46.17 MB / 0.7925 GB, free: 11.23 MB / 0.6042 GB " [Timeout remaining time 660] 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.925178967881948]