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.001043/0.001043, allocations: 89.08 kB / 16.31 MB, free: 6.449 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.001182/0.001182, allocations: 181.4 kB / 17.21 MB, free: 6.32 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.415/1.415, allocations: 205.4 MB / 223.4 MB, free: 5.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.342/0.342, allocations: 38.06 MB / 309.7 MB, free: 8.883 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.0005164/0.0005165, allocations: 15.94 kB / 376.5 MB, free: 15.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1036, allocations: 56.33 MB / 432.9 MB, free: 6.828 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.007425/0.111, allocations: 6.696 MB / 439.6 MB, free: 108 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004422/0.1155, allocations: 2.265 MB / 441.8 MB, free: 13.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007317/0.1162, allocations: 39.69 kB / 441.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007529/0.117, allocations: 166.9 kB / 442 MB, free: 13.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001803/0.1189, allocations: 0.5562 MB / 442.6 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.12, allocations: 319.4 kB / 442.9 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001785/0.1218, allocations: 1.473 MB / 444.4 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001563/0.1234, allocations: 0.8362 MB / 445.2 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009042/0.1243, allocations: 446.2 kB / 445.6 MB, free: 9.969 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.1256, allocations: 0.709 MB / 446.3 MB, free: 9.258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002359/0.1259, allocations: 48 kB / 446.4 MB, free: 9.211 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.1271, allocations: 0.546 MB / 446.9 MB, free: 8.664 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005836/0.1277, allocations: 422.9 kB / 447.3 MB, free: 8.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003875/0.1281, allocations: 193.2 kB / 447.5 MB, free: 8.055 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001407/0.1295, allocations: 1.157 MB / 448.7 MB, free: 6.895 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.1296, allocations: 0 / 448.7 MB, free: 6.895 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1296, allocations: 0 / 448.7 MB, free: 6.895 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.992e-05/0.1296, allocations: 0 / 448.7 MB, free: 6.895 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.003017/0.1327, allocations: 1.227 MB / 449.9 MB, free: 5.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.1327, allocations: 8.031 kB / 449.9 MB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008297/0.1335, allocations: 138.8 kB / 450.1 MB, free: 5.469 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.1348, allocations: 0.6482 MB / 450.7 MB, free: 4.781 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000242/0.1351, allocations: 179 kB / 450.9 MB, free: 4.586 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002343/0.1353, allocations: 83.98 kB / 451 MB, free: 4.504 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002414/0.1377, allocations: 1.426 MB / 452.4 MB, free: 3.039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/0.1378, allocations: 11.84 kB / 452.4 MB, free: 3.027 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.572e-05/0.1379, allocations: 28 kB / 452.4 MB, free: 3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000198/0.1381, allocations: 93.88 kB / 452.5 MB, free: 2.906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002723/0.1408, allocations: 1.554 MB / 454.1 MB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1964/0.3372, allocations: 4.45 MB / 458.5 MB, free: 49.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/0.3392, allocations: 1.252 MB / 459.8 MB, free: 49.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001127/0.3404, allocations: 0.7985 MB / 460.6 MB, free: 49.44 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.725e-05/0.3405, allocations: 14.39 kB / 460.6 MB, free: 49.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.3405, allocations: 57.95 kB / 460.7 MB, free: 49.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 3.687e-06/0.3405, allocations: 0 / 460.7 MB, free: 49.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=102): time 0.006013/0.3465, allocations: 3.963 MB / 464.6 MB, free: 48.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.3466, allocations: 89.77 kB / 464.7 MB, free: 48.42 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003611/0.347, allocations: 398.9 kB / 465.1 MB, free: 48.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.452e-05/0.347, allocations: 36.95 kB / 465.1 MB, free: 48.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.3472, allocations: 351 kB / 465.5 MB, free: 47.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002056/0.3474, allocations: 351 kB / 465.8 MB, free: 47.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/0.3475, allocations: 15.25 kB / 465.8 MB, free: 47.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.487e-05/0.3475, allocations: 380.2 kB / 466.2 MB, free: 47.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008849/0.3484, allocations: 0.6172 MB / 466.8 MB, free: 47.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000949/0.3494, allocations: 0.7634 MB / 467.6 MB, free: 46.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009839/0.3504, allocations: 0.6888 MB / 468.3 MB, free: 46.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.3504, allocations: 0 / 468.3 MB, free: 46.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002304/0.3527, allocations: 1.642 MB / 469.9 MB, free: 45.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.3527, allocations: 10.69 kB / 469.9 MB, free: 45.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.3528, allocations: 3 kB / 469.9 MB, free: 45.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000145/0.3529, allocations: 41.72 kB / 470 MB, free: 45.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002201/0.3551, allocations: 0.6286 MB / 470.6 MB, free: 45.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004743/0.3599, allocations: 6.402 MB / 477 MB, free: 40.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007576/0.3607, allocations: 90.36 kB / 477.1 MB, free: 40.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-05/0.3608, allocations: 34.02 kB / 477.1 MB, free: 40.1 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 (104): * Single equations (assignments): 97 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004977/0.3613, allocations: 324 kB / 477.4 MB, free: 39.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.3615, allocations: 68.59 kB / 477.5 MB, free: 39.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002489/0.364, allocations: 1.628 MB / 479.1 MB, free: 39.19 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.699e-05/0.364, allocations: 34.59 kB / 479.2 MB, free: 39.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.364, allocations: 3.375 kB / 479.2 MB, free: 39.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.3641, allocations: 4.5 kB / 479.2 MB, free: 39.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003941/0.368, allocations: 2.918 MB / 482.1 MB, free: 37.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.368, allocations: 3.094 kB / 482.1 MB, free: 37.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002481/0.3705, allocations: 0.6809 MB / 482.8 MB, free: 37.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000101/0.3706, allocations: 42.77 kB / 482.8 MB, free: 37.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.695e-05/0.3707, allocations: 21.7 kB / 482.8 MB, free: 37.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007991/0.3715, allocations: 1.465 MB / 484.3 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.3715, allocations: 7.25 kB / 484.3 MB, free: 36.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003396/0.3749, allocations: 2.6 MB / 486.9 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.3751, allocations: 142.9 kB / 487 MB, free: 35.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.3752, allocations: 25.56 kB / 487.1 MB, free: 35.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000551/0.3758, allocations: 79.98 kB / 487.1 MB, free: 35.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/0.376, allocations: 85.31 kB / 487.2 MB, free: 35.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.509e-05/0.3761, allocations: 24.5 kB / 487.3 MB, free: 35.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003179/0.3764, allocations: 274 kB / 487.5 MB, free: 34.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3764, allocations: 0 / 487.5 MB, free: 34.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009252/0.3773, allocations: 245.1 kB / 487.8 MB, free: 34.93 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 (86): * Single equations (assignments): 81 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002325/0.3776, allocations: 148.5 kB / 487.9 MB, free: 34.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003676/0.3812, allocations: 1.993 MB / 489.9 MB, free: 34.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3813, allocations: 1.812 kB / 489.9 MB, free: 34.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002777/0.3841, allocations: 1.345 MB / 491.2 MB, free: 33.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008394/0.3849, allocations: 154.3 kB / 491.4 MB, free: 33.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004427/0.3894, allocations: 3.041 MB / 494.4 MB, free: 32.17 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005068/0.3899, allocations: 1.084 MB / 495.5 MB, free: 31.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000763/0.3907, allocations: 273.6 kB / 495.8 MB, free: 31.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002339/0.3909, allocations: 60.19 kB / 495.8 MB, free: 31.37 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3909, allocations: 0 / 495.8 MB, free: 31.37 MB / 382.1 MB Notification: Performance of Templates: time 0.01737/0.4083, allocations: 9.792 MB / 0.4938 GB, free: 30.75 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: