Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) 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) Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001595/0.001595, allocations: 182.7 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.048/2.048, allocations: 205.4 MB / 221.9 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001104, allocations: 94.77 kB / 270.2 MB, free: 13.29 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2597/0.2597, allocations: 38.06 MB / 356.6 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004387/0.0004388, allocations: 8 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1096, allocations: 56.33 MB / 479.1 MB, free: 2.023 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5322/0.6419, allocations: 109.7 MB / 0.575 GB, free: 6.344 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003318/0.6422, allocations: 96.52 kB / 0.5751 GB, free: 6.293 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1084/0.7507, allocations: 24.42 MB / 0.5989 GB, free: 1.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.517e-06/0.7507, allocations: 0 / 0.5989 GB, free: 1.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.978e-05/0.7508, allocations: 24.16 kB / 0.599 GB, free: 1.207 MB / 394.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.004853/0.7557, allocations: 1.26 MB / 0.6002 GB, free: 15.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.7558, allocations: 8.031 kB / 0.6002 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001441/0.7572, allocations: 138.8 kB / 0.6003 GB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00559/0.7628, allocations: 1.278 MB / 0.6016 GB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003983/0.7633, allocations: 182.5 kB / 0.6018 GB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003574/0.7636, allocations: 76.44 kB / 0.6018 GB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004014/0.7677, allocations: 1.414 MB / 0.6032 GB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.014e-05/0.7678, allocations: 0 / 0.6032 GB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001512/0.7679, allocations: 37.53 kB / 0.6032 GB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002623/0.7682, allocations: 77.22 kB / 0.6033 GB, free: 13.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004822/0.773, allocations: 1.53 MB / 0.6048 GB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01182/0.7849, allocations: 4.427 MB / 0.6091 GB, free: 8.637 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004277/0.7892, allocations: 1.337 MB / 0.6104 GB, free: 7.613 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/0.7894, allocations: 16.7 kB / 0.6105 GB, free: 7.598 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.7895, allocations: 41.97 kB / 0.6105 GB, free: 7.555 MB / 410.7 MB Notification: Performance of pre-optimization done (n=103): time 4.488e-06/0.7895, allocations: 0 / 0.6105 GB, free: 7.555 MB / 410.7 MB Notification: Performance of matching and sorting (n=104): time 0.01233/0.8018, allocations: 4.262 MB / 0.6147 GB, free: 4.129 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.851e-05/0.802, allocations: 93.73 kB / 0.6147 GB, free: 4.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006427/0.8026, allocations: 348.7 kB / 0.6151 GB, free: 3.742 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001909/0.8028, allocations: 39.39 kB / 0.6151 GB, free: 3.707 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/0.8031, allocations: 385 kB / 0.6155 GB, free: 3.395 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004309/0.8035, allocations: 354.5 kB / 0.6158 GB, free: 3.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.8037, allocations: 15.31 kB / 0.6158 GB, free: 3.086 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.8039, allocations: 355.7 kB / 0.6162 GB, free: 2.746 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001912/0.8058, allocations: 0.6092 MB / 0.6168 GB, free: 2.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002043/0.8079, allocations: 0.7598 MB / 0.6175 GB, free: 1.711 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002139/0.81, allocations: 0.689 MB / 0.6182 GB, free: 1.246 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/0.8101, allocations: 7.953 kB / 0.6182 GB, free: 1.238 MB / 410.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004966/0.815, allocations: 1.594 MB / 0.6198 GB, free: 15.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.8151, allocations: 4 kB / 0.6198 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.8151, allocations: 4 kB / 0.6198 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001639/0.8153, allocations: 33.06 kB / 0.6198 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005344/0.8207, allocations: 0.6204 MB / 0.6204 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/0.8316, allocations: 6.392 MB / 0.6266 GB, free: 8.109 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.833, allocations: 100 kB / 0.6267 GB, free: 8.012 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/0.8332, allocations: 31.98 kB / 0.6268 GB, free: 7.98 MB / 426.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 (104): * Single equations (assignments): 96 * 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: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008024/0.834, allocations: 315.8 kB / 0.6271 GB, free: 7.664 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002248/0.8342, allocations: 67.25 kB / 0.6271 GB, free: 7.598 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004903/0.8392, allocations: 1.616 MB / 0.6287 GB, free: 5.953 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.894e-05/0.8393, allocations: 28 kB / 0.6287 GB, free: 5.926 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.8393, allocations: 4 kB / 0.6287 GB, free: 5.922 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.8393, allocations: 3.984 kB / 0.6287 GB, free: 5.918 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008227/0.8475, allocations: 2.931 MB / 0.6316 GB, free: 2.883 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.8476, allocations: 0 / 0.6316 GB, free: 2.883 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006088/0.8537, allocations: 0.6752 MB / 0.6323 GB, free: 2.207 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001437/0.8539, allocations: 28.84 kB / 0.6323 GB, free: 2.176 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001563/0.8541, allocations: 27.94 kB / 0.6323 GB, free: 2.148 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/0.8554, allocations: 1.389 MB / 0.6337 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.135e-05/0.8555, allocations: 12 kB / 0.6337 GB, free: 0.6172 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007495/0.863, allocations: 2.683 MB / 0.6363 GB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00026/0.8633, allocations: 136.3 kB / 0.6364 GB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/0.8635, allocations: 16 kB / 0.6365 GB, free: 13.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.8646, allocations: 87.89 kB / 0.6365 GB, free: 13.56 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000304/0.865, allocations: 76.5 kB / 0.6366 GB, free: 13.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/0.8651, allocations: 27.98 kB / 0.6366 GB, free: 13.46 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005011/0.8656, allocations: 275.1 kB / 0.6369 GB, free: 13.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.8656, allocations: 4 kB / 0.6369 GB, free: 13.19 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001323/0.8669, allocations: 263.9 kB / 0.6372 GB, free: 12.93 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 (85): * Single equations (assignments): 79 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004766/0.8674, allocations: 171 kB / 0.6373 GB, free: 12.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007835/0.8753, allocations: 1.939 MB / 0.6392 GB, free: 10.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.8753, allocations: 0.5 kB / 0.6392 GB, free: 10.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005981/0.8813, allocations: 1.326 MB / 0.6405 GB, free: 9.457 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.8826, allocations: 140.2 kB / 0.6406 GB, free: 9.324 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009024/0.8917, allocations: 3.121 MB / 0.6437 GB, free: 6.152 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.8927, allocations: 1.092 MB / 0.6448 GB, free: 5.035 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007091/0.8935, allocations: 67.42 kB / 0.6448 GB, free: 4.969 MB / 442.7 MB Notification: Performance of SimCode: time 1.433e-06/0.8935, allocations: 4 kB / 0.6448 GB, free: 4.965 MB / 442.7 MB Notification: Performance of Templates: time 0.04595/0.9394, allocations: 22.83 MB / 0.6671 GB, free: 14.11 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1)