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.512/2.512, allocations: 252.6 MB / 265.2 MB, free: 5.703 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.001429/0.00143, allocations: 179.9 kB / 324.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.198/2.198, allocations: 205.4 MB / 0.5754 GB, free: 10.46 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.001081/0.001081, allocations: 90.06 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.341e-05/3.343e-05, allocations: 4 kB / 0.7911 GB, free: 96.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2111, allocations: 106.3 MB / 0.8949 GB, free: 6.254 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.964/1.175, allocations: 161.9 MB / 1.053 GB, free: 6.891 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003655/1.176, allocations: 89.62 kB / 1.053 GB, free: 6.844 MB / 0.6667 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.07474/1.25, allocations: 17.87 MB / 1.071 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.264e-06/1.25, allocations: 0 / 1.071 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.906e-05/1.251, allocations: 8 kB / 1.071 GB, free: 7.977 MB / 0.6823 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.00109/1.252, allocations: 0.5224 MB / 1.071 GB, free: 7.426 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.655e-05/1.252, allocations: 12.03 kB / 1.071 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/1.253, allocations: 99.61 kB / 1.071 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005547/1.254, allocations: 264.5 kB / 1.071 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/1.254, allocations: 18.17 kB / 1.071 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.456e-05/1.254, allocations: 18.12 kB / 1.071 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008165/1.255, allocations: 344.5 kB / 1.072 GB, free: 6.75 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/1.255, allocations: 0 / 1.072 GB, free: 6.75 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.836e-05/1.255, allocations: 9.75 kB / 1.072 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.479e-05/1.255, allocations: 24.17 kB / 1.072 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007392/1.256, allocations: 282.1 kB / 1.072 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003344/1.259, allocations: 1.749 MB / 1.074 GB, free: 4.824 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008152/1.26, allocations: 325.2 kB / 1.074 GB, free: 4.539 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000248/1.26, allocations: 101.9 kB / 1.074 GB, free: 4.465 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001825/1.26, allocations: 89.09 kB / 1.074 GB, free: 4.359 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/1.26, allocations: 34.38 kB / 1.074 GB, free: 4.32 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=16): time 3.417e-06/1.26, allocations: 4 kB / 1.074 GB, free: 4.316 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.003923/1.264, allocations: 0.8025 MB / 1.075 GB, free: 3.645 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/1.264, allocations: 85.27 kB / 1.075 GB, free: 3.543 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/1.265, allocations: 189.1 kB / 1.075 GB, free: 3.379 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.053e-05/1.265, allocations: 33.08 kB / 1.075 GB, free: 3.344 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/1.265, allocations: 173.9 kB / 1.076 GB, free: 3.188 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/1.265, allocations: 78.22 kB / 1.076 GB, free: 3.121 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-05/1.265, allocations: 7.562 kB / 1.076 GB, free: 3.117 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001421/1.265, allocations: 329.1 kB / 1.076 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003102/1.266, allocations: 124.2 kB / 1.076 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003734/1.266, allocations: 208.7 kB / 1.076 GB, free: 2.535 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003929/1.266, allocations: 170.9 kB / 1.076 GB, free: 2.418 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/1.266, allocations: 3.953 kB / 1.076 GB, free: 2.414 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001471/1.268, allocations: 0.4944 MB / 1.077 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/1.268, allocations: 8 kB / 1.077 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/1.268, allocations: 0 / 1.077 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000803/1.269, allocations: 157.3 kB / 1.077 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005446/1.269, allocations: 59.86 kB / 1.077 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004195/1.274, allocations: 3.945 MB / 1.081 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004326/1.274, allocations: 26.55 kB / 1.081 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.614e-05/1.274, allocations: 12.16 kB / 1.081 GB, free: 13.75 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 () * 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.0001564/1.274, allocations: 129.8 kB / 1.081 GB, free: 13.64 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.754e-05/1.274, allocations: 23.72 kB / 1.081 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/1.276, allocations: 474.1 kB / 1.082 GB, free: 13.26 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/1.276, allocations: 4 kB / 1.082 GB, free: 13.25 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/1.276, allocations: 0 / 1.082 GB, free: 13.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/1.276, allocations: 3.984 kB / 1.082 GB, free: 13.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002544/1.278, allocations: 1.006 MB / 1.083 GB, free: 12.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/1.278, allocations: 8.25 kB / 1.083 GB, free: 12.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/1.279, allocations: 31.92 kB / 1.083 GB, free: 12.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007083/1.279, allocations: 141.1 kB / 1.083 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/1.28, allocations: 6.5 kB / 1.083 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003963/1.283, allocations: 3.94 MB / 1.087 GB, free: 8.152 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.816e-06/1.284, allocations: 4.031 kB / 1.087 GB, free: 8.148 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/1.285, allocations: 0.7363 MB / 1.087 GB, free: 7.418 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002218/1.285, allocations: 127.4 kB / 1.088 GB, free: 7.285 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.294e-05/1.285, allocations: 7.312 kB / 1.088 GB, free: 7.281 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003705/1.286, allocations: 18.98 kB / 1.088 GB, free: 7.266 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.43e-05/1.286, allocations: 27.67 kB / 1.088 GB, free: 7.242 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-05/1.286, allocations: 15.5 kB / 1.088 GB, free: 7.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002252/1.286, allocations: 155.4 kB / 1.088 GB, free: 7.102 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.51e-07/1.286, allocations: 0 / 1.088 GB, free: 7.102 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007577/1.287, allocations: 99 kB / 1.088 GB, free: 7.016 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 () * 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.0002996/1.287, allocations: 148.3 kB / 1.088 GB, free: 6.867 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001346/1.289, allocations: 0.5415 MB / 1.088 GB, free: 6.402 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/1.289, allocations: 8.125 kB / 1.088 GB, free: 6.395 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008456/1.289, allocations: 398.2 kB / 1.089 GB, free: 6.027 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005327/1.29, allocations: 37.61 kB / 1.089 GB, free: 6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/1.291, allocations: 471.5 kB / 1.089 GB, free: 5.57 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004826/1.292, allocations: 0.7939 MB / 1.09 GB, free: 4.762 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003417/1.292, allocations: 58.02 kB / 1.09 GB, free: 4.699 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.897e-05/1.292, allocations: 19.44 kB / 1.09 GB, free: 4.684 MB / 0.698 GB Notification: Performance of SimCode: time 1.563e-06/1.292, allocations: 0 / 1.09 GB, free: 4.684 MB / 0.698 GB Notification: Performance of Templates: time 0.01293/1.305, allocations: 3.863 MB / 1.094 GB, free: 0.8555 MB / 0.698 GB