Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.001078/0.001078, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009857/0.0009857, allocations: 173 kB / 23.49 MB, free: 1.059 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.9554/0.9554, allocations: 177.1 MB / 203.8 MB, free: 5.605 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.00152/0.00152, allocations: 237.4 kB / 260.5 MB, free: 12.86 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.69/0.69, allocations: 138.4 MB / 455.4 MB, free: 1.512 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.5551 GB, free: 0.832 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.79e-05/1.948e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.0206/0.02062, allocations: 26.97 MB / 0.5814 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01009/0.03071, allocations: 8.27 MB / 0.5895 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.03186, allocations: 154.8 kB / 0.5896 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.003131/0.03499, allocations: 2.854 MB / 0.5924 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002278/0.03727, allocations: 1.717 MB / 0.5941 GB, free: 8.723 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002634/0.0399, allocations: 1.699 MB / 0.5957 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.004173/0.04408, allocations: 6.254 MB / 0.6019 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2076/0.2517, allocations: 3.769 MB / 0.6055 GB, free: 66.04 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004199/0.2559, allocations: 3.754 MB / 0.6092 GB, free: 66.04 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002911/0.2588, allocations: 2.808 MB / 0.6119 GB, free: 66.04 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0008313/0.2597, allocations: 0.513 MB / 0.6124 GB, free: 66.04 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001731/0.2614, allocations: 1.218 MB / 0.6136 GB, free: 66.04 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001765/0.2632, allocations: 2.226 MB / 0.6158 GB, free: 66.02 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002769/0.2659, allocations: 1.677 MB / 0.6174 GB, free: 65.87 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.004648/0.2706, allocations: 4.518 MB / 0.6219 GB, free: 65.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.2706, allocations: 0 / 0.6219 GB, free: 65.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2706, allocations: 0.5938 kB / 0.6219 GB, free: 65.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.14e-05/0.2707, allocations: 0.8906 kB / 0.6219 GB, free: 65.4 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.006239/0.2769, allocations: 4.471 MB / 0.6262 GB, free: 63.61 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.2769, allocations: 10.67 kB / 0.6262 GB, free: 63.61 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003513/0.2804, allocations: 1.273 MB / 0.6275 GB, free: 63.31 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002988/0.2834, allocations: 2.509 MB / 0.6299 GB, free: 62.59 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.2836, allocations: 276.5 kB / 0.6302 GB, free: 62.48 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005087/0.2841, allocations: 381.9 kB / 0.6306 GB, free: 62.36 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004853/0.2889, allocations: 3.968 MB / 0.6344 GB, free: 60.02 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.748e-05/0.289, allocations: 23.88 kB / 0.6345 GB, free: 60.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003105/0.2893, allocations: 167.2 kB / 0.6346 GB, free: 59.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000352/0.2897, allocations: 281.5 kB / 0.6349 GB, free: 59.87 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002705/0.2924, allocations: 1.415 MB / 0.6363 GB, free: 59.66 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0115/0.3039, allocations: 19.81 MB / 0.6556 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006847/0.3046, allocations: 454.9 kB / 0.656 GB, free: 44.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004894/0.305, allocations: 420.5 kB / 0.6564 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.265e-05/0.3051, allocations: 21.88 kB / 0.6565 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.3051, allocations: 47.89 kB / 0.6565 GB, free: 44.45 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=110): time 3.387e-06/0.3051, allocations: 0 / 0.6565 GB, free: 44.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=131): time 0.007682/0.3128, allocations: 4.889 MB / 0.6613 GB, free: 42.54 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.3128, allocations: 67.25 kB / 0.6614 GB, free: 42.47 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009653/0.3138, allocations: 1.294 MB / 0.6626 GB, free: 41.93 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.354e-05/0.3139, allocations: 52.55 kB / 0.6627 GB, free: 41.88 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005887/0.3145, allocations: 1.783 MB / 0.6644 GB, free: 40.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002182/0.3147, allocations: 0.4904 MB / 0.6649 GB, free: 40.12 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002951/0.315, allocations: 333.6 kB / 0.6652 GB, free: 39.94 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.455e-05/0.315, allocations: 476.8 kB / 0.6657 GB, free: 39.47 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004611/0.3155, allocations: 331.4 kB / 0.666 GB, free: 39.43 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006632/0.3161, allocations: 1.108 MB / 0.6671 GB, free: 38.35 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.3174, allocations: 1.563 MB / 0.6686 GB, free: 36.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.3174, allocations: 4 kB / 0.6686 GB, free: 36.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002332/0.3197, allocations: 1.988 MB / 0.6705 GB, free: 35.03 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.3198, allocations: 12 kB / 0.6705 GB, free: 35.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.3198, allocations: 19.94 kB / 0.6706 GB, free: 35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/0.321, allocations: 0.5757 MB / 0.6711 GB, free: 34.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000776/0.3218, allocations: 380.5 kB / 0.6715 GB, free: 34.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005613/0.3274, allocations: 17.13 MB / 0.6882 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007895/0.3282, allocations: 103.8 kB / 0.6883 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.981e-05/0.3283, allocations: 80.06 kB / 0.6884 GB, free: 15.75 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008951/0.3291, allocations: 265.4 kB / 0.6886 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/0.3293, allocations: 238.8 kB / 0.6889 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001918/0.3313, allocations: 1.529 MB / 0.6904 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3313, allocations: 16 kB / 0.6904 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.3313, allocations: 4 kB / 0.6904 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.3313, allocations: 7.984 kB / 0.6904 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004656/0.3359, allocations: 4.18 MB / 0.6945 GB, free: 9.414 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.3359, allocations: 8 kB / 0.6945 GB, free: 9.406 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005816/0.3365, allocations: 238.2 kB / 0.6947 GB, free: 9.184 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001092/0.3376, allocations: 0.5319 MB / 0.6952 GB, free: 8.621 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.347e-05/0.3377, allocations: 32.55 kB / 0.6953 GB, free: 8.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006941/0.3446, allocations: 17.11 MB / 0.712 GB, free: 6.477 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.3446, allocations: 8 kB / 0.712 GB, free: 6.469 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002974/0.3476, allocations: 2.066 MB / 0.714 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005183/0.3481, allocations: 362.8 kB / 0.7143 GB, free: 3.934 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/0.3483, allocations: 28 kB / 0.7144 GB, free: 3.906 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004769/0.3487, allocations: 87.89 kB / 0.7144 GB, free: 3.82 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002435/0.349, allocations: 123.3 kB / 0.7146 GB, free: 3.707 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-05/0.349, allocations: 39.98 kB / 0.7146 GB, free: 3.668 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007193/0.3497, allocations: 0.7447 MB / 0.7153 GB, free: 2.93 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.3497, allocations: 4 kB / 0.7153 GB, free: 2.926 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002117/0.3519, allocations: 0.6914 MB / 0.716 GB, free: 2.234 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000231/0.3521, allocations: 152.2 kB / 0.7161 GB, free: 2.094 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002924/0.355, allocations: 2.852 MB / 0.7189 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.355, allocations: 0 / 0.7189 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001626/0.3567, allocations: 2.27 MB / 0.7212 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/0.3582, allocations: 0.6406 MB / 0.7218 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007646/0.3658, allocations: 5.827 MB / 0.7275 GB, free: 6.227 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008998/0.3667, allocations: 0.9324 MB / 0.7284 GB, free: 5.27 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0008511/0.3676, allocations: 392.4 kB / 0.7288 GB, free: 4.883 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/0.3678, allocations: 116.5 kB / 0.7289 GB, free: 4.77 MB / 0.5417 GB Notification: Performance of SimCode: time 1.152e-06/0.3678, allocations: 0 / 0.7289 GB, free: 4.77 MB / 0.5417 GB Notification: Performance of Templates: time 0.04724/0.4151, allocations: 33.98 MB / 0.762 GB, free: 3.555 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.4738382149953395]