Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.246/2.246, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001531/0.001531, allocations: 171.2 kB / 325.6 MB, free: 2.82 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.527/2.527, allocations: 205.4 MB / 0.5766 GB, free: 21.07 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 108 kB / 0.6811 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004784/0.0004784, allocations: 13.28 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2102, allocations: 106.2 MB / 0.8989 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9827/1.193, allocations: 174.9 MB / 1.07 GB, free: 66.91 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003855/1.193, allocations: 99.53 kB / 1.07 GB, free: 66.91 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1634/1.357, allocations: 31.42 MB / 1.1 GB, free: 63.14 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.605e-06/1.357, allocations: 0 / 1.1 GB, free: 63.14 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.312e-05/1.357, allocations: 19.72 kB / 1.1 GB, free: 63.14 MB / 0.698 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.002032/1.359, allocations: 0.8714 MB / 1.101 GB, free: 62.53 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/1.359, allocations: 7.812 kB / 1.101 GB, free: 62.53 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002277/1.361, allocations: 198.9 kB / 1.101 GB, free: 62.49 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/1.363, allocations: 498.4 kB / 1.102 GB, free: 62.21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.106e-05/1.363, allocations: 36.3 kB / 1.102 GB, free: 62.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002416/1.363, allocations: 53.91 kB / 1.102 GB, free: 62.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/1.365, allocations: 0.8753 MB / 1.103 GB, free: 61.85 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.016e-05/1.365, allocations: 7.844 kB / 1.103 GB, free: 61.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.313e-05/1.365, allocations: 34.78 kB / 1.103 GB, free: 61.83 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.428e-05/1.365, allocations: 43.81 kB / 1.103 GB, free: 61.83 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/1.366, allocations: 0.5696 MB / 1.104 GB, free: 61.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005963/1.372, allocations: 4.598 MB / 1.108 GB, free: 58.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006699/1.373, allocations: 293.3 kB / 1.108 GB, free: 58.31 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.794e-05/1.373, allocations: 0 / 1.108 GB, free: 58.31 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/1.373, allocations: 37.72 kB / 1.108 GB, free: 58.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 2.354e-06/1.373, allocations: 0 / 1.108 GB, free: 58.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.008975/1.382, allocations: 2.646 MB / 1.111 GB, free: 57.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/1.382, allocations: 54.97 kB / 1.111 GB, free: 57.39 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007197/1.383, allocations: 396.3 kB / 1.111 GB, free: 57.27 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.716e-05/1.383, allocations: 31.83 kB / 1.111 GB, free: 57.24 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/1.383, allocations: 328.7 kB / 1.112 GB, free: 57.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001473/1.384, allocations: 143.9 kB / 1.112 GB, free: 56.96 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.412e-05/1.384, allocations: 9.844 kB / 1.112 GB, free: 56.96 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001016/1.384, allocations: 363.4 kB / 1.112 GB, free: 56.64 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005641/1.384, allocations: 238.4 kB / 1.112 GB, free: 56.64 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006414/1.385, allocations: 385.5 kB / 1.113 GB, free: 56.46 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006789/1.386, allocations: 291.5 kB / 1.113 GB, free: 56.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/1.386, allocations: 0 / 1.113 GB, free: 56.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002839/1.388, allocations: 0.8972 MB / 1.114 GB, free: 56.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.571e-05/1.389, allocations: 6.781 kB / 1.114 GB, free: 56.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/1.389, allocations: 5.094 kB / 1.114 GB, free: 56.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/1.39, allocations: 226.4 kB / 1.114 GB, free: 56.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/1.391, allocations: 113.7 kB / 1.114 GB, free: 56.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006825/1.398, allocations: 5.012 MB / 1.119 GB, free: 52.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009241/1.399, allocations: 27.7 kB / 1.119 GB, free: 52.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.903e-05/1.399, allocations: 20.62 kB / 1.119 GB, free: 52.43 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005074/1.4, allocations: 232.5 kB / 1.119 GB, free: 52.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/1.4, allocations: 57.62 kB / 1.12 GB, free: 52.28 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002305/1.402, allocations: 0.7767 MB / 1.12 GB, free: 52.18 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/1.402, allocations: 3.906 kB / 1.12 GB, free: 52.18 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.402, allocations: 0 / 1.12 GB, free: 52.18 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/1.402, allocations: 11.73 kB / 1.12 GB, free: 52.17 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003577/1.406, allocations: 1.473 MB / 1.122 GB, free: 51.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/1.406, allocations: 6.75 kB / 1.122 GB, free: 51.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000686/1.406, allocations: 60.02 kB / 1.122 GB, free: 51.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001151/1.408, allocations: 213.9 kB / 1.122 GB, free: 51.71 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.267e-05/1.408, allocations: 7.406 kB / 1.122 GB, free: 51.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005797/1.414, allocations: 4.942 MB / 1.127 GB, free: 47.89 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.414, allocations: 3.938 kB / 1.127 GB, free: 47.89 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003448/1.417, allocations: 1.21 MB / 1.128 GB, free: 47.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005088/1.418, allocations: 165.7 kB / 1.128 GB, free: 47.38 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/1.418, allocations: 18.98 kB / 1.128 GB, free: 47.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005489/1.418, allocations: 30.14 kB / 1.128 GB, free: 47.38 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/1.418, allocations: 33.33 kB / 1.128 GB, free: 47.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.175e-05/1.419, allocations: 15.73 kB / 1.128 GB, free: 47.37 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004852/1.419, allocations: 306.3 kB / 1.129 GB, free: 47.29 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.21e-07/1.419, allocations: 0 / 1.129 GB, free: 47.29 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009731/1.42, allocations: 182 kB / 1.129 GB, free: 47.28 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002226/1.42, allocations: 126.8 kB / 1.129 GB, free: 47.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002367/1.423, allocations: 0.9917 MB / 1.13 GB, free: 46.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/1.423, allocations: 0 / 1.13 GB, free: 46.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001398/1.424, allocations: 0.6849 MB / 1.13 GB, free: 46.43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/1.425, allocations: 160.9 kB / 1.131 GB, free: 46.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/1.428, allocations: 1.498 MB / 1.132 GB, free: 45.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005068/1.429, allocations: 0.9632 MB / 1.133 GB, free: 44.88 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006701/1.43, allocations: 111.6 kB / 1.133 GB, free: 44.86 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/1.43, allocations: 34.78 kB / 1.133 GB, free: 44.85 MB / 0.698 GB Notification: Performance of SimCode: time 9.62e-07/1.43, allocations: 0 / 1.133 GB, free: 44.85 MB / 0.698 GB Notification: Performance of Templates: time 0.02192/1.452, allocations: 8.15 MB / 1.141 GB, free: 41.19 MB / 0.698 GB