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_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.194/2.194, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.002905/0.002905, allocations: 181.6 kB / 325.6 MB, free: 2.832 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.505/2.505, allocations: 205.4 MB / 0.5766 GB, free: 21.18 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.001483/0.001483, allocations: 100.7 kB / 0.6811 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004779/0.0004779, allocations: 12.72 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2101, allocations: 106.3 MB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2623/0.4725, allocations: 153.6 MB / 1.049 GB, free: 8.141 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003854/0.4729, allocations: 95.94 kB / 1.049 GB, free: 8.047 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7997/1.273, allocations: 36.75 MB / 1.085 GB, free: 147.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.835e-06/1.273, allocations: 4 kB / 1.085 GB, free: 147.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.704e-05/1.273, allocations: 27.2 kB / 1.085 GB, free: 147.2 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00325/1.276, allocations: 1.036 MB / 1.086 GB, free: 146.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/1.276, allocations: 7.469 kB / 1.086 GB, free: 146.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003621/1.28, allocations: 242.2 kB / 1.086 GB, free: 146.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001827/1.282, allocations: 0.5442 MB / 1.087 GB, free: 145.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.268e-05/1.282, allocations: 52.09 kB / 1.087 GB, free: 145.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002231/1.282, allocations: 66.89 kB / 1.087 GB, free: 145.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003121/1.285, allocations: 1.136 MB / 1.088 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.705e-05/1.285, allocations: 6.969 kB / 1.088 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001653/1.285, allocations: 30.5 kB / 1.088 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001387/1.286, allocations: 53.78 kB / 1.088 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002499/1.288, allocations: 0.7475 MB / 1.089 GB, free: 144.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009578/1.298, allocations: 5.912 MB / 1.094 GB, free: 139 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/1.3, allocations: 0.5566 MB / 1.095 GB, free: 138.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-05/1.3, allocations: 8.422 kB / 1.095 GB, free: 138.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/1.3, allocations: 39 kB / 1.095 GB, free: 138.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 4.108e-06/1.3, allocations: 0 / 1.095 GB, free: 138.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.007752/1.308, allocations: 1.984 MB / 1.097 GB, free: 136.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/1.308, allocations: 55.84 kB / 1.097 GB, free: 136.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/1.309, allocations: 495.1 kB / 1.098 GB, free: 136 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.403e-05/1.309, allocations: 37.7 kB / 1.098 GB, free: 135.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003398/1.309, allocations: 399 kB / 1.098 GB, free: 135.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/1.31, allocations: 169.5 kB / 1.098 GB, free: 135.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.442e-05/1.31, allocations: 12 kB / 1.098 GB, free: 135.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001466/1.31, allocations: 378.8 kB / 1.098 GB, free: 135 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009003/1.311, allocations: 269.2 kB / 1.099 GB, free: 134.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/1.312, allocations: 462.8 kB / 1.099 GB, free: 134.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/1.313, allocations: 334 kB / 1.1 GB, free: 133.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/1.313, allocations: 4 kB / 1.1 GB, free: 133.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003704/1.317, allocations: 1.052 MB / 1.101 GB, free: 132.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.305e-05/1.317, allocations: 9.25 kB / 1.101 GB, free: 132.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/1.317, allocations: 4 kB / 1.101 GB, free: 132.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001786/1.319, allocations: 283.5 kB / 1.101 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/1.32, allocations: 119.8 kB / 1.101 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/1.33, allocations: 6.688 MB / 1.107 GB, free: 125.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/1.332, allocations: 48.09 kB / 1.108 GB, free: 125.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.534e-05/1.332, allocations: 28.06 kB / 1.108 GB, free: 125.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (63): * Single equations (assignments): 59 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006896/1.332, allocations: 245.6 kB / 1.108 GB, free: 124.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00023/1.333, allocations: 75.14 kB / 1.108 GB, free: 124.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002505/1.335, allocations: 0.8885 MB / 1.109 GB, free: 123.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/1.335, allocations: 4 kB / 1.109 GB, free: 123.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/1.335, allocations: 4 kB / 1.109 GB, free: 123.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/1.335, allocations: 384 / 1.109 GB, free: 123.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003891/1.339, allocations: 1.725 MB / 1.11 GB, free: 122 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/1.339, allocations: 4 kB / 1.11 GB, free: 122 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000491/1.34, allocations: 60.08 kB / 1.11 GB, free: 122 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001252/1.341, allocations: 267.2 kB / 1.111 GB, free: 121.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-05/1.341, allocations: 12 kB / 1.111 GB, free: 121.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007555/1.349, allocations: 6.689 MB / 1.117 GB, free: 114.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.349, allocations: 0 / 1.117 GB, free: 114.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002438/1.351, allocations: 1.048 MB / 1.118 GB, free: 113.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004632/1.352, allocations: 196.2 kB / 1.118 GB, free: 113.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/1.352, allocations: 8 kB / 1.118 GB, free: 113.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006358/1.352, allocations: 27.97 kB / 1.119 GB, free: 113.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/1.353, allocations: 51.89 kB / 1.119 GB, free: 113 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.686e-05/1.353, allocations: 11.94 kB / 1.119 GB, free: 113 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006055/1.353, allocations: 383.1 kB / 1.119 GB, free: 112.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.21e-07/1.353, allocations: 3.938 kB / 1.119 GB, free: 112.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001136/1.355, allocations: 235.9 kB / 1.119 GB, free: 112.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002061/1.355, allocations: 129 kB / 1.119 GB, free: 112.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002702/1.357, allocations: 1.256 MB / 1.121 GB, free: 111 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.357, allocations: 0 / 1.121 GB, free: 111 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001802/1.359, allocations: 0.8897 MB / 1.121 GB, free: 110.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/1.361, allocations: 190.8 kB / 1.122 GB, free: 109.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003031/1.364, allocations: 1.573 MB / 1.123 GB, free: 108.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005894/1.365, allocations: 1.024 MB / 1.124 GB, free: 107.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007291/1.365, allocations: 117.9 kB / 1.124 GB, free: 107.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/1.365, allocations: 43.38 kB / 1.124 GB, free: 107 MB / 0.698 GB Notification: Performance of SimCode: time 1.633e-06/1.365, allocations: 0 / 1.124 GB, free: 107 MB / 0.698 GB Notification: Performance of Templates: time 0.02645/1.392, allocations: 10.31 MB / 1.134 GB, free: 96.86 MB / 0.698 GB