Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.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.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.272/2.272, allocations: 253.2 MB / 260.6 MB, free: 7.414 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.001433/0.001433, allocations: 176.9 kB / 319.9 MB, free: 3.039 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.219/2.219, allocations: 205.6 MB / 0.5708 GB, free: 15.24 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.00119/0.00119, allocations: 89.06 kB / 0.6751 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.751e-05/2.755e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3016, allocations: 106.3 MB / 0.8887 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9816/1.283, allocations: 164.8 MB / 1.05 GB, free: 6.828 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003457/1.284, allocations: 94 kB / 1.05 GB, free: 6.777 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.08074/1.364, allocations: 20 MB / 1.069 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.723e-06/1.365, allocations: 0 / 1.069 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.923e-05/1.365, allocations: 8 kB / 1.069 GB, free: 6.309 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001289/1.366, allocations: 0.5636 MB / 1.07 GB, free: 5.719 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/1.366, allocations: 8.031 kB / 1.07 GB, free: 5.711 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001589/1.368, allocations: 123.8 kB / 1.07 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006236/1.368, allocations: 276.9 kB / 1.07 GB, free: 5.301 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/1.368, allocations: 4 kB / 1.07 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.096e-05/1.368, allocations: 15.94 kB / 1.07 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006633/1.369, allocations: 256.5 kB / 1.07 GB, free: 5.113 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007677/1.37, allocations: 360.2 kB / 1.071 GB, free: 4.816 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/1.37, allocations: 0 / 1.071 GB, free: 4.816 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.376e-05/1.37, allocations: 4 kB / 1.071 GB, free: 4.812 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.71e-05/1.37, allocations: 24.55 kB / 1.071 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003564/1.374, allocations: 1.999 MB / 1.073 GB, free: 2.82 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/1.375, allocations: 322.6 kB / 1.073 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000507/1.375, allocations: 176.2 kB / 1.073 GB, free: 2.457 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001657/1.375, allocations: 93.28 kB / 1.073 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/1.375, allocations: 42.12 kB / 1.073 GB, free: 2.301 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=22): time 2.706e-06/1.375, allocations: 0 / 1.073 GB, free: 2.301 MB / 0.6823 GB Notification: Performance of matching and sorting (n=34): time 0.003275/1.379, allocations: 0.8729 MB / 1.074 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.12e-05/1.379, allocations: 85.05 kB / 1.074 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/1.379, allocations: 198.8 kB / 1.075 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.005e-05/1.379, allocations: 25.7 kB / 1.075 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/1.379, allocations: 188.2 kB / 1.075 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/1.379, allocations: 109.7 kB / 1.075 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/1.38, allocations: 4 kB / 1.075 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001447/1.38, allocations: 338 kB / 1.075 GB, free: 0.6992 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003601/1.38, allocations: 151.2 kB / 1.075 GB, free: 0.6094 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004613/1.38, allocations: 264.5 kB / 1.076 GB, free: 380 kB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007377/1.381, allocations: 228.8 kB / 1.076 GB, free: 220 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/1.381, allocations: 0 / 1.076 GB, free: 220 kB / 0.6823 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001851/1.383, allocations: 0.575 MB / 1.076 GB, free: 15.76 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005376/1.384, allocations: 1.231 MB / 1.078 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/1.384, allocations: 4 kB / 1.078 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006524/1.384, allocations: 127.2 kB / 1.078 GB, free: 14.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008273/1.385, allocations: 98.92 kB / 1.078 GB, free: 14.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003993/1.389, allocations: 3.832 MB / 1.081 GB, free: 10.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006418/1.39, allocations: 36.11 kB / 1.082 GB, free: 10.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.497e-05/1.39, allocations: 15.44 kB / 1.082 GB, free: 10.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/1.39, allocations: 4 kB / 1.082 GB, free: 10.29 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001746/1.392, allocations: 0.5157 MB / 1.082 GB, free: 9.887 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/1.392, allocations: 4 kB / 1.082 GB, free: 9.883 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004685/1.392, allocations: 124.5 kB / 1.082 GB, free: 9.773 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007847/1.393, allocations: 103.8 kB / 1.082 GB, free: 9.676 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009378/1.394, allocations: 1.11 MB / 1.083 GB, free: 8.547 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005599/1.395, allocations: 36.14 kB / 1.083 GB, free: 8.512 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.957e-05/1.395, allocations: 19.5 kB / 1.083 GB, free: 8.496 MB / 0.698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.conversion.P_n[1]:DUMMY_DER(fixed = false ) "Power transmitted at pin n (primary)" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * 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.0002513/1.395, allocations: 122.7 kB / 1.084 GB, free: 8.371 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/1.395, allocations: 27.62 kB / 1.084 GB, free: 8.344 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/1.397, allocations: 0.5291 MB / 1.084 GB, free: 7.945 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/1.397, allocations: 4 kB / 1.084 GB, free: 7.941 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.397, allocations: 4 kB / 1.084 GB, free: 7.938 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/1.397, allocations: 4 kB / 1.084 GB, free: 7.934 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003226/1.4, allocations: 1.195 MB / 1.085 GB, free: 6.871 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/1.4, allocations: 4 kB / 1.085 GB, free: 6.867 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000525/1.401, allocations: 67.83 kB / 1.085 GB, free: 6.805 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006186/1.401, allocations: 143.5 kB / 1.085 GB, free: 6.68 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-05/1.401, allocations: 4 kB / 1.085 GB, free: 6.676 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00398/1.405, allocations: 3.859 MB / 1.089 GB, free: 2.746 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.517e-06/1.406, allocations: 4.25 kB / 1.089 GB, free: 2.742 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/1.407, allocations: 0.8204 MB / 1.09 GB, free: 1.945 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002866/1.408, allocations: 138.3 kB / 1.09 GB, free: 1.805 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.818e-05/1.408, allocations: 4 kB / 1.09 GB, free: 1.801 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005391/1.408, allocations: 31.95 kB / 1.09 GB, free: 1.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/1.408, allocations: 35.8 kB / 1.09 GB, free: 1.738 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.302e-05/1.408, allocations: 15.69 kB / 1.09 GB, free: 1.727 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002189/1.409, allocations: 157.5 kB / 1.09 GB, free: 1.598 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.21e-07/1.409, allocations: 3.938 kB / 1.09 GB, free: 1.594 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00116/1.41, allocations: 151.9 kB / 1.091 GB, free: 1.445 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 (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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003435/1.41, allocations: 146.4 kB / 1.091 GB, free: 1.297 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002334/1.413, allocations: 1.015 MB / 1.092 GB, free: 428 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/1.413, allocations: 0 / 1.092 GB, free: 428 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009989/1.414, allocations: 436.1 kB / 1.092 GB, free: 36 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006404/1.414, allocations: 45.14 kB / 1.092 GB, free: 0 / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/1.416, allocations: 0.5384 MB / 1.093 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005163/1.416, allocations: 0.8147 MB / 1.093 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0006792/1.417, allocations: 119.2 kB / 1.094 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/1.417, allocations: 27 kB / 1.094 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of SimCode: time 9.22e-07/1.417, allocations: 0 / 1.094 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of Templates: time 0.01605/1.433, allocations: 5.497 MB / 1.099 GB, free: 9.066 MB / 0.7136 GB