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.001196/0.001196, allocations: 93.06 kB / 19.65 MB, free: 280 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.001397/0.001397, allocations: 165 kB / 23.02 MB, free: 1.555 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.9741/0.9741, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.001632/0.001632, allocations: 238.8 kB / 260.2 MB, free: 12.83 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.7094/0.7094, allocations: 138.4 MB / 455.2 MB, free: 1.527 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 2.225e-06/2.225e-06, allocations: 7.922 kB / 0.5551 GB, free: 488 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.179e-05, allocations: 2.312 kB / 0.5551 GB, free: 484 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.01169/0.01171, allocations: 15.48 MB / 0.5703 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005643/0.01736, allocations: 4.495 MB / 0.5746 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007536/0.01811, allocations: 154.8 kB / 0.5748 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.01919, allocations: 0.6321 MB / 0.5754 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001728/0.02092, allocations: 1.456 MB / 0.5768 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001464/0.02238, allocations: 1.318 MB / 0.5781 GB, free: 8.84 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.003938/0.02632, allocations: 6.172 MB / 0.5841 GB, free: 2.652 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003131/0.02945, allocations: 3.773 MB / 0.5878 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002712/0.03216, allocations: 3.7 MB / 0.5914 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002468/0.03463, allocations: 2.818 MB / 0.5942 GB, free: 8.254 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0004608/0.03509, allocations: 0.5078 MB / 0.5947 GB, free: 7.746 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007374/0.03583, allocations: 0.5975 MB / 0.5953 GB, free: 7.148 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001283/0.03711, allocations: 2.233 MB / 0.5975 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001264/0.03837, allocations: 1.676 MB / 0.5991 GB, free: 3.23 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.2036/0.2419, allocations: 4.122 MB / 0.6031 GB, free: 76.23 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2419, allocations: 0 / 0.6031 GB, free: 76.23 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2419, allocations: 0 / 0.6031 GB, free: 76.23 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002004/0.2421, allocations: 0 / 0.6031 GB, free: 76.23 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.004618/0.2468, allocations: 4.381 MB / 0.6074 GB, free: 74.54 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.2468, allocations: 8.594 kB / 0.6074 GB, free: 74.54 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00244/0.2492, allocations: 1.277 MB / 0.6087 GB, free: 74.24 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002653/0.2519, allocations: 2.511 MB / 0.6111 GB, free: 73.68 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.252, allocations: 271.3 kB / 0.6114 GB, free: 73.68 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000399/0.2524, allocations: 383 kB / 0.6117 GB, free: 73.67 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003913/0.2563, allocations: 3.97 MB / 0.6156 GB, free: 72.05 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.828e-05/0.2564, allocations: 21.3 kB / 0.6156 GB, free: 72.04 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002535/0.2566, allocations: 161.5 kB / 0.6158 GB, free: 72.04 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003269/0.257, allocations: 279.6 kB / 0.6161 GB, free: 72.03 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002732/0.2597, allocations: 1.418 MB / 0.6174 GB, free: 71.98 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01172/0.2714, allocations: 19.82 MB / 0.6368 GB, free: 58.47 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007226/0.2721, allocations: 458.8 kB / 0.6372 GB, free: 58.36 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005593/0.2727, allocations: 408.5 kB / 0.6376 GB, free: 58.28 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.497e-05/0.2728, allocations: 18.97 kB / 0.6376 GB, free: 58.28 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.2728, allocations: 53.97 kB / 0.6377 GB, free: 58.23 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=110): time 2.174e-06/0.2728, allocations: 0 / 0.6377 GB, free: 58.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=131): time 0.007857/0.2806, allocations: 4.88 MB / 0.6425 GB, free: 56.33 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.2807, allocations: 69.69 kB / 0.6425 GB, free: 56.27 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.2817, allocations: 1.299 MB / 0.6438 GB, free: 55.72 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.032e-05/0.2818, allocations: 50.95 kB / 0.6438 GB, free: 55.67 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005296/0.2823, allocations: 1.776 MB / 0.6456 GB, free: 54.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/0.2825, allocations: 0.4954 MB / 0.6461 GB, free: 53.91 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002971/0.2828, allocations: 331.5 kB / 0.6464 GB, free: 53.73 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.177e-05/0.2828, allocations: 481.6 kB / 0.6468 GB, free: 53.27 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005045/0.2833, allocations: 325.3 kB / 0.6471 GB, free: 53.22 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006836/0.284, allocations: 1.11 MB / 0.6482 GB, free: 52.19 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.2852, allocations: 1.561 MB / 0.6497 GB, free: 50.98 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.2852, allocations: 6.656 kB / 0.6498 GB, free: 50.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.0023/0.2875, allocations: 1.983 MB / 0.6517 GB, free: 50.38 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.2875, allocations: 13.25 kB / 0.6517 GB, free: 50.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.2875, allocations: 17.22 kB / 0.6517 GB, free: 50.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.2887, allocations: 0.5748 MB / 0.6523 GB, free: 50.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007676/0.2895, allocations: 382.4 kB / 0.6526 GB, free: 50.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005651/0.2951, allocations: 17.13 MB / 0.6694 GB, free: 33.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005869/0.2957, allocations: 105.1 kB / 0.6695 GB, free: 33.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-05/0.2958, allocations: 74.5 kB / 0.6695 GB, free: 33.79 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.000437/0.2962, allocations: 269.7 kB / 0.6698 GB, free: 33.57 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.2964, allocations: 238.4 kB / 0.67 GB, free: 33.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001874/0.2983, allocations: 1.525 MB / 0.6715 GB, free: 32.88 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.2983, allocations: 11.84 kB / 0.6715 GB, free: 32.88 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.2983, allocations: 9.062 kB / 0.6715 GB, free: 32.88 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.2983, allocations: 5.531 kB / 0.6715 GB, free: 32.88 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004598/0.3029, allocations: 4.179 MB / 0.6756 GB, free: 30.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.3029, allocations: 9.984 kB / 0.6756 GB, free: 30.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005795/0.3035, allocations: 227.5 kB / 0.6759 GB, free: 30.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001055/0.3045, allocations: 0.5438 MB / 0.6764 GB, free: 30.78 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.165e-05/0.3046, allocations: 31.84 kB / 0.6764 GB, free: 30.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005623/0.3102, allocations: 17.1 MB / 0.6931 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.3102, allocations: 7.625 kB / 0.6931 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002229/0.3125, allocations: 2.068 MB / 0.6951 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000382/0.3128, allocations: 360.1 kB / 0.6955 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.313, allocations: 35.75 kB / 0.6955 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000432/0.3134, allocations: 83.89 kB / 0.6956 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/0.3136, allocations: 120.4 kB / 0.6957 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.945e-05/0.3136, allocations: 44 kB / 0.6958 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005197/0.3141, allocations: 0.7486 MB / 0.6965 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1e-07/0.3141, allocations: 0 / 0.6965 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001269/0.3154, allocations: 0.6875 MB / 0.6972 GB, free: 10 MB / 0.5105 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.0001428/0.3156, allocations: 144.5 kB / 0.6973 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001926/0.3175, allocations: 2.862 MB / 0.7001 GB, free: 6.875 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.3175, allocations: 0 / 0.7001 GB, free: 6.875 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.3187, allocations: 2.265 MB / 0.7023 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.32, allocations: 0.6309 MB / 0.7029 GB, free: 3.887 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005375/0.3254, allocations: 5.844 MB / 0.7086 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007292/0.3261, allocations: 0.9284 MB / 0.7095 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006746/0.3268, allocations: 400.4 kB / 0.7099 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/0.327, allocations: 112.5 kB / 0.71 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of SimCode: time 4.61e-07/0.327, allocations: 0 / 0.71 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of Templates: time 0.03656/0.3636, allocations: 33.99 MB / 0.7432 GB, free: 11.21 MB / 0.5573 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.3797473749145865]