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.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.238/2.238, allocations: 251.1 MB / 266.1 MB, free: 11.55 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.002333/0.002333, allocations: 175.9 kB / 325.6 MB, free: 2.809 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.739/2.739, allocations: 205.4 MB / 0.5766 GB, free: 21.04 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.001182/0.001181, allocations: 86.38 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006508/0.0006507, allocations: 16.22 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2239, allocations: 106.3 MB / 0.8989 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9169/1.141, allocations: 175.4 MB / 1.07 GB, free: 66.56 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003913/1.141, allocations: 100.7 kB / 1.07 GB, free: 66.56 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1124/1.254, allocations: 28.82 MB / 1.098 GB, free: 62.77 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.475e-06/1.254, allocations: 0 / 1.098 GB, free: 62.77 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.972e-05/1.254, allocations: 7.594 kB / 1.098 GB, free: 62.77 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001785/1.256, allocations: 0.7525 MB / 1.099 GB, free: 62.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/1.256, allocations: 7.812 kB / 1.099 GB, free: 62.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004345/1.26, allocations: 0.5782 MB / 1.1 GB, free: 62.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/1.261, allocations: 465.9 kB / 1.1 GB, free: 61.95 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/1.261, allocations: 26.91 kB / 1.1 GB, free: 61.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/1.262, allocations: 30.81 kB / 1.1 GB, free: 61.95 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002384/1.264, allocations: 0.7612 MB / 1.101 GB, free: 61.84 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.955e-05/1.264, allocations: 3.938 kB / 1.101 GB, free: 61.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.49e-05/1.264, allocations: 11.03 kB / 1.101 GB, free: 61.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-05/1.264, allocations: 24.28 kB / 1.101 GB, free: 61.83 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003323/1.268, allocations: 0.8535 MB / 1.102 GB, free: 61.82 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00571/1.273, allocations: 2.868 MB / 1.105 GB, free: 60.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00275/1.276, allocations: 0.52 MB / 1.105 GB, free: 60.12 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001424/1.276, allocations: 88.53 kB / 1.105 GB, free: 60.03 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/1.276, allocations: 34.53 kB / 1.105 GB, free: 59.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 2.334e-06/1.276, allocations: 0 / 1.105 GB, free: 59.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=24): time 0.01695/1.293, allocations: 2.951 MB / 1.108 GB, free: 59.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/1.293, allocations: 80.77 kB / 1.108 GB, free: 59.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007632/1.294, allocations: 373 kB / 1.109 GB, free: 59.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001015/1.294, allocations: 33.45 kB / 1.109 GB, free: 59.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/1.294, allocations: 239.3 kB / 1.109 GB, free: 59.32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/1.295, allocations: 84.34 kB / 1.109 GB, free: 59.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.24e-05/1.295, allocations: 5.219 kB / 1.109 GB, free: 59.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001009/1.295, allocations: 342.7 kB / 1.109 GB, free: 58.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/1.296, allocations: 367.3 kB / 1.11 GB, free: 58.95 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001615/1.298, allocations: 449.1 kB / 1.11 GB, free: 58.85 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/1.3, allocations: 390.1 kB / 1.11 GB, free: 58.84 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/1.3, allocations: 1.094 kB / 1.11 GB, free: 58.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.007954/1.308, allocations: 1.414 MB / 1.112 GB, free: 58.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002026/1.308, allocations: 0.7874 MB / 1.113 GB, free: 57.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/1.308, allocations: 2.469 kB / 1.113 GB, free: 57.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005607/1.313, allocations: 0.7035 MB / 1.113 GB, free: 57.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/1.315, allocations: 132.5 kB / 1.113 GB, free: 57.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006154/1.321, allocations: 3.25 MB / 1.117 GB, free: 56.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/1.322, allocations: 109.9 kB / 1.117 GB, free: 56.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.906e-05/1.322, allocations: 18.62 kB / 1.117 GB, free: 56.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/1.322, allocations: 3.906 kB / 1.117 GB, free: 56.07 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005996/1.328, allocations: 1.151 MB / 1.118 GB, free: 56.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/1.328, allocations: 3.984 kB / 1.118 GB, free: 56.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003422/1.332, allocations: 469.5 kB / 1.118 GB, free: 56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/1.333, allocations: 142.8 kB / 1.118 GB, free: 56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004914/1.338, allocations: 2.531 MB / 1.121 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/1.339, allocations: 108.5 kB / 1.121 GB, free: 54.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.565e-05/1.339, allocations: 23.17 kB / 1.121 GB, free: 54.72 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005383/1.34, allocations: 318.8 kB / 1.121 GB, free: 54.52 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/1.34, allocations: 34.92 kB / 1.121 GB, free: 54.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006601/1.347, allocations: 1.308 MB / 1.123 GB, free: 54.03 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/1.347, allocations: 3.906 kB / 1.123 GB, free: 54.03 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/1.347, allocations: 4 kB / 1.123 GB, free: 54.03 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/1.347, allocations: 0 / 1.123 GB, free: 54.03 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007674/1.354, allocations: 2 MB / 1.125 GB, free: 53.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/1.354, allocations: 0 / 1.125 GB, free: 53.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006902/1.355, allocations: 86.78 kB / 1.125 GB, free: 53.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004932/1.36, allocations: 0.6856 MB / 1.125 GB, free: 52.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.489e-05/1.36, allocations: 11.52 kB / 1.125 GB, free: 52.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007986/1.368, allocations: 4.572 MB / 1.13 GB, free: 49.73 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.368, allocations: 0 / 1.13 GB, free: 49.73 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006299/1.375, allocations: 1.367 MB / 1.131 GB, free: 49.11 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003399/1.375, allocations: 164.1 kB / 1.131 GB, free: 48.99 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/1.375, allocations: 7.422 kB / 1.131 GB, free: 48.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009493/1.376, allocations: 94.14 kB / 1.131 GB, free: 48.95 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/1.376, allocations: 23 kB / 1.131 GB, free: 48.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.173e-05/1.376, allocations: 7.281 kB / 1.131 GB, free: 48.94 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005038/1.377, allocations: 308.2 kB / 1.132 GB, free: 48.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.377, allocations: 3.938 kB / 1.132 GB, free: 48.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001155/1.378, allocations: 222.2 kB / 1.132 GB, free: 48.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000302/1.378, allocations: 161.7 kB / 1.132 GB, free: 48.68 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00553/1.384, allocations: 1.508 MB / 1.134 GB, free: 48.13 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/1.384, allocations: 0 / 1.134 GB, free: 48.13 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001945/1.386, allocations: 0.6745 MB / 1.134 GB, free: 47.77 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008874/1.387, allocations: 118.9 kB / 1.134 GB, free: 47.73 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/1.389, allocations: 1.211 MB / 1.136 GB, free: 47.05 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/1.39, allocations: 0.9164 MB / 1.136 GB, free: 46.28 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008933/1.391, allocations: 157.2 kB / 1.137 GB, free: 46.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/1.391, allocations: 35.02 kB / 1.137 GB, free: 46.19 MB / 0.698 GB Notification: Performance of SimCode: time 1.022e-06/1.391, allocations: 0 / 1.137 GB, free: 46.19 MB / 0.698 GB Notification: Performance of Templates: time 0.0257/1.417, allocations: 11.78 MB / 1.148 GB, free: 40.34 MB / 0.698 GB