Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.001395/0.001395, allocations: 88.72 kB / 19.44 MB, free: 356 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.001568/0.001568, allocations: 157.6 kB / 22.75 MB, free: 1.684 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.444/1.444, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.00266/0.00266, allocations: 234.4 kB / 259.8 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 1.088/1.088, allocations: 138.4 MB / 454.7 MB, free: 1.492 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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.5543 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.385e-05/3.584e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.009272/0.009308, allocations: 5.27 MB / 0.5595 GB, free: 11.56 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005157/0.01446, allocations: 2.599 MB / 0.562 GB, free: 8.953 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004609/0.01493, allocations: 39.69 kB / 0.5621 GB, free: 8.914 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002141/0.01707, allocations: 0.6805 MB / 0.5627 GB, free: 8.23 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001149/0.01822, allocations: 449.2 kB / 0.5632 GB, free: 7.789 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.01932, allocations: 414.8 kB / 0.5636 GB, free: 7.383 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001412/0.02073, allocations: 0.9824 MB / 0.5645 GB, free: 6.395 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007133/0.02144, allocations: 386.4 kB / 0.5649 GB, free: 6.016 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009424/0.02239, allocations: 0.5182 MB / 0.5654 GB, free: 5.496 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006796/0.02307, allocations: 367 kB / 0.5657 GB, free: 5.137 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.02317, allocations: 48 kB / 0.5658 GB, free: 5.09 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007787/0.02395, allocations: 335 kB / 0.5661 GB, free: 4.762 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003398/0.02429, allocations: 267.2 kB / 0.5664 GB, free: 4.5 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000392/0.02468, allocations: 247.3 kB / 0.5666 GB, free: 4.258 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00147/0.02615, allocations: 0.9968 MB / 0.5676 GB, free: 3.258 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.02616, allocations: 0 / 0.5676 GB, free: 3.258 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.02616, allocations: 3.938 kB / 0.5676 GB, free: 3.254 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.907e-05/0.0262, allocations: 0 / 0.5676 GB, free: 3.254 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002051/0.02825, allocations: 0.917 MB / 0.5685 GB, free: 2.305 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.02829, allocations: 8.75 kB / 0.5685 GB, free: 2.297 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/0.02991, allocations: 287.9 kB / 0.5687 GB, free: 2.016 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009452/0.03086, allocations: 498.8 kB / 0.5692 GB, free: 1.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.912e-05/0.0309, allocations: 37.36 kB / 0.5693 GB, free: 1.461 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/0.03108, allocations: 52.56 kB / 0.5693 GB, free: 1.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.03262, allocations: 0.9828 MB / 0.5703 GB, free: 320 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/0.03265, allocations: 8.141 kB / 0.5703 GB, free: 312 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.475e-05/0.03273, allocations: 32.11 kB / 0.5703 GB, free: 280 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002063/0.03293, allocations: 64.94 kB / 0.5704 GB, free: 216 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.03402, allocations: 0.5736 MB / 0.5709 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004917/0.03893, allocations: 3.499 MB / 0.5743 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005619/0.03949, allocations: 291.1 kB / 0.5746 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003656/0.03986, allocations: 209.3 kB / 0.5748 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.03989, allocations: 16.16 kB / 0.5748 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.03993, allocations: 42.78 kB / 0.5749 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 1.623e-06/0.03993, allocations: 0 / 0.5749 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=40): time 0.00636/0.04629, allocations: 2.382 MB / 0.5772 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.04634, allocations: 59.39 kB / 0.5773 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005415/0.04688, allocations: 429.7 kB / 0.5777 GB, free: 8.504 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.436e-05/0.04693, allocations: 33.7 kB / 0.5777 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003234/0.04725, allocations: 360.3 kB / 0.578 GB, free: 8.105 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.0474, allocations: 146.7 kB / 0.5782 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/0.04759, allocations: 102.3 kB / 0.5783 GB, free: 7.855 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002148/0.04781, allocations: 366.7 kB / 0.5786 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004239/0.04823, allocations: 237.2 kB / 0.5789 GB, free: 7.258 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005799/0.04881, allocations: 415.3 kB / 0.5793 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.04998, allocations: 0.6801 MB / 0.5799 GB, free: 6.023 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.04999, allocations: 4 kB / 0.5799 GB, free: 6.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001998/0.05199, allocations: 0.9448 MB / 0.5808 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.05201, allocations: 8 kB / 0.5809 GB, free: 5.051 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.602e-05/0.05204, allocations: 8 kB / 0.5809 GB, free: 5.043 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/0.05336, allocations: 286.8 kB / 0.5811 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004971/0.05386, allocations: 115.8 kB / 0.5812 GB, free: 4.641 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00626/0.06012, allocations: 4.976 MB / 0.5861 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004615/0.06058, allocations: 39.95 kB / 0.5861 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.645e-05/0.06064, allocations: 28.06 kB / 0.5862 GB, free: 15.29 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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 {(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.0003298/0.06097, allocations: 217.7 kB / 0.5864 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.06111, allocations: 67.81 kB / 0.5864 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/0.06292, allocations: 0.7772 MB / 0.5872 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.06293, allocations: 4 kB / 0.5872 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.06294, allocations: 4 kB / 0.5872 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.06294, allocations: 3.984 kB / 0.5872 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002708/0.06565, allocations: 1.342 MB / 0.5885 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.06566, allocations: 4 kB / 0.5885 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003669/0.06602, allocations: 63.89 kB / 0.5886 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001222/0.06725, allocations: 274.5 kB / 0.5889 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.211e-05/0.06729, allocations: 12 kB / 0.5889 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006083/0.07337, allocations: 4.91 MB / 0.5937 GB, free: 7.211 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.07338, allocations: 4.031 kB / 0.5937 GB, free: 7.207 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002136/0.07551, allocations: 1.139 MB / 0.5948 GB, free: 6.02 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002409/0.07575, allocations: 91.66 kB / 0.5949 GB, free: 5.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.359e-05/0.07585, allocations: 15.94 kB / 0.5949 GB, free: 5.914 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003382/0.07618, allocations: 23.97 kB / 0.5949 GB, free: 5.891 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.905e-05/0.07628, allocations: 39.86 kB / 0.5949 GB, free: 5.852 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.66e-05/0.07632, allocations: 16 kB / 0.595 GB, free: 5.836 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003627/0.07668, allocations: 286.9 kB / 0.5952 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1e-07/0.07668, allocations: 4.062 kB / 0.5952 GB, free: 5.551 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007252/0.07741, allocations: 172 kB / 0.5954 GB, free: 5.383 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.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 (30): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,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.000172/0.07758, allocations: 119.3 kB / 0.5955 GB, free: 5.254 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001839/0.07942, allocations: 0.9886 MB / 0.5965 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.07942, allocations: 0 / 0.5965 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001125/0.08055, allocations: 0.6639 MB / 0.5971 GB, free: 3.523 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008961/0.08144, allocations: 174.2 kB / 0.5973 GB, free: 3.363 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.08367, allocations: 1.241 MB / 0.5985 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000454/0.08413, allocations: 350.2 kB / 0.5988 GB, free: 1.703 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003395/0.08447, allocations: 108.8 kB / 0.5989 GB, free: 1.598 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.08458, allocations: 36.5 kB / 0.599 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of SimCode: time 5.31e-07/0.08458, allocations: 4 kB / 0.599 GB, free: 1.559 MB / 0.5105 GB Notification: Performance of Templates: time 0.1904/0.275, allocations: 9.16 MB / 0.6079 GB, free: 98.53 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.936403613071889]