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.0009791/0.0009791, allocations: 90.72 kB / 16.65 MB, free: 6.535 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.001382/0.001382, allocations: 177 kB / 17.56 MB, free: 6.18 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.479/1.479, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1864/0.1864, allocations: 38.04 MB / 310.1 MB, free: 5.934 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.0004784/0.0004784, allocations: 12 kB / 377.2 MB, free: 2.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2908, allocations: 56.32 MB / 433.5 MB, free: 18.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.00668/0.2975, allocations: 7.081 MB / 440.6 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004796/0.3024, allocations: 2.393 MB / 443 MB, free: 9.184 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008766/0.3033, allocations: 39.75 kB / 443 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006488/0.304, allocations: 151 kB / 443.2 MB, free: 8.996 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001162/0.3052, allocations: 0.5098 MB / 443.7 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007211/0.3059, allocations: 315.5 kB / 444 MB, free: 8.176 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001188/0.3071, allocations: 1.84 MB / 445.8 MB, free: 6.332 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.3082, allocations: 0.9588 MB / 446.8 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000546/0.3088, allocations: 434.1 kB / 447.2 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007118/0.3095, allocations: 0.7127 MB / 447.9 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.542e-05/0.3096, allocations: 48 kB / 448 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008201/0.3104, allocations: 0.6005 MB / 448.6 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000286/0.3107, allocations: 418.9 kB / 449 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003651/0.3111, allocations: 495.3 kB / 449.5 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.3121, allocations: 1.441 MB / 450.9 MB, free: 1.195 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3121, allocations: 4 kB / 450.9 MB, free: 1.191 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3121, allocations: 4 kB / 450.9 MB, free: 1.188 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.629e-06/0.3121, allocations: 0 / 450.9 MB, free: 1.188 MB / 318.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.002374/0.3145, allocations: 1.219 MB / 452.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3146, allocations: 15.97 kB / 452.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000737/0.3153, allocations: 139.8 kB / 452.3 MB, free: 15.76 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.3166, allocations: 0.6571 MB / 452.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002371/0.3168, allocations: 179.6 kB / 453.1 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002359/0.3171, allocations: 87.83 kB / 453.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002321/0.3194, allocations: 1.434 MB / 454.6 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/0.3194, allocations: 4 kB / 454.6 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-05/0.3195, allocations: 31.98 kB / 454.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002219/0.3198, allocations: 85.95 kB / 454.7 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002679/0.3225, allocations: 1.565 MB / 456.3 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006451/0.3289, allocations: 4.458 MB / 460.8 MB, free: 7.043 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00228/0.3312, allocations: 1.255 MB / 462 MB, free: 5.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001302/0.3325, allocations: 0.8047 MB / 462.8 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.859e-05/0.3326, allocations: 12.64 kB / 462.8 MB, free: 4.945 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.3327, allocations: 47.16 kB / 462.9 MB, free: 4.891 MB / 334.1 MB Notification: Performance of pre-optimization done (n=101): time 2.865e-06/0.3327, allocations: 0 / 462.9 MB, free: 4.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=102): time 0.007165/0.3399, allocations: 3.979 MB / 466.9 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.107e-05/0.3399, allocations: 90.12 kB / 467 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004626/0.3404, allocations: 405.8 kB / 467.3 MB, free: 316 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.547e-05/0.3405, allocations: 37.7 kB / 467.4 MB, free: 272 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/0.3408, allocations: 348.4 kB / 467.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002672/0.3411, allocations: 350.9 kB / 468.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.3412, allocations: 85.67 kB / 468.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.3414, allocations: 374.8 kB / 468.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/0.3425, allocations: 0.6149 MB / 469.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.3437, allocations: 0.7698 MB / 469.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00241/0.3462, allocations: 1.438 MB / 471.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.3462, allocations: 4 kB / 471.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003037/0.3492, allocations: 1.65 MB / 473 MB, free: 10.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.3493, allocations: 4 kB / 473 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.3493, allocations: 4 kB / 473 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001859/0.3495, allocations: 48.97 kB / 473 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002783/0.3523, allocations: 0.6243 MB / 473.7 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007318/0.3596, allocations: 6.411 MB / 480.1 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009957/0.3607, allocations: 95.98 kB / 480.2 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.3608, allocations: 35.98 kB / 480.2 MB, free: 2.754 MB / 350.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 (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006111/0.3614, allocations: 317.5 kB / 480.5 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.3616, allocations: 71.17 kB / 480.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003183/0.3648, allocations: 1.639 MB / 482.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.033e-05/0.3648, allocations: 24 kB / 482.3 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.3649, allocations: 7.984 kB / 482.3 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.3649, allocations: 7.984 kB / 482.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00487/0.3698, allocations: 2.916 MB / 485.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.3698, allocations: 4 kB / 485.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003028/0.3728, allocations: 0.6792 MB / 485.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001194/0.373, allocations: 44.83 kB / 485.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.789e-05/0.373, allocations: 16 kB / 485.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/0.3742, allocations: 1.482 MB / 487.4 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/0.3743, allocations: 7.938 kB / 487.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004136/0.3784, allocations: 2.612 MB / 490 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/0.3786, allocations: 136.3 kB / 490.2 MB, free: 8.441 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.3787, allocations: 19.98 kB / 490.2 MB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006208/0.3793, allocations: 83.91 kB / 490.3 MB, free: 8.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001986/0.3795, allocations: 76.48 kB / 490.3 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.873e-05/0.3796, allocations: 24 kB / 490.4 MB, free: 8.238 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003171/0.38, allocations: 283.1 kB / 490.6 MB, free: 7.961 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.38, allocations: 0 / 490.6 MB, free: 7.961 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009785/0.381, allocations: 247.9 kB / 490.9 MB, free: 7.719 MB / 366.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 (86): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003966/0.3814, allocations: 163.1 kB / 491 MB, free: 7.547 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004832/0.3862, allocations: 2.005 MB / 493 MB, free: 5.535 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.3863, allocations: 0 / 493 MB, free: 5.535 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003293/0.3896, allocations: 1.339 MB / 494.4 MB, free: 4.188 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.3907, allocations: 149.4 kB / 494.5 MB, free: 4.043 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005029/0.3957, allocations: 3.117 MB / 497.6 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007472/0.3965, allocations: 1.076 MB / 498.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000818/0.3973, allocations: 265.6 kB / 499 MB, free: 15.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.3975, allocations: 59.36 kB / 499 MB, free: 15.45 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3976, allocations: 0 / 499 MB, free: 15.45 MB / 382.1 MB Notification: Performance of Templates: time 0.01846/0.416, allocations: 10.06 MB / 0.4972 GB, free: 5.422 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: