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.001612/0.001612, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.001862/0.001862, allocations: 209.8 kB / 23.01 MB, free: 4.566 MB / 14.72 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.403/1.403, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 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.002489/0.002489, allocations: 289.5 kB / 313.5 MB, free: 2.84 MB / 238.1 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.184/1.184, allocations: 180.6 MB / 0.5377 GB, free: 13.11 MB / 382.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002939/0.002939, allocations: 100.5 kB / 0.7408 GB, free: 27.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1743, allocations: 95.38 MB / 0.834 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007933/0.1822, allocations: 5.75 MB / 0.8396 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004851/0.1871, allocations: 2.775 MB / 0.8423 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004449/0.1875, allocations: 35.69 kB / 0.8423 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001946/0.1894, allocations: 0.7051 MB / 0.843 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0009768/0.1904, allocations: 433.7 kB / 0.8434 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.1915, allocations: 415.6 kB / 0.8438 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001114/0.1926, allocations: 0.9517 MB / 0.8447 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005593/0.1932, allocations: 382.5 kB / 0.8451 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005182/0.1937, allocations: 394.5 kB / 0.8455 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006148/0.1943, allocations: 426.4 kB / 0.8459 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.327e-05/0.1944, allocations: 51.94 kB / 0.8459 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006505/0.195, allocations: 375.2 kB / 0.8463 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002525/0.1953, allocations: 251.3 kB / 0.8465 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003367/0.1956, allocations: 346.3 kB / 0.8469 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.1968, allocations: 0.9844 MB / 0.8478 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1968, allocations: 0 / 0.8478 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1968, allocations: 0 / 0.8478 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.1968, allocations: 0 / 0.8478 GB, free: 9.91 MB / 0.5919 GB 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.001582/0.1984, allocations: 0.9247 MB / 0.8487 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.1984, allocations: 8.75 kB / 0.8487 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/0.1997, allocations: 200.2 kB / 0.8489 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008672/0.2006, allocations: 472.9 kB / 0.8494 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.339e-05/0.2006, allocations: 37.36 kB / 0.8494 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.2008, allocations: 56.55 kB / 0.8495 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.202, allocations: 0.8357 MB / 0.8503 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.202, allocations: 0 / 0.8503 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.239e-05/0.2021, allocations: 27.98 kB / 0.8503 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001872/0.2022, allocations: 68.88 kB / 0.8504 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008841/0.2031, allocations: 0.5736 MB / 0.8509 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004613/0.2077, allocations: 4.497 MB / 0.8553 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004715/0.2082, allocations: 272.9 kB / 0.8556 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003138/0.2085, allocations: 221.2 kB / 0.8558 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.2086, allocations: 8.219 kB / 0.8558 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.2086, allocations: 42.84 kB / 0.8559 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.503e-06/0.2086, allocations: 0 / 0.8559 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.005458/0.214, allocations: 2.339 MB / 0.8581 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.2141, allocations: 55.41 kB / 0.8582 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005189/0.2146, allocations: 466 kB / 0.8586 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/0.2146, allocations: 33.7 kB / 0.8587 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002571/0.2149, allocations: 356.4 kB / 0.859 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.215, allocations: 150.7 kB / 0.8592 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.2152, allocations: 106.2 kB / 0.8593 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.2154, allocations: 362.8 kB / 0.8596 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003676/0.2157, allocations: 241.2 kB / 0.8598 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005272/0.2163, allocations: 403.3 kB / 0.8602 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009107/0.2172, allocations: 0.6829 MB / 0.8609 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2172, allocations: 0 / 0.8609 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001684/0.2189, allocations: 0.9135 MB / 0.8618 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.2189, allocations: 8 kB / 0.8618 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.2189, allocations: 8 kB / 0.8618 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007906/0.2197, allocations: 219 kB / 0.862 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005339/0.2202, allocations: 119.8 kB / 0.8621 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005304/0.2255, allocations: 5.034 MB / 0.867 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004168/0.2259, allocations: 36.03 kB / 0.8671 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.751e-05/0.226, allocations: 24 kB / 0.8671 GB, free: 5.074 MB / 0.6075 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.0002988/0.2263, allocations: 221.7 kB / 0.8673 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.804e-05/0.2264, allocations: 63.56 kB / 0.8674 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/0.2279, allocations: 0.7659 MB / 0.8681 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.228, allocations: 4 kB / 0.8681 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.228, allocations: 4 kB / 0.8681 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.228, allocations: 0 / 0.8681 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002522/0.2305, allocations: 1.466 MB / 0.8695 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.2305, allocations: 4 kB / 0.8696 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003894/0.2309, allocations: 71.88 kB / 0.8696 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007066/0.2316, allocations: 210.7 kB / 0.8698 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.586e-05/0.2316, allocations: 8 kB / 0.8698 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005282/0.2369, allocations: 4.976 MB / 0.8747 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2369, allocations: 0 / 0.8747 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/0.2388, allocations: 1.128 MB / 0.8758 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002499/0.239, allocations: 95.58 kB / 0.8759 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.235e-05/0.2391, allocations: 11.94 kB / 0.8759 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003145/0.2394, allocations: 23.97 kB / 0.8759 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.482e-05/0.2395, allocations: 40 kB / 0.876 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/0.2395, allocations: 12 kB / 0.876 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003756/0.2399, allocations: 314.9 kB / 0.8763 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2399, allocations: 0 / 0.8763 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006491/0.2405, allocations: 172 kB / 0.8764 GB, free: 11 MB / 0.6231 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.0001357/0.2407, allocations: 109.2 kB / 0.8765 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001571/0.2422, allocations: 0.973 MB / 0.8775 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2422, allocations: 3.938 kB / 0.8775 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000973/0.2432, allocations: 0.6681 MB / 0.8781 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008472/0.2441, allocations: 195.6 kB / 0.8783 GB, free: 8.984 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.2462, allocations: 1.337 MB / 0.8796 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006038/0.2468, allocations: 0.9493 MB / 0.8806 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.2469, allocations: 47.42 kB / 0.8806 GB, free: 6.566 MB / 0.6231 GB Notification: Performance of SimCode: time 6.41e-07/0.2469, allocations: 0 / 0.8806 GB, free: 6.566 MB / 0.6231 GB Notification: Performance of Templates: time 0.01908/0.266, allocations: 15 MB / 0.8953 GB, free: 7.617 MB / 0.6387 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: 10.31279014190659] Failed to read output from testmodel.py, exit status != 0: 0.27324207895435393 0.287545612 0.087843683 Calling exit ...