Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008765/0.0008765, allocations: 90.61 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 182.5 kB / 17.2 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 205.4 MB / 223.4 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3485/0.3485, allocations: 38.06 MB / 309.7 MB, free: 8.844 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006107/0.0006111, allocations: 16 kB / 376.5 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1428, allocations: 56.34 MB / 432.8 MB, free: 6.727 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.007959/0.1508, allocations: 6.417 MB / 439.2 MB, free: 288 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004839/0.1557, allocations: 2.289 MB / 441.5 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009529/0.1567, allocations: 43.75 kB / 441.6 MB, free: 13.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007799/0.1575, allocations: 151 kB / 441.7 MB, free: 13.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001802/0.1593, allocations: 462.5 kB / 442.2 MB, free: 13.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.1605, allocations: 315.4 kB / 442.5 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001355/0.1619, allocations: 0.6675 MB / 443.1 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001624/0.1636, allocations: 0.8361 MB / 444 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008763/0.1645, allocations: 386.7 kB / 444.4 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.1656, allocations: 0.5181 MB / 444.9 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002834/0.1659, allocations: 52 kB / 444.9 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.1671, allocations: 0.4953 MB / 445.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000662/0.1678, allocations: 387.1 kB / 445.8 MB, free: 9.664 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005092/0.1683, allocations: 197.2 kB / 446 MB, free: 9.465 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001708/0.17, allocations: 1.15 MB / 447.1 MB, free: 8.312 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1701, allocations: 0 / 447.1 MB, free: 8.312 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1701, allocations: 0 / 447.1 MB, free: 8.312 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.109e-05/0.1701, allocations: 4 kB / 447.1 MB, free: 8.309 MB / 382.1 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.003794/0.1739, allocations: 1.227 MB / 448.4 MB, free: 7.027 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.174, allocations: 12.03 kB / 448.4 MB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009797/0.175, allocations: 142.8 kB / 448.5 MB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/0.1765, allocations: 0.6443 MB / 449.2 MB, free: 6.191 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002614/0.1768, allocations: 179 kB / 449.3 MB, free: 5.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000314/0.1771, allocations: 91.91 kB / 449.4 MB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002564/0.1797, allocations: 1.418 MB / 450.9 MB, free: 4.449 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.594e-05/0.1798, allocations: 7.906 kB / 450.9 MB, free: 4.441 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.726e-05/0.1799, allocations: 28 kB / 450.9 MB, free: 4.414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002304/0.1801, allocations: 89.94 kB / 451 MB, free: 4.324 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00297/0.1831, allocations: 1.554 MB / 452.5 MB, free: 2.773 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2847/0.4678, allocations: 4.452 MB / 457 MB, free: 48.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002101/0.47, allocations: 1.248 MB / 458.2 MB, free: 48.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-05/0.47, allocations: 12.8 kB / 458.2 MB, free: 48.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.4701, allocations: 43.06 kB / 458.3 MB, free: 48.74 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 3.847e-06/0.4701, allocations: 3.719 kB / 458.3 MB, free: 48.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=102): time 0.006779/0.4769, allocations: 4.175 MB / 462.5 MB, free: 47.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.4769, allocations: 92.12 kB / 462.6 MB, free: 47.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004905/0.4774, allocations: 402.1 kB / 462.9 MB, free: 47.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.725e-05/0.4775, allocations: 40.64 kB / 463 MB, free: 47.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.4778, allocations: 343.6 kB / 463.3 MB, free: 47.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002507/0.478, allocations: 346.5 kB / 463.7 MB, free: 47.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.183e-05/0.4781, allocations: 16.06 kB / 463.7 MB, free: 47.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.4782, allocations: 381.8 kB / 464 MB, free: 46.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000948/0.4792, allocations: 0.6083 MB / 464.7 MB, free: 46.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009745/0.4801, allocations: 0.7626 MB / 465.4 MB, free: 46.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.4812, allocations: 0.688 MB / 466.1 MB, free: 46.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.4812, allocations: 3.219 kB / 466.1 MB, free: 46.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002369/0.4835, allocations: 1.622 MB / 467.7 MB, free: 45.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.4836, allocations: 6.125 kB / 467.7 MB, free: 45.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.4836, allocations: 3.25 kB / 467.7 MB, free: 45.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001485/0.4838, allocations: 27.83 kB / 467.8 MB, free: 45.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002491/0.4863, allocations: 0.6335 MB / 468.4 MB, free: 45.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005134/0.4914, allocations: 6.395 MB / 474.8 MB, free: 40.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000629/0.492, allocations: 95.69 kB / 474.9 MB, free: 40.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-05/0.4921, allocations: 32.42 kB / 474.9 MB, free: 40 MB / 382.1 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: 3 * 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.0004348/0.4926, allocations: 313.1 kB / 475.2 MB, free: 39.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.4927, allocations: 70.3 kB / 475.3 MB, free: 39.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002366/0.4951, allocations: 1.612 MB / 476.9 MB, free: 39.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.207e-05/0.4951, allocations: 27.72 kB / 476.9 MB, free: 39.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4952, allocations: 3.812 kB / 476.9 MB, free: 39.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.4952, allocations: 3.281 kB / 476.9 MB, free: 39.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004012/0.4992, allocations: 2.895 MB / 479.8 MB, free: 37.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/0.4992, allocations: 2.562 kB / 479.8 MB, free: 37.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002702/0.5019, allocations: 0.6806 MB / 480.5 MB, free: 37.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.78e-05/0.502, allocations: 25.45 kB / 480.5 MB, free: 37.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.308e-05/0.5021, allocations: 24.78 kB / 480.6 MB, free: 37.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006934/0.5028, allocations: 1.401 MB / 482 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.5028, allocations: 256 / 482 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003778/0.5066, allocations: 2.672 MB / 484.6 MB, free: 35.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001787/0.5068, allocations: 131.2 kB / 484.8 MB, free: 34.99 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.5069, allocations: 21.67 kB / 484.8 MB, free: 34.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005624/0.5075, allocations: 86.88 kB / 484.9 MB, free: 34.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002222/0.5077, allocations: 82.31 kB / 485 MB, free: 34.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.581e-05/0.5078, allocations: 25.8 kB / 485 MB, free: 34.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002764/0.5081, allocations: 278.3 kB / 485.3 MB, free: 34.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5081, allocations: 4 kB / 485.3 MB, free: 34.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001022/0.5091, allocations: 241.4 kB / 485.5 MB, free: 34.77 MB / 382.1 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 (87): * Single equations (assignments): 82 * Array equations: 3 * 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.0003764/0.5095, allocations: 140.4 kB / 485.6 MB, free: 34.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004235/0.5137, allocations: 1.992 MB / 487.6 MB, free: 34.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.5137, allocations: 2.344 kB / 487.6 MB, free: 34.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002951/0.5167, allocations: 1.338 MB / 489 MB, free: 33.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007003/0.5174, allocations: 141.9 kB / 489.1 MB, free: 33.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005988/0.5234, allocations: 3.041 MB / 492.1 MB, free: 32.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000907/0.5244, allocations: 1.089 MB / 493.2 MB, free: 31.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009408/0.5253, allocations: 272.4 kB / 493.5 MB, free: 31.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/0.5256, allocations: 63.78 kB / 493.6 MB, free: 31.23 MB / 382.1 MB Notification: Performance of SimCode: time 8.81e-07/0.5256, allocations: 0 / 493.6 MB, free: 31.23 MB / 382.1 MB Notification: Performance of Templates: time 0.02568/0.5513, allocations: 9.854 MB / 0.4916 GB, free: 30.62 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1) Environment - environmentSimulation: