Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Inverters.Rectifier.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Inverters.Rectifier") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002692/0.002692, allocations: 363.9 kB / 17.21 MB, free: 4.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.706/3.706, allocations: 388.9 MB / 406.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003538/0.003538, allocations: 231.6 kB / 452.2 MB, free: 14.48 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.8089/0.8089, allocations: 76.01 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006282/0.0006285, allocations: 8 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09179/0.09245, allocations: 53.23 MB / 0.6742 GB, free: 60.81 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4611/0.5536, allocations: 104.8 MB / 0.7765 GB, free: 81.62 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/0.554, allocations: 96.69 kB / 0.7766 GB, free: 81.62 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09825/0.6523, allocations: 24.36 MB / 0.8004 GB, free: 72.27 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6523, allocations: 0 / 0.8004 GB, free: 72.27 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.276e-05/0.6524, allocations: 20.61 kB / 0.8004 GB, free: 72.26 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.004501/0.6569, allocations: 1.273 MB / 0.8017 GB, free: 71.41 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.657, allocations: 8.438 kB / 0.8017 GB, free: 71.41 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/0.6583, allocations: 141 kB / 0.8018 GB, free: 71.35 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003438/0.6617, allocations: 0.9188 MB / 0.8027 GB, free: 70.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003485/0.6621, allocations: 180.4 kB / 0.8029 GB, free: 70.75 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003271/0.6625, allocations: 80.94 kB / 0.803 GB, free: 70.75 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003847/0.6663, allocations: 1.415 MB / 0.8044 GB, free: 70.3 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.399e-05/0.6664, allocations: 3.938 kB / 0.8044 GB, free: 70.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/0.6666, allocations: 28.94 kB / 0.8044 GB, free: 70.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002378/0.6668, allocations: 77.95 kB / 0.8045 GB, free: 70.29 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00458/0.6714, allocations: 1.528 MB / 0.806 GB, free: 70.02 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01056/0.682, allocations: 4.439 MB / 0.8103 GB, free: 67.28 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003795/0.6859, allocations: 1.32 MB / 0.8116 GB, free: 66.27 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002025/0.6879, allocations: 0.774 MB / 0.8123 GB, free: 65.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.6881, allocations: 12.66 kB / 0.8124 GB, free: 65.74 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.6881, allocations: 37.16 kB / 0.8124 GB, free: 65.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=103): time 4.168e-06/0.6881, allocations: 7.938 kB / 0.8124 GB, free: 65.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=104): time 0.01037/0.6985, allocations: 3.738 MB / 0.816 GB, free: 62.9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.6986, allocations: 93.55 kB / 0.8161 GB, free: 62.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005781/0.6992, allocations: 397.4 kB / 0.8165 GB, free: 62.47 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001596/0.6994, allocations: 39.14 kB / 0.8165 GB, free: 62.44 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.6996, allocations: 344.5 kB / 0.8169 GB, free: 62.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003216/0.6999, allocations: 353.4 kB / 0.8172 GB, free: 61.87 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.635e-05/0.7, allocations: 22.36 kB / 0.8172 GB, free: 61.86 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.7001, allocations: 381.5 kB / 0.8176 GB, free: 61.51 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001762/0.7019, allocations: 0.613 MB / 0.8182 GB, free: 61.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001789/0.7037, allocations: 0.758 MB / 0.8189 GB, free: 60.47 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001937/0.7057, allocations: 0.6947 MB / 0.8196 GB, free: 60 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.7057, allocations: 0 / 0.8196 GB, free: 60 MB / 442.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004161/0.7099, allocations: 1.52 MB / 0.8211 GB, free: 58.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.7099, allocations: 8 kB / 0.8211 GB, free: 58.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.71, allocations: 4 kB / 0.8211 GB, free: 58.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.86e-05/0.71, allocations: 8 kB / 0.8211 GB, free: 58.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005169/0.7152, allocations: 0.6274 MB / 0.8217 GB, free: 58.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007768/0.723, allocations: 4.922 MB / 0.8265 GB, free: 53.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.7245, allocations: 102 kB / 0.8266 GB, free: 53.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/0.7246, allocations: 31.19 kB / 0.8267 GB, free: 53.05 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 98 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007225/0.7253, allocations: 324.9 kB / 0.827 GB, free: 52.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002144/0.7256, allocations: 67.09 kB / 0.827 GB, free: 52.74 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004326/0.7299, allocations: 1.503 MB / 0.8285 GB, free: 51.67 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.006e-05/0.73, allocations: 31.98 kB / 0.8285 GB, free: 51.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.73, allocations: 0 / 0.8285 GB, free: 51.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.7301, allocations: 7.984 kB / 0.8285 GB, free: 51.63 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00724/0.7373, allocations: 2.843 MB / 0.8313 GB, free: 48.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.7374, allocations: 4 kB / 0.8313 GB, free: 48.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005938/0.7433, allocations: 0.6869 MB / 0.832 GB, free: 48.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.567e-05/0.7434, allocations: 8 kB / 0.832 GB, free: 48.01 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001699/0.7436, allocations: 27.97 kB / 0.832 GB, free: 47.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.094e-05/0.7436, allocations: 8.547 kB / 0.832 GB, free: 47.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.7436, allocations: 0 / 0.832 GB, free: 47.98 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006232/0.7498, allocations: 2.481 MB / 0.8345 GB, free: 45.46 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002421/0.7501, allocations: 140.2 kB / 0.8346 GB, free: 45.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002505/0.7504, allocations: 23.98 kB / 0.8346 GB, free: 45.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.7515, allocations: 86.72 kB / 0.8347 GB, free: 45.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002518/0.7518, allocations: 72.48 kB / 0.8348 GB, free: 45.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.7519, allocations: 36.05 kB / 0.8348 GB, free: 45.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004055/0.7523, allocations: 275.1 kB / 0.8351 GB, free: 44.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.7523, allocations: 0 / 0.8351 GB, free: 44.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001095/0.7534, allocations: 251.9 kB / 0.8353 GB, free: 44.57 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003956/0.7538, allocations: 179 kB / 0.8355 GB, free: 44.39 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007276/0.7611, allocations: 1.877 MB / 0.8373 GB, free: 42.52 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/0.7612, allocations: 0 / 0.8373 GB, free: 42.52 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005464/0.7667, allocations: 1.23 MB / 0.8385 GB, free: 41.29 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.7682, allocations: 150.9 kB / 0.8387 GB, free: 41.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007534/0.7757, allocations: 3.042 MB / 0.8416 GB, free: 38.07 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006758/0.7764, allocations: 1.091 MB / 0.8427 GB, free: 36.95 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001392/0.7778, allocations: 270.8 kB / 0.843 GB, free: 36.69 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004204/0.7783, allocations: 59.44 kB / 0.843 GB, free: 36.63 MB / 442.7 MB Notification: Performance of SimCode: time 1.683e-06/0.7783, allocations: 0 / 0.843 GB, free: 36.63 MB / 442.7 MB Notification: Performance of Templates: time 0.02419/0.8025, allocations: 9.632 MB / 0.8524 GB, free: 27.11 MB / 442.7 MB