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.477/2.477, allocations: 253.2 MB / 260.6 MB, free: 7.555 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.002135/0.002135, allocations: 174.1 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.223/2.223, allocations: 205.5 MB / 0.5708 GB, free: 15.23 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.001085/0.001085, allocations: 90.72 kB / 0.6751 GB, free: 4.594 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.8e-05/1.823e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.212, allocations: 106.3 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.041/1.253, allocations: 162.2 MB / 1.047 GB, free: 9.414 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003609/1.253, allocations: 87.69 kB / 1.047 GB, free: 9.367 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.07368/1.327, allocations: 17.82 MB / 1.065 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.483e-06/1.327, allocations: 0 / 1.065 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.634e-05/1.327, allocations: 8 kB / 1.065 GB, free: 10.67 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.001089/1.328, allocations: 0.5175 MB / 1.065 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/1.328, allocations: 16.02 kB / 1.065 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/1.33, allocations: 107 kB / 1.065 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005767/1.33, allocations: 259.7 kB / 1.065 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/1.33, allocations: 8 kB / 1.065 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.572e-05/1.33, allocations: 12 kB / 1.065 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006286/1.331, allocations: 229.5 kB / 1.066 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007126/1.332, allocations: 313.2 kB / 1.066 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/1.332, allocations: 0 / 1.066 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.353e-05/1.332, allocations: 4 kB / 1.066 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.427e-05/1.332, allocations: 23.8 kB / 1.066 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003184/1.335, allocations: 1.69 MB / 1.068 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007251/1.336, allocations: 315.8 kB / 1.068 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/1.336, allocations: 102.5 kB / 1.068 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001574/1.336, allocations: 89.09 kB / 1.068 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/1.336, allocations: 30.56 kB / 1.068 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=16): time 3.727e-06/1.336, allocations: 0 / 1.068 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.002672/1.339, allocations: 0.6911 MB / 1.069 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/1.339, allocations: 77.3 kB / 1.069 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/1.339, allocations: 167.8 kB / 1.069 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/1.339, allocations: 25.7 kB / 1.069 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/1.339, allocations: 170.2 kB / 1.069 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.605e-05/1.34, allocations: 84.94 kB / 1.069 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/1.34, allocations: 0 / 1.069 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001927/1.34, allocations: 332.5 kB / 1.07 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002826/1.34, allocations: 121.9 kB / 1.07 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003637/1.34, allocations: 206.8 kB / 1.07 GB, free: 5.496 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006847/1.341, allocations: 184.8 kB / 1.07 GB, free: 5.371 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/1.341, allocations: 3.938 kB / 1.07 GB, free: 5.367 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001588/1.343, allocations: 0.5029 MB / 1.071 GB, free: 4.961 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/1.343, allocations: 4 kB / 1.071 GB, free: 4.957 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/1.343, allocations: 4.312 kB / 1.071 GB, free: 4.953 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006213/1.344, allocations: 136.2 kB / 1.071 GB, free: 4.836 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004497/1.344, allocations: 55.91 kB / 1.071 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003956/1.348, allocations: 3.851 MB / 1.075 GB, free: 0.8711 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004172/1.348, allocations: 16.05 kB / 1.075 GB, free: 0.8555 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-05/1.348, allocations: 8 kB / 1.075 GB, free: 0.8477 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.idealACDCConverter1.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: 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.0002257/1.349, allocations: 126.9 kB / 1.075 GB, free: 0.7227 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.583e-05/1.349, allocations: 23.72 kB / 1.075 GB, free: 0.6992 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001535/1.35, allocations: 473 kB / 1.075 GB, free: 340 kB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/1.35, allocations: 7.984 kB / 1.075 GB, free: 332 kB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/1.35, allocations: 0 / 1.075 GB, free: 332 kB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/1.35, allocations: 0 / 1.075 GB, free: 332 kB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002552/1.353, allocations: 0.943 MB / 1.076 GB, free: 15.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/1.353, allocations: 0 / 1.076 GB, free: 15.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000256/1.353, allocations: 43.28 kB / 1.076 GB, free: 15.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005947/1.354, allocations: 136.9 kB / 1.076 GB, free: 15.32 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/1.354, allocations: 4 kB / 1.076 GB, free: 15.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004002/1.358, allocations: 3.841 MB / 1.08 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.605e-06/1.358, allocations: 0 / 1.08 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/1.36, allocations: 0.723 MB / 1.081 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002108/1.36, allocations: 128.7 kB / 1.081 GB, free: 10.55 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.812e-05/1.36, allocations: 8 kB / 1.081 GB, free: 10.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/1.36, allocations: 19.92 kB / 1.081 GB, free: 10.52 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.215e-05/1.36, allocations: 19.55 kB / 1.081 GB, free: 10.51 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/1.36, allocations: 19.48 kB / 1.081 GB, free: 10.49 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000194/1.361, allocations: 149.1 kB / 1.081 GB, free: 10.37 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.361, allocations: 0 / 1.081 GB, free: 10.37 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008129/1.361, allocations: 91.92 kB / 1.081 GB, free: 10.28 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.0002931/1.362, allocations: 146.3 kB / 1.081 GB, free: 10.13 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001229/1.363, allocations: 0.5239 MB / 1.082 GB, free: 9.684 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.363, allocations: 4.062 kB / 1.082 GB, free: 9.68 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000742/1.364, allocations: 372.9 kB / 1.082 GB, free: 9.34 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005293/1.364, allocations: 39.19 kB / 1.082 GB, free: 9.309 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/1.366, allocations: 449.1 kB / 1.083 GB, free: 8.887 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004999/1.366, allocations: 0.7883 MB / 1.083 GB, free: 8.082 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003281/1.366, allocations: 57.97 kB / 1.083 GB, free: 8.027 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.167e-05/1.367, allocations: 19.44 kB / 1.083 GB, free: 8.008 MB / 0.698 GB Notification: Performance of SimCode: time 9.42e-07/1.367, allocations: 0 / 1.083 GB, free: 8.008 MB / 0.698 GB Notification: Performance of Templates: time 0.01209/1.379, allocations: 3.689 MB / 1.087 GB, free: 4.352 MB / 0.698 GB