Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.0009823/0.0009823, allocations: 73.88 kB / 20.65 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.0009836/0.0009836, allocations: 169 kB / 24.06 MB, free: 452 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.9199/0.9199, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.002685/0.002685, allocations: 245.8 kB / 261.3 MB, free: 12.67 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.7501/0.7501, allocations: 138.4 MB / 456.3 MB, free: 1.465 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_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.5564 GB, free: 284 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.71e-05, allocations: 5.688 kB / 0.5564 GB, free: 280 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.009373/0.00939, allocations: 11.56 MB / 0.5677 GB, free: 4.66 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005257/0.01465, allocations: 3.593 MB / 0.5712 GB, free: 1.059 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000793/0.01544, allocations: 115.1 kB / 0.5713 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008562/0.0163, allocations: 496.5 kB / 0.5718 GB, free: 468 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001354/0.01765, allocations: 1.114 MB / 0.5729 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.01887, allocations: 1.01 MB / 0.5738 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.003357/0.02223, allocations: 4.876 MB / 0.5786 GB, free: 9.434 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002722/0.02495, allocations: 3.131 MB / 0.5817 GB, free: 6.23 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00272/0.02767, allocations: 2.994 MB / 0.5846 GB, free: 3.23 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002117/0.02979, allocations: 2.381 MB / 0.5869 GB, free: 0.8438 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003989/0.03019, allocations: 428 kB / 0.5873 GB, free: 436 kB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005944/0.03078, allocations: 0.5036 MB / 0.5878 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001022/0.0318, allocations: 1.812 MB / 0.5896 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001058/0.03286, allocations: 1.341 MB / 0.5909 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002627/0.03549, allocations: 3.35 MB / 0.5942 GB, free: 9.402 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.03549, allocations: 7.938 kB / 0.5942 GB, free: 9.395 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.71e-07/0.03549, allocations: 0 / 0.5942 GB, free: 9.395 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.967e-05/0.03554, allocations: 0 / 0.5942 GB, free: 9.395 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.003376/0.03892, allocations: 3.579 MB / 0.5977 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.03895, allocations: 8.75 kB / 0.5977 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00169/0.04064, allocations: 0.8883 MB / 0.5985 GB, free: 4.859 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/0.04233, allocations: 1.763 MB / 0.6003 GB, free: 3.043 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.04244, allocations: 222.3 kB / 0.6005 GB, free: 2.824 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002952/0.04274, allocations: 296.3 kB / 0.6008 GB, free: 2.535 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2293/0.272, allocations: 2.935 MB / 0.6036 GB, free: 84.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.205e-05/0.2721, allocations: 16.27 kB / 0.6036 GB, free: 84.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002153/0.2723, allocations: 131.3 kB / 0.6038 GB, free: 84.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002221/0.2725, allocations: 212.9 kB / 0.604 GB, free: 84.39 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001602/0.2741, allocations: 0.8965 MB / 0.6048 GB, free: 84.34 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00804/0.2822, allocations: 13.64 MB / 0.6182 GB, free: 76.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005072/0.2827, allocations: 0.5033 MB / 0.6187 GB, free: 76.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003701/0.2831, allocations: 388.3 kB / 0.619 GB, free: 76.67 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.639e-05/0.2831, allocations: 18.84 kB / 0.619 GB, free: 76.67 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.2831, allocations: 49.8 kB / 0.6191 GB, free: 76.62 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=107): time 2.094e-06/0.2831, allocations: 1.312 kB / 0.6191 GB, free: 76.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=138): time 0.006943/0.2901, allocations: 3.806 MB / 0.6228 GB, free: 76.09 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.2901, allocations: 66.28 kB / 0.6229 GB, free: 76.03 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007376/0.2908, allocations: 0.9811 MB / 0.6238 GB, free: 75.77 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.009e-05/0.2909, allocations: 50.73 kB / 0.6239 GB, free: 75.72 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006229/0.2915, allocations: 1.4 MB / 0.6252 GB, free: 74.85 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002857/0.2918, allocations: 0.5145 MB / 0.6258 GB, free: 74.47 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003118/0.2921, allocations: 304.1 kB / 0.626 GB, free: 74.34 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.76e-05/0.2921, allocations: 482.4 kB / 0.6265 GB, free: 73.86 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/0.2925, allocations: 232.2 kB / 0.6267 GB, free: 73.86 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005518/0.293, allocations: 0.8161 MB / 0.6275 GB, free: 73.17 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009364/0.294, allocations: 1.176 MB / 0.6287 GB, free: 72.35 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.294, allocations: 4.094 kB / 0.6287 GB, free: 72.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.002493/0.2965, allocations: 1.748 MB / 0.6304 GB, free: 71.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.2965, allocations: 10.22 kB / 0.6304 GB, free: 71.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.2965, allocations: 12.56 kB / 0.6304 GB, free: 71.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001972/0.2985, allocations: 0.896 MB / 0.6313 GB, free: 71.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004666/0.299, allocations: 226.5 kB / 0.6315 GB, free: 71.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006011/0.305, allocations: 8.723 MB / 0.64 GB, free: 65.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004588/0.3054, allocations: 48.06 kB / 0.6401 GB, free: 65.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-05/0.3055, allocations: 50.72 kB / 0.6401 GB, free: 65.19 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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 {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004048/0.3059, allocations: 247.6 kB / 0.6403 GB, free: 64.97 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/0.3061, allocations: 199.2 kB / 0.6405 GB, free: 64.88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002129/0.3082, allocations: 1.513 MB / 0.642 GB, free: 64.41 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.3082, allocations: 14 kB / 0.642 GB, free: 64.41 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.977e-05/0.3082, allocations: 12.08 kB / 0.642 GB, free: 64.41 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.3083, allocations: 8.188 kB / 0.642 GB, free: 64.41 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00381/0.3121, allocations: 3.213 MB / 0.6452 GB, free: 63.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.3121, allocations: 3.594 kB / 0.6452 GB, free: 63.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002606/0.3123, allocations: 116.6 kB / 0.6453 GB, free: 63.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001607/0.3139, allocations: 0.8241 MB / 0.6461 GB, free: 63 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.188e-05/0.314, allocations: 30.66 kB / 0.6461 GB, free: 62.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005081/0.3191, allocations: 8.676 MB / 0.6546 GB, free: 56.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3191, allocations: 6.531 kB / 0.6546 GB, free: 56.43 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/0.3208, allocations: 1.739 MB / 0.6563 GB, free: 55.66 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002893/0.321, allocations: 291.7 kB / 0.6566 GB, free: 55.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.3211, allocations: 34.19 kB / 0.6566 GB, free: 55.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007581/0.3219, allocations: 27.14 kB / 0.6566 GB, free: 55.44 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002711/0.3222, allocations: 135.1 kB / 0.6568 GB, free: 55.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.387e-05/0.3222, allocations: 31.48 kB / 0.6568 GB, free: 55.41 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004118/0.3226, allocations: 0.5421 MB / 0.6573 GB, free: 55.23 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.3226, allocations: 0 / 0.6573 GB, free: 55.23 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001565/0.3242, allocations: 0.6708 MB / 0.658 GB, free: 55.17 MB / 0.5105 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 (70): * Single equations (assignments): 67 * 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 {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001802/0.3244, allocations: 141.3 kB / 0.6581 GB, free: 55.06 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002004/0.3264, allocations: 1.948 MB / 0.66 GB, free: 54.03 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.3264, allocations: 1.422 kB / 0.66 GB, free: 54.03 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0012/0.3276, allocations: 1.501 MB / 0.6615 GB, free: 53 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.3287, allocations: 479.1 kB / 0.6619 GB, free: 52.59 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005002/0.3337, allocations: 4.786 MB / 0.6666 GB, free: 47.74 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005918/0.3343, allocations: 0.8011 MB / 0.6674 GB, free: 46.92 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004714/0.3348, allocations: 181.7 kB / 0.6676 GB, free: 46.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005202/0.3353, allocations: 453.9 kB / 0.668 GB, free: 46.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.082e-06/0.3353, allocations: 0 / 0.668 GB, free: 46.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.03853/0.3739, allocations: 36.24 MB / 0.7034 GB, free: 10.82 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.373006583191454]