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.001257/0.001257, allocations: 112.2 kB / 17.74 MB, free: 5.344 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.001106/0.001106, allocations: 187.1 kB / 18.67 MB, free: 4.422 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.316/1.316, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1778/0.1778, allocations: 37.98 MB / 309.9 MB, free: 5.957 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.001441/0.001441, allocations: 67.91 kB / 432.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1132, allocations: 55.24 MB / 487.8 MB, free: 8.352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.008088/0.1214, allocations: 6.691 MB / 494.5 MB, free: 1.621 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0039/0.1253, allocations: 2.162 MB / 496.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005586/0.1259, allocations: 23.88 kB / 496.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001601/0.1275, allocations: 0.5054 MB / 497.2 MB, free: 14.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001567/0.1291, allocations: 0.5677 MB / 497.7 MB, free: 14.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.1301, allocations: 351.3 kB / 498.1 MB, free: 14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001647/0.1318, allocations: 1.29 MB / 499.4 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001046/0.1329, allocations: 0.7362 MB / 0.4884 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009983/0.1339, allocations: 0.5527 MB / 0.4889 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001201/0.1351, allocations: 0.7362 MB / 0.4896 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002788/0.1354, allocations: 104 kB / 0.4897 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001242/0.1366, allocations: 0.6085 MB / 0.4903 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000622/0.1373, allocations: 486.9 kB / 0.4908 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001039/0.1383, allocations: 0.5289 MB / 0.4913 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002141/0.1405, allocations: 1.519 MB / 0.4928 GB, free: 7.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1405, allocations: 0 / 0.4928 GB, free: 7.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1405, allocations: 0 / 0.4928 GB, free: 7.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.179e-05/0.1406, allocations: 4 kB / 0.4928 GB, free: 7.426 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.003356/0.1439, allocations: 1.375 MB / 0.4941 GB, free: 5.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.144, allocations: 11.89 kB / 0.4941 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007273/0.1447, allocations: 135.8 kB / 0.4943 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.1459, allocations: 0.6998 MB / 0.495 GB, free: 5.113 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002285/0.1462, allocations: 171.6 kB / 0.4951 GB, free: 4.926 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001952/0.1464, allocations: 91.92 kB / 0.4952 GB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00233/0.1487, allocations: 1.406 MB / 0.4966 GB, free: 3.391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.1488, allocations: 4 kB / 0.4966 GB, free: 3.387 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001323/0.1489, allocations: 31.98 kB / 0.4966 GB, free: 3.355 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002332/0.1492, allocations: 85.89 kB / 0.4967 GB, free: 3.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002538/0.1517, allocations: 1.526 MB / 0.4982 GB, free: 1.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006496/0.1582, allocations: 4.404 MB / 0.5025 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002284/0.1605, allocations: 1.192 MB / 0.5037 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/0.1619, allocations: 0.7812 MB / 0.5044 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.183e-05/0.162, allocations: 8.656 kB / 0.5044 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.162, allocations: 43.22 kB / 0.5045 GB, free: 11.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=101): time 3.717e-06/0.162, allocations: 0 / 0.5045 GB, free: 11.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=102): time 0.00684/0.1689, allocations: 3.854 MB / 0.5082 GB, free: 7.215 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.539e-05/0.169, allocations: 86.11 kB / 0.5083 GB, free: 7.113 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005116/0.1695, allocations: 405.8 kB / 0.5087 GB, free: 6.707 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.917e-05/0.1696, allocations: 41.7 kB / 0.5087 GB, free: 6.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003278/0.1699, allocations: 348.2 kB / 0.5091 GB, free: 6.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003118/0.1702, allocations: 346.9 kB / 0.5094 GB, free: 5.969 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002766/0.1705, allocations: 162.7 kB / 0.5096 GB, free: 5.805 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.1707, allocations: 378.8 kB / 0.5099 GB, free: 5.426 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.1718, allocations: 0.5914 MB / 0.5105 GB, free: 4.832 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.1729, allocations: 0.7385 MB / 0.5112 GB, free: 4.051 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002222/0.1751, allocations: 1.387 MB / 0.5126 GB, free: 2.613 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.1752, allocations: 0 / 0.5126 GB, free: 2.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00288/0.1781, allocations: 1.611 MB / 0.5141 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/0.1781, allocations: 8 kB / 0.5142 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.1781, allocations: 4 kB / 0.5142 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002074/0.1783, allocations: 45.02 kB / 0.5142 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002606/0.181, allocations: 0.4914 MB / 0.5147 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007206/0.1882, allocations: 6.69 MB / 0.5212 GB, free: 9.176 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009366/0.1892, allocations: 87.98 kB / 0.5213 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001955/0.1894, allocations: 28 kB / 0.5213 GB, free: 9.062 MB / 414.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.0007069/0.1901, allocations: 317.5 kB / 0.5216 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/0.1903, allocations: 67.16 kB / 0.5217 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002936/0.1933, allocations: 1.6 MB / 0.5233 GB, free: 7.047 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-05/0.1934, allocations: 23.98 kB / 0.5233 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.1934, allocations: 0 / 0.5233 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.1934, allocations: 7.984 kB / 0.5233 GB, free: 7.016 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005315/0.1987, allocations: 2.88 MB / 0.5261 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.1987, allocations: 0 / 0.5261 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002922/0.2017, allocations: 0.5307 MB / 0.5266 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001443/0.2018, allocations: 36.84 kB / 0.5266 GB, free: 3.465 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/0.202, allocations: 23.98 kB / 0.5267 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/0.2034, allocations: 1.63 MB / 0.5283 GB, free: 1.676 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.2034, allocations: 4.031 kB / 0.5283 GB, free: 1.672 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2158/0.4192, allocations: 2.54 MB / 0.5307 GB, free: 50.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001885/0.4195, allocations: 135 kB / 0.5309 GB, free: 50.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/0.4196, allocations: 19.12 kB / 0.5309 GB, free: 50.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006421/0.4203, allocations: 75.7 kB / 0.531 GB, free: 50.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002343/0.4205, allocations: 76.12 kB / 0.531 GB, free: 50.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-05/0.4206, allocations: 24.03 kB / 0.5311 GB, free: 50.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003242/0.4209, allocations: 279.1 kB / 0.5313 GB, free: 50.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4209, allocations: 1.375 kB / 0.5313 GB, free: 50.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009576/0.4219, allocations: 233.6 kB / 0.5316 GB, free: 50.64 MB / 414.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.0003323/0.4223, allocations: 170.3 kB / 0.5317 GB, free: 50.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004388/0.4266, allocations: 1.839 MB / 0.5335 GB, free: 50.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.4267, allocations: 1.969 kB / 0.5335 GB, free: 50.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003208/0.4299, allocations: 1.176 MB / 0.5347 GB, free: 50.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.431, allocations: 158.5 kB / 0.5348 GB, free: 50.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005338/0.4364, allocations: 2.668 MB / 0.5374 GB, free: 49.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007704/0.4372, allocations: 1.072 MB / 0.5385 GB, free: 48.28 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005155/0.4377, allocations: 68.48 kB / 0.5385 GB, free: 48.27 MB / 414.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4378, allocations: 0 / 0.5385 GB, free: 48.27 MB / 414.1 MB Notification: Performance of Templates: time 0.03098/0.4687, allocations: 24.07 MB / 0.562 GB, free: 34.73 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile (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)