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.0008825/0.0008825, allocations: 92.22 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.0009148/0.0009148, allocations: 169 kB / 23.02 MB, free: 1.547 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.006/1.006, 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.001599/0.001599, allocations: 241.1 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.7367/0.7367, allocations: 138.4 MB / 455.2 MB, free: 1.543 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.954e-06/1.954e-06, allocations: 3.938 kB / 0.5551 GB, free: 0.5 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.565e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.4961 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02363/0.02365, allocations: 20.03 MB / 0.5747 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01195/0.0356, allocations: 5.596 MB / 0.5802 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002564/0.03816, allocations: 190.6 kB / 0.5803 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.002186/0.04035, allocations: 0.8453 MB / 0.5812 GB, free: 5.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.004063/0.04441, allocations: 1.844 MB / 0.583 GB, free: 3.875 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002495/0.04691, allocations: 1.634 MB / 0.5846 GB, free: 2.238 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.006196/0.0531, allocations: 8.028 MB / 0.5924 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004837/0.05794, allocations: 5.222 MB / 0.5975 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.213/0.271, allocations: 4.851 MB / 0.6022 GB, free: 70.71 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004565/0.2756, allocations: 3.7 MB / 0.6059 GB, free: 70.71 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001019/0.2766, allocations: 0.6801 MB / 0.6065 GB, free: 70.71 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.2777, allocations: 0.769 MB / 0.6073 GB, free: 70.71 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0015/0.2792, allocations: 2.845 MB / 0.6101 GB, free: 70.71 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001888/0.2811, allocations: 2.191 MB / 0.6122 GB, free: 70.71 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.004226/0.2853, allocations: 5.341 MB / 0.6174 GB, free: 70.32 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2853, allocations: 0.6562 kB / 0.6174 GB, free: 70.32 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2853, allocations: 1.156 kB / 0.6174 GB, free: 70.32 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.525e-05/0.2854, allocations: 0.5625 kB / 0.6174 GB, free: 70.32 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.006309/0.2917, allocations: 5.628 MB / 0.6229 GB, free: 68.21 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.2918, allocations: 10.16 kB / 0.6229 GB, free: 68.21 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003105/0.2949, allocations: 1.523 MB / 0.6244 GB, free: 67.84 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00352/0.2984, allocations: 3.101 MB / 0.6274 GB, free: 66.66 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001868/0.2986, allocations: 360.5 kB / 0.6278 GB, free: 66.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005437/0.2991, allocations: 483 kB / 0.6282 GB, free: 66.35 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006091/0.3052, allocations: 5.386 MB / 0.6335 GB, free: 63.03 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.569e-05/0.3053, allocations: 23.73 kB / 0.6335 GB, free: 63.03 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003482/0.3056, allocations: 210.2 kB / 0.6337 GB, free: 62.88 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000337/0.306, allocations: 371.7 kB / 0.6341 GB, free: 62.84 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003286/0.3093, allocations: 1.849 MB / 0.6359 GB, free: 62.55 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01318/0.3224, allocations: 26.24 MB / 0.6615 GB, free: 42.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.3236, allocations: 0.8873 MB / 0.6624 GB, free: 42.32 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006513/0.3243, allocations: 0.607 MB / 0.663 GB, free: 42.19 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.716e-05/0.3243, allocations: 26.94 kB / 0.663 GB, free: 42.19 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.3244, allocations: 54.17 kB / 0.663 GB, free: 42.13 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=157): time 3.326e-06/0.3244, allocations: 0 / 0.663 GB, free: 42.13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=160): time 0.005166/0.3295, allocations: 3.888 MB / 0.6668 GB, free: 40.57 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.3296, allocations: 77.06 kB / 0.6669 GB, free: 40.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009775/0.3305, allocations: 1.589 MB / 0.6685 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.474e-05/0.3306, allocations: 52.39 kB / 0.6685 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005438/0.3311, allocations: 2.247 MB / 0.6707 GB, free: 37.66 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/0.3314, allocations: 0.5895 MB / 0.6713 GB, free: 37.16 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003321/0.3317, allocations: 411.8 kB / 0.6717 GB, free: 36.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.994e-05/0.3317, allocations: 476.8 kB / 0.6721 GB, free: 36.33 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005065/0.3322, allocations: 376.2 kB / 0.6725 GB, free: 35.96 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007272/0.333, allocations: 1.367 MB / 0.6738 GB, free: 34.17 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.3343, allocations: 1.917 MB / 0.6757 GB, free: 31.92 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.3343, allocations: 8 kB / 0.6757 GB, free: 31.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.002453/0.3367, allocations: 2.372 MB / 0.678 GB, free: 29.65 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.3367, allocations: 16.94 kB / 0.678 GB, free: 29.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.3368, allocations: 20 kB / 0.6781 GB, free: 29.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001413/0.3382, allocations: 0.7448 MB / 0.6788 GB, free: 28.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008766/0.339, allocations: 425.3 kB / 0.6792 GB, free: 28.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007088/0.3461, allocations: 23.08 MB / 0.7017 GB, free: 4.066 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007859/0.3469, allocations: 128 kB / 0.7018 GB, free: 3.941 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.155e-05/0.347, allocations: 92 kB / 0.7019 GB, free: 3.852 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.0007157/0.3477, allocations: 301.2 kB / 0.7022 GB, free: 3.578 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/0.3479, allocations: 295.1 kB / 0.7025 GB, free: 3.289 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/0.3499, allocations: 1.726 MB / 0.7042 GB, free: 1.531 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.3499, allocations: 16 kB / 0.7042 GB, free: 1.516 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.3499, allocations: 12 kB / 0.7042 GB, free: 1.504 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.647e-06/0.3499, allocations: 8.812 kB / 0.7042 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005607/0.3555, allocations: 5.028 MB / 0.7091 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.3555, allocations: 4 kB / 0.7091 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004766/0.356, allocations: 218.3 kB / 0.7093 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001401/0.3574, allocations: 0.6903 MB / 0.71 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.754e-05/0.3574, allocations: 35.94 kB / 0.7101 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01064/0.3681, allocations: 23.06 MB / 0.7326 GB, free: 3.004 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.3681, allocations: 4 kB / 0.7326 GB, free: 3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002466/0.3705, allocations: 2.004 MB / 0.7345 GB, free: 0.8828 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005582/0.3711, allocations: 434.5 kB / 0.735 GB, free: 468 kB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.3713, allocations: 39.95 kB / 0.735 GB, free: 428 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005274/0.3718, allocations: 87.89 kB / 0.7351 GB, free: 340 kB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002232/0.372, allocations: 155.4 kB / 0.7352 GB, free: 196 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.747e-05/0.3721, allocations: 44 kB / 0.7353 GB, free: 152 kB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007945/0.3729, allocations: 0.8989 MB / 0.7361 GB, free: 15.23 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.3729, allocations: 0 / 0.7361 GB, free: 15.23 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002107/0.375, allocations: 0.9023 MB / 0.737 GB, free: 14.33 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.0002139/0.3752, allocations: 153.2 kB / 0.7372 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003111/0.3783, allocations: 3.73 MB / 0.7408 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.3783, allocations: 4 kB / 0.7408 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002159/0.3805, allocations: 2.992 MB / 0.7437 GB, free: 7.145 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/0.3822, allocations: 0.7751 MB / 0.7445 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00757/0.3897, allocations: 6.998 MB / 0.7513 GB, free: 15.29 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009177/0.3907, allocations: 1.169 MB / 0.7525 GB, free: 14.1 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0007469/0.3914, allocations: 436.5 kB / 0.7529 GB, free: 13.67 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.3917, allocations: 136.5 kB / 0.753 GB, free: 13.54 MB / 0.573 GB Notification: Performance of SimCode: time 5.61e-07/0.3917, allocations: 0 / 0.753 GB, free: 13.54 MB / 0.573 GB Notification: Performance of Templates: time 0.04495/0.4366, allocations: 42.76 MB / 0.7948 GB, free: 3.793 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.809671843890101]