Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.942/4.942, allocations: 0.5623 GB / 0.5775 GB, free: 3.387 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002613/0.002613, allocations: 357.9 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.255/4.255, allocations: 410.7 MB / 1.113 GB, free: 5.996 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001867/0.001867, allocations: 187.6 kB / 1.226 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005044/0.0005047, allocations: 16 kB / 1.349 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7179/0.7184, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2347/0.9531, allocations: 171 MB / 1.628 GB, free: 113.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003378/0.9535, allocations: 109.1 kB / 1.628 GB, free: 113.1 MB / 0.8542 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.07349/1.027, allocations: 20.18 MB / 1.648 GB, free: 92.94 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.204e-06/1.027, allocations: 2.625 kB / 1.648 GB, free: 92.94 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.57e-05/1.027, allocations: 4 kB / 1.648 GB, free: 92.94 MB / 0.8542 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.00123/1.028, allocations: 0.5978 MB / 1.649 GB, free: 92.29 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/1.028, allocations: 15.62 kB / 1.649 GB, free: 92.28 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/1.03, allocations: 121.4 kB / 1.649 GB, free: 92.16 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005762/1.031, allocations: 271 kB / 1.649 GB, free: 91.86 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/1.031, allocations: 20.42 kB / 1.649 GB, free: 91.84 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.046e-05/1.031, allocations: 21.19 kB / 1.649 GB, free: 91.82 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009436/1.032, allocations: 419.9 kB / 1.65 GB, free: 91.38 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/1.032, allocations: 3.938 kB / 1.65 GB, free: 91.38 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.681e-05/1.032, allocations: 8 kB / 1.65 GB, free: 91.37 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.501e-05/1.032, allocations: 28.55 kB / 1.65 GB, free: 91.34 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009726/1.033, allocations: 356.6 kB / 1.65 GB, free: 91 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003315/1.036, allocations: 2.054 MB / 1.652 GB, free: 88.76 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/1.037, allocations: 361.7 kB / 1.652 GB, free: 88.39 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005991/1.038, allocations: 197.8 kB / 1.652 GB, free: 88.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001733/1.038, allocations: 89.28 kB / 1.653 GB, free: 88.09 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/1.038, allocations: 30.75 kB / 1.653 GB, free: 88.05 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=22): time 3.015e-06/1.038, allocations: 0 / 1.653 GB, free: 88.05 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34): time 0.00879/1.047, allocations: 1.765 MB / 1.654 GB, free: 86.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/1.047, allocations: 85.05 kB / 1.654 GB, free: 86.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/1.048, allocations: 233.4 kB / 1.655 GB, free: 85.96 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.555e-05/1.048, allocations: 30.92 kB / 1.655 GB, free: 85.93 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.651e-05/1.048, allocations: 180.1 kB / 1.655 GB, free: 85.75 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/1.048, allocations: 118.3 kB / 1.655 GB, free: 85.63 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/1.048, allocations: 9.625 kB / 1.655 GB, free: 85.62 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.58e-05/1.048, allocations: 338.8 kB / 1.655 GB, free: 85.28 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006133/1.049, allocations: 202.6 kB / 1.655 GB, free: 85.09 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006625/1.049, allocations: 317 kB / 1.656 GB, free: 84.74 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006934/1.05, allocations: 242.9 kB / 1.656 GB, free: 84.51 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.05, allocations: 7.25 kB / 1.656 GB, free: 84.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002084/1.052, allocations: 0.6642 MB / 1.657 GB, free: 83.83 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/1.052, allocations: 178 kB / 1.657 GB, free: 83.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/1.052, allocations: 7.984 kB / 1.657 GB, free: 83.61 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007578/1.053, allocations: 142.1 kB / 1.657 GB, free: 83.46 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007649/1.054, allocations: 105 kB / 1.657 GB, free: 83.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003027/1.057, allocations: 3.947 MB / 1.661 GB, free: 79.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006303/1.058, allocations: 44.89 kB / 1.661 GB, free: 79.06 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.055e-05/1.058, allocations: 16.66 kB / 1.661 GB, free: 79.05 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/1.058, allocations: 4 kB / 1.661 GB, free: 79.04 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001963/1.06, allocations: 0.6217 MB / 1.662 GB, free: 78.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/1.06, allocations: 4 kB / 1.662 GB, free: 78.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005862/1.06, allocations: 145.1 kB / 1.662 GB, free: 78.26 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007482/1.061, allocations: 97.38 kB / 1.662 GB, free: 78.17 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006401/1.062, allocations: 1.108 MB / 1.663 GB, free: 77.01 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005846/1.062, allocations: 34.06 kB / 1.663 GB, free: 76.98 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.976e-05/1.062, allocations: 20 kB / 1.663 GB, free: 76.96 MB / 0.8542 GB 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 () * Number of clocked 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.0003214/1.063, allocations: 254.3 kB / 1.663 GB, free: 76.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/1.063, allocations: 32.58 kB / 1.663 GB, free: 76.67 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001913/1.065, allocations: 0.6309 MB / 1.664 GB, free: 76.03 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/1.065, allocations: 4 kB / 1.664 GB, free: 76.03 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/1.065, allocations: 0 / 1.664 GB, free: 76.03 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/1.065, allocations: 3.984 kB / 1.664 GB, free: 76.02 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003245/1.068, allocations: 1.336 MB / 1.665 GB, free: 74.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/1.068, allocations: 5.188 kB / 1.665 GB, free: 74.58 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004797/1.069, allocations: 63.09 kB / 1.665 GB, free: 74.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006777/1.069, allocations: 151.3 kB / 1.665 GB, free: 74.36 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-05/1.069, allocations: 8 kB / 1.665 GB, free: 74.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00287/1.072, allocations: 3.977 MB / 1.669 GB, free: 70.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.072, allocations: 0 / 1.669 GB, free: 70.07 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/1.074, allocations: 0.794 MB / 1.67 GB, free: 69.23 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002101/1.074, allocations: 140.7 kB / 1.67 GB, free: 69.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.069e-05/1.074, allocations: 8 kB / 1.67 GB, free: 69.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004956/1.075, allocations: 45.83 kB / 1.67 GB, free: 69.03 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.65e-05/1.075, allocations: 27.12 kB / 1.67 GB, free: 69 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.533e-05/1.075, allocations: 12 kB / 1.67 GB, free: 68.99 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001964/1.075, allocations: 180.3 kB / 1.67 GB, free: 68.82 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.61e-07/1.075, allocations: 0 / 1.67 GB, free: 68.82 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009635/1.076, allocations: 175.9 kB / 1.671 GB, free: 68.65 MB / 0.8542 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 (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.0002465/1.076, allocations: 157.7 kB / 1.671 GB, free: 68.49 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002693/1.079, allocations: 1.175 MB / 1.672 GB, free: 67.25 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/1.079, allocations: 0 / 1.672 GB, free: 67.25 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/1.08, allocations: 0.4954 MB / 1.672 GB, free: 66.74 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007506/1.081, allocations: 57.45 kB / 1.672 GB, free: 66.68 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/1.083, allocations: 0.8628 MB / 1.673 GB, free: 65.79 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/1.083, allocations: 0.8162 MB / 1.674 GB, free: 64.95 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0005583/1.083, allocations: 111.4 kB / 1.674 GB, free: 64.84 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/1.084, allocations: 27.44 kB / 1.674 GB, free: 64.81 MB / 0.8542 GB Notification: Performance of SimCode: time 1.102e-06/1.084, allocations: 0 / 1.674 GB, free: 64.81 MB / 0.8542 GB Notification: Performance of Templates: time 0.01385/1.097, allocations: 5.5 MB / 1.68 GB, free: 59.39 MB / 0.8542 GB