Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.294/2.294, 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.002337/0.002337, allocations: 182.9 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.665/2.665, allocations: 205.4 MB / 0.5766 GB, free: 20.77 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.00108/0.00108, allocations: 92.22 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004945/0.0004946, allocations: 16.75 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2219, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9275/1.149, allocations: 162 MB / 1.057 GB, free: 64.87 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003517/1.15, allocations: 93.09 kB / 1.057 GB, free: 64.87 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:43:5-43:39:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.root(terminal_p.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.07363/1.223, allocations: 18.01 MB / 1.075 GB, free: 63.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.717e-06/1.224, allocations: 1.375 kB / 1.075 GB, free: 63.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.562e-05/1.224, allocations: 7.719 kB / 1.075 GB, free: 63.18 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001687/1.225, allocations: 0.5448 MB / 1.075 GB, free: 62.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.01e-05/1.225, allocations: 9.188 kB / 1.075 GB, free: 62.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001836/1.227, allocations: 110.4 kB / 1.075 GB, free: 62.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000624/1.228, allocations: 259.6 kB / 1.076 GB, free: 62.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/1.228, allocations: 16 kB / 1.076 GB, free: 62.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.787e-05/1.228, allocations: 20.41 kB / 1.076 GB, free: 62.48 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008779/1.229, allocations: 342.3 kB / 1.076 GB, free: 62.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/1.229, allocations: 5.281 kB / 1.076 GB, free: 62.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.772e-05/1.229, allocations: 10 kB / 1.076 GB, free: 62.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.395e-05/1.229, allocations: 23.03 kB / 1.076 GB, free: 62.39 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007673/1.23, allocations: 293 kB / 1.076 GB, free: 62.38 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003116/1.233, allocations: 1.738 MB / 1.078 GB, free: 61.14 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007833/1.234, allocations: 323.8 kB / 1.078 GB, free: 61 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001472/1.234, allocations: 84.05 kB / 1.078 GB, free: 60.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/1.234, allocations: 47.27 kB / 1.078 GB, free: 60.86 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 2.404e-06/1.234, allocations: 0 / 1.078 GB, free: 60.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.00429/1.238, allocations: 0.9746 MB / 1.079 GB, free: 60.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/1.238, allocations: 86.25 kB / 1.08 GB, free: 60.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003133/1.239, allocations: 192.5 kB / 1.08 GB, free: 60.39 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.063e-05/1.239, allocations: 26.7 kB / 1.08 GB, free: 60.36 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.952e-05/1.239, allocations: 169.4 kB / 1.08 GB, free: 60.24 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.276e-05/1.239, allocations: 84.33 kB / 1.08 GB, free: 60.18 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/1.239, allocations: 7.875 kB / 1.08 GB, free: 60.18 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.929e-05/1.239, allocations: 329.1 kB / 1.08 GB, free: 59.87 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003214/1.239, allocations: 131.8 kB / 1.08 GB, free: 59.87 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003672/1.24, allocations: 209 kB / 1.081 GB, free: 59.78 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004503/1.24, allocations: 164 kB / 1.081 GB, free: 59.77 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.24, allocations: 4.906 kB / 1.081 GB, free: 59.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001496/1.242, allocations: 0.5099 MB / 1.081 GB, free: 59.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/1.242, allocations: 6.406 kB / 1.081 GB, free: 59.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/1.242, allocations: 2.625 kB / 1.081 GB, free: 59.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007948/1.243, allocations: 151.4 kB / 1.081 GB, free: 59.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004777/1.243, allocations: 60.39 kB / 1.081 GB, free: 59.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00342/1.247, allocations: 3.981 MB / 1.085 GB, free: 56.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004613/1.247, allocations: 23.3 kB / 1.085 GB, free: 56.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-05/1.247, allocations: 13.28 kB / 1.085 GB, free: 56.04 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002815/1.248, allocations: 162.6 kB / 1.086 GB, free: 55.92 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.667e-05/1.248, allocations: 26.38 kB / 1.086 GB, free: 55.91 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/1.249, allocations: 483.5 kB / 1.086 GB, free: 55.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/1.249, allocations: 2.25 kB / 1.086 GB, free: 55.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/1.249, allocations: 1.969 kB / 1.086 GB, free: 55.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/1.249, allocations: 1.734 kB / 1.086 GB, free: 55.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002405/1.252, allocations: 1.001 MB / 1.087 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/1.252, allocations: 3.75 kB / 1.087 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/1.252, allocations: 41.5 kB / 1.087 GB, free: 55.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007719/1.253, allocations: 146.3 kB / 1.087 GB, free: 55.33 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.119e-05/1.253, allocations: 8.25 kB / 1.087 GB, free: 55.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003237/1.256, allocations: 3.975 MB / 1.091 GB, free: 51.76 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/1.256, allocations: 1.469 kB / 1.091 GB, free: 51.76 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001382/1.257, allocations: 0.7384 MB / 1.092 GB, free: 51.27 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001987/1.258, allocations: 122.6 kB / 1.092 GB, free: 51.16 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.203e-05/1.258, allocations: 11.62 kB / 1.092 GB, free: 51.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003582/1.258, allocations: 22.25 kB / 1.092 GB, free: 51.16 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.738e-05/1.258, allocations: 30.34 kB / 1.092 GB, free: 51.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/1.258, allocations: 7.938 kB / 1.092 GB, free: 51.15 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002036/1.258, allocations: 153.9 kB / 1.092 GB, free: 51.08 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.6e-07/1.258, allocations: 0 / 1.092 GB, free: 51.08 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007873/1.259, allocations: 105.3 kB / 1.092 GB, free: 51.06 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002687/1.259, allocations: 154.8 kB / 1.092 GB, free: 50.95 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001325/1.261, allocations: 0.548 MB / 1.093 GB, free: 50.72 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/1.261, allocations: 8 kB / 1.093 GB, free: 50.71 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007178/1.262, allocations: 398.3 kB / 1.093 GB, free: 50.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005548/1.262, allocations: 37.98 kB / 1.093 GB, free: 50.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/1.264, allocations: 0.7188 MB / 1.094 GB, free: 50.09 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/1.264, allocations: 0.7917 MB / 1.095 GB, free: 49.38 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003525/1.264, allocations: 61.77 kB / 1.095 GB, free: 49.37 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.815e-05/1.264, allocations: 19.25 kB / 1.095 GB, free: 49.37 MB / 0.698 GB Notification: Performance of SimCode: time 1.022e-06/1.264, allocations: 0 / 1.095 GB, free: 49.37 MB / 0.698 GB Notification: Performance of Templates: time 0.01128/1.276, allocations: 3.855 MB / 1.099 GB, free: 49.1 MB / 0.698 GB