Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 112.6 kB / 17.33 MB, free: 5.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 197.8 kB / 18.33 MB, free: 4.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 225.6 MB / 244.8 MB, free: 13.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8109/0.8109, allocations: 128.4 MB / 426.1 MB, free: 7.207 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 73.91 kB / 0.5912 GB, free: 21.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.157, allocations: 83.26 MB / 0.6725 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03337/0.1904, allocations: 27.08 MB / 0.6989 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01486/0.2052, allocations: 8.153 MB / 0.7069 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002442/0.2077, allocations: 119.4 kB / 0.707 GB, free: 408 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.007526/0.2152, allocations: 2.802 MB / 0.7097 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005252/0.2205, allocations: 1.668 MB / 0.7114 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005081/0.2255, allocations: 1.725 MB / 0.7131 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009271/0.2348, allocations: 6.138 MB / 0.7191 GB, free: 4.031 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008951/0.2438, allocations: 5.31 MB / 0.7242 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005364/0.2491, allocations: 2.617 MB / 0.7268 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005626/0.2548, allocations: 3.002 MB / 0.7297 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001451/0.2562, allocations: 0.5078 MB / 0.7302 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003439/0.2596, allocations: 1.307 MB / 0.7315 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00324/0.2629, allocations: 2.104 MB / 0.7336 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.004451/0.2673, allocations: 2.389 MB / 0.7359 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.009911/0.2773, allocations: 8.071 MB / 0.7438 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2773, allocations: 3.938 kB / 0.7438 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2773, allocations: 0 / 0.7438 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001712/0.2774, allocations: 4 kB / 0.7438 GB, free: 10.55 MB / 0.5762 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.009014/0.2864, allocations: 4.333 MB / 0.748 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/0.2865, allocations: 12.03 kB / 0.748 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004439/0.2909, allocations: 0.8101 MB / 0.7488 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005306/0.2962, allocations: 2.598 MB / 0.7513 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002188/0.2965, allocations: 271.6 kB / 0.7516 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008352/0.2973, allocations: 380.6 kB / 0.752 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2981/0.5954, allocations: 5.984 MB / 0.7578 GB, free: 69.41 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001/0.5955, allocations: 13.64 kB / 0.7578 GB, free: 69.4 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003447/0.5958, allocations: 160.6 kB / 0.758 GB, free: 69.29 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005463/0.5964, allocations: 283.9 kB / 0.7583 GB, free: 69.26 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008309/0.6047, allocations: 4.522 MB / 0.7627 GB, free: 67.69 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02392/0.6286, allocations: 27.51 MB / 0.7895 GB, free: 44.69 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.63, allocations: 1.052 MB / 0.7906 GB, free: 44.13 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/0.631, allocations: 0.9615 MB / 0.7915 GB, free: 43.65 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.962e-05/0.6311, allocations: 11.53 kB / 0.7915 GB, free: 43.65 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.6311, allocations: 52.19 kB / 0.7916 GB, free: 43.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=110): time 2.274e-06/0.6311, allocations: 0 / 0.7916 GB, free: 43.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=131): time 0.0179/0.649, allocations: 9.71 MB / 0.801 GB, free: 38.02 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.6491, allocations: 64.44 kB / 0.8011 GB, free: 37.96 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/0.6505, allocations: 1.499 MB / 0.8026 GB, free: 37.16 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.6506, allocations: 49.61 kB / 0.8026 GB, free: 37.12 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005834/0.6512, allocations: 1.71 MB / 0.8043 GB, free: 35.82 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/0.6514, allocations: 498.4 kB / 0.8048 GB, free: 35.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003929/0.6518, allocations: 333 kB / 0.8051 GB, free: 35.21 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.626e-05/0.6519, allocations: 308.9 kB / 0.8054 GB, free: 34.91 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009894/0.6529, allocations: 0.9155 MB / 0.8063 GB, free: 34.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001206/0.6541, allocations: 1.458 MB / 0.8077 GB, free: 33.24 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002248/0.6563, allocations: 2.552 MB / 0.8102 GB, free: 31.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.6563, allocations: 3.812 kB / 0.8102 GB, free: 31.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004442/0.6608, allocations: 3.277 MB / 0.8134 GB, free: 29.01 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.6608, allocations: 12 kB / 0.8134 GB, free: 29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.6608, allocations: 20 kB / 0.8134 GB, free: 28.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001842/0.6626, allocations: 0.7381 MB / 0.8141 GB, free: 28.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.6639, allocations: 387.4 kB / 0.8145 GB, free: 27.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01055/0.6745, allocations: 17.06 MB / 0.8312 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.6759, allocations: 95.91 kB / 0.8313 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.676, allocations: 76.06 kB / 0.8313 GB, free: 9.352 MB / 0.5762 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.001571/0.6776, allocations: 1.313 MB / 0.8326 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000262/0.6778, allocations: 210.7 kB / 0.8328 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003845/0.6817, allocations: 2.765 MB / 0.8355 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.6817, allocations: 12 kB / 0.8355 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.6817, allocations: 11.56 kB / 0.8355 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.6817, allocations: 7.969 kB / 0.8355 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008091/0.6898, allocations: 6.192 MB / 0.8416 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.6898, allocations: 8.641 kB / 0.8416 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/0.691, allocations: 239.6 kB / 0.8418 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001978/0.6929, allocations: 0.6671 MB / 0.8425 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.525e-05/0.693, allocations: 32 kB / 0.8425 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01698/0.71, allocations: 16.8 MB / 0.8589 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.71, allocations: 4 kB / 0.8589 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006516/0.7165, allocations: 3.994 MB / 0.8628 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009842/0.7175, allocations: 463.6 kB / 0.8633 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002469/0.7178, allocations: 39.92 kB / 0.8633 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008653/0.7186, allocations: 83.89 kB / 0.8634 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003084/0.7189, allocations: 112.7 kB / 0.8635 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.999e-05/0.719, allocations: 40 kB / 0.8635 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001391/0.7204, allocations: 0.9942 MB / 0.8645 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7204, allocations: 0 / 0.8645 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002249/0.7227, allocations: 0.6875 MB / 0.8652 GB, free: 5.109 MB / 0.6075 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.0002605/0.7229, allocations: 151 kB / 0.8653 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005302/0.7282, allocations: 3.377 MB / 0.8686 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.7282, allocations: 0.875 kB / 0.8686 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003261/0.7315, allocations: 2.248 MB / 0.8708 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002721/0.7342, allocations: 0.6757 MB / 0.8715 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/0.7456, allocations: 6.647 MB / 0.878 GB, free: 7.723 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002941/0.7486, allocations: 2.66 MB / 0.8806 GB, free: 5.027 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001559/0.7501, allocations: 485.4 kB / 0.881 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003402/0.7505, allocations: 119.4 kB / 0.8811 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of SimCode: time 9.52e-07/0.7505, allocations: 0 / 0.8811 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of Templates: time 0.06214/0.8126, allocations: 34.83 MB / 0.9151 GB, free: 2.113 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480]