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.43/2.43, allocations: 253.2 MB / 260.6 MB, free: 7.398 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001443/0.001442, allocations: 172.9 kB / 319.9 MB, free: 3.051 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.176/2.176, allocations: 205.6 MB / 0.5708 GB, free: 15.26 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.001077/0.001077, allocations: 89.02 kB / 0.6751 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.368e-05/2.38e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2189, allocations: 106.3 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9475/1.167, allocations: 175.6 MB / 1.06 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003824/1.167, allocations: 98.23 kB / 1.06 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1216/1.289, allocations: 28.52 MB / 1.088 GB, free: 4.324 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.743e-06/1.289, allocations: 0 / 1.088 GB, free: 4.324 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.519e-05/1.289, allocations: 15.92 kB / 1.088 GB, free: 4.309 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.001757/1.29, allocations: 0.6798 MB / 1.089 GB, free: 3.609 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/1.291, allocations: 11.97 kB / 1.089 GB, free: 3.598 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004645/1.295, allocations: 0.5745 MB / 1.089 GB, free: 3.027 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/1.297, allocations: 469 kB / 1.09 GB, free: 2.605 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/1.297, allocations: 12 kB / 1.09 GB, free: 2.594 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/1.297, allocations: 19.98 kB / 1.09 GB, free: 2.574 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001215/1.298, allocations: 464.6 kB / 1.09 GB, free: 2.273 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/1.299, allocations: 0.5414 MB / 1.091 GB, free: 1.832 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/1.299, allocations: 7.906 kB / 1.091 GB, free: 1.824 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.038e-05/1.3, allocations: 0 / 1.091 GB, free: 1.824 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.856e-05/1.3, allocations: 24.14 kB / 1.091 GB, free: 1.805 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006667/1.306, allocations: 2.788 MB / 1.094 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/1.308, allocations: 337.2 kB / 1.094 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003509/1.308, allocations: 164.6 kB / 1.094 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001713/1.308, allocations: 89.09 kB / 1.094 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/1.308, allocations: 33.44 kB / 1.094 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.675e-06/1.308, allocations: 0 / 1.094 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24): time 0.007557/1.316, allocations: 1.533 MB / 1.096 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/1.316, allocations: 81.11 kB / 1.096 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006443/1.317, allocations: 325.7 kB / 1.096 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.904e-05/1.317, allocations: 25.7 kB / 1.096 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/1.317, allocations: 238.8 kB / 1.096 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/1.317, allocations: 85.06 kB / 1.096 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/1.317, allocations: 7.875 kB / 1.096 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000169/1.317, allocations: 342 kB / 1.097 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005333/1.318, allocations: 237.8 kB / 1.097 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006259/1.319, allocations: 324.4 kB / 1.097 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000884/1.319, allocations: 292 kB / 1.098 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/1.32, allocations: 0 / 1.098 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004976/1.324, allocations: 1.058 MB / 1.099 GB, free: 11 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003732/1.325, allocations: 0.7956 MB / 1.099 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/1.325, allocations: 0 / 1.099 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00391/1.329, allocations: 480.7 kB / 1.1 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/1.33, allocations: 131.8 kB / 1.1 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005992/1.336, allocations: 3.006 MB / 1.103 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/1.337, allocations: 107.8 kB / 1.103 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-05/1.338, allocations: 19.42 kB / 1.103 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/1.338, allocations: 9.406 kB / 1.103 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0014/1.339, allocations: 462.7 kB / 1.103 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/1.339, allocations: 4 kB / 1.103 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/1.339, allocations: 7.984 kB / 1.103 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/1.34, allocations: 151.6 kB / 1.104 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/1.34, allocations: 7.984 kB / 1.104 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/1.342, allocations: 91.86 kB / 1.104 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.622e-05/1.342, allocations: 15.73 kB / 1.104 GB, free: 6.164 MB / 0.7136 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 () * 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.0002327/1.342, allocations: 116.9 kB / 1.104 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/1.342, allocations: 31.62 kB / 1.104 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0053/1.347, allocations: 1.098 MB / 1.105 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/1.347, allocations: 8 kB / 1.105 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.347, allocations: 0 / 1.105 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/1.347, allocations: 4 kB / 1.105 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006587/1.354, allocations: 1.722 MB / 1.107 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/1.354, allocations: 4 kB / 1.107 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000805/1.355, allocations: 83.83 kB / 1.107 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004347/1.359, allocations: 0.6203 MB / 1.107 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-05/1.359, allocations: 0 / 1.107 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008569/1.368, allocations: 4.205 MB / 1.111 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.096e-05/1.368, allocations: 7.984 kB / 1.111 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004954/1.373, allocations: 1.156 MB / 1.113 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005177/1.374, allocations: 174.2 kB / 1.113 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/1.374, allocations: 4 kB / 1.113 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/1.375, allocations: 111.8 kB / 1.113 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/1.375, allocations: 19.22 kB / 1.113 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-05/1.375, allocations: 15.61 kB / 1.113 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004825/1.376, allocations: 264.4 kB / 1.113 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.41e-07/1.376, allocations: 3.938 kB / 1.113 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00122/1.377, allocations: 191.4 kB / 1.113 GB, free: 13.48 MB / 0.7292 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 () * 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.0003763/1.377, allocations: 154.6 kB / 1.113 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002846/1.38, allocations: 0.9683 MB / 1.114 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.38, allocations: 0 / 1.114 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001488/1.382, allocations: 0.5605 MB / 1.115 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009754/1.383, allocations: 111.1 kB / 1.115 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/1.385, allocations: 0.7332 MB / 1.116 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007004/1.386, allocations: 0.922 MB / 1.117 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001359/1.387, allocations: 219.1 kB / 1.117 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/1.387, allocations: 30.8 kB / 1.117 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of SimCode: time 1.222e-06/1.387, allocations: 0 / 1.117 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of Templates: time 0.02803/1.415, allocations: 10.16 MB / 1.127 GB, free: 144 kB / 0.7292 GB