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.000997/0.000997, allocations: 110.9 kB / 17.74 MB, free: 5.348 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.0009966/0.0009966, allocations: 192.5 kB / 18.67 MB, free: 4.426 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.213/1.213, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.164/0.164, allocations: 37.98 MB / 309.9 MB, free: 5.965 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.001278/0.001278, allocations: 67.91 kB / 432.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08736/0.08864, allocations: 55.25 MB / 487.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.007002/0.09568, allocations: 6.676 MB / 494.5 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003236/0.09895, allocations: 2.154 MB / 496.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003916/0.09937, allocations: 23.88 kB / 496.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00128/0.1007, allocations: 0.506 MB / 497.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001136/0.1018, allocations: 0.56 MB / 497.7 MB, free: 14.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007547/0.1026, allocations: 363.2 kB / 498.1 MB, free: 14.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001111/0.1037, allocations: 1.294 MB / 499.4 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007784/0.1045, allocations: 0.7284 MB / 0.4884 GB, free: 11.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006416/0.1052, allocations: 0.5605 MB / 0.4889 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008205/0.106, allocations: 0.7362 MB / 0.4896 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001481/0.1062, allocations: 104 kB / 0.4897 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008759/0.107, allocations: 0.6084 MB / 0.4903 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000394/0.1074, allocations: 486.9 kB / 0.4908 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004625/0.1079, allocations: 0.5251 MB / 0.4913 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.1092, allocations: 1.527 MB / 0.4928 GB, free: 7.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1092, allocations: 0 / 0.4928 GB, free: 7.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1093, allocations: 0 / 0.4928 GB, free: 7.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.1093, 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.002585/0.1119, allocations: 1.375 MB / 0.4941 GB, free: 5.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1119, allocations: 15.89 kB / 0.4942 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006445/0.1126, allocations: 131.8 kB / 0.4943 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.1137, allocations: 0.6998 MB / 0.495 GB, free: 5.113 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001979/0.1139, allocations: 171.6 kB / 0.4951 GB, free: 4.926 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/0.1141, allocations: 87.92 kB / 0.4952 GB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002056/0.1161, allocations: 1.406 MB / 0.4966 GB, free: 3.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.1162, allocations: 0 / 0.4966 GB, free: 3.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.693e-05/0.1163, allocations: 31.98 kB / 0.4966 GB, free: 3.363 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001917/0.1164, allocations: 85.94 kB / 0.4967 GB, free: 3.277 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002373/0.1188, allocations: 1.522 MB / 0.4982 GB, free: 1.758 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00599/0.1248, allocations: 4.408 MB / 0.5025 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002055/0.1269, allocations: 1.196 MB / 0.5037 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/0.1281, allocations: 0.7734 MB / 0.5044 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.786e-05/0.1282, allocations: 16.62 kB / 0.5044 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.1282, allocations: 47.22 kB / 0.5045 GB, free: 11.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=101): time 3.307e-06/0.1282, allocations: 0 / 0.5045 GB, free: 11.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=102): time 0.006291/0.1345, allocations: 3.846 MB / 0.5082 GB, free: 7.223 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.1346, allocations: 90.09 kB / 0.5083 GB, free: 7.117 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003696/0.135, allocations: 401.9 kB / 0.5087 GB, free: 6.715 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.039e-05/0.1351, allocations: 37.7 kB / 0.5087 GB, free: 6.672 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.1352, allocations: 348.2 kB / 0.5091 GB, free: 6.324 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002143/0.1355, allocations: 350.8 kB / 0.5094 GB, free: 5.977 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002409/0.1357, allocations: 162.7 kB / 0.5096 GB, free: 5.812 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.1358, allocations: 374.8 kB / 0.5099 GB, free: 5.438 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009234/0.1368, allocations: 0.5914 MB / 0.5105 GB, free: 4.844 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.1378, allocations: 0.7463 MB / 0.5112 GB, free: 4.055 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002024/0.1398, allocations: 1.387 MB / 0.5126 GB, free: 2.617 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.1398, allocations: 0 / 0.5126 GB, free: 2.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002493/0.1423, allocations: 1.599 MB / 0.5141 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.1424, allocations: 11.94 kB / 0.5141 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.1424, allocations: 4 kB / 0.5142 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001453/0.1425, allocations: 41.03 kB / 0.5142 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002355/0.1449, allocations: 0.4953 MB / 0.5147 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006043/0.151, allocations: 6.694 MB / 0.5212 GB, free: 9.184 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007805/0.1518, allocations: 88.02 kB / 0.5213 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.024e-05/0.1519, allocations: 35.98 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.0004676/0.1523, allocations: 317.5 kB / 0.5216 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.1525, allocations: 71.14 kB / 0.5217 GB, free: 8.672 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002548/0.1551, allocations: 1.592 MB / 0.5233 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-05/0.1551, allocations: 23.98 kB / 0.5233 GB, free: 7.027 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.1551, allocations: 4 kB / 0.5233 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.895e-05/0.1551, allocations: 7.984 kB / 0.5233 GB, free: 7.016 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00421/0.1594, allocations: 2.873 MB / 0.5261 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.1594, allocations: 0 / 0.5261 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002689/0.1621, allocations: 0.5346 MB / 0.5266 GB, free: 3.508 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001074/0.1622, allocations: 40.83 kB / 0.5267 GB, free: 3.465 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.578e-05/0.1623, allocations: 20 kB / 0.5267 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001135/0.1634, allocations: 1.63 MB / 0.5283 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.1634, allocations: 4.031 kB / 0.5283 GB, free: 1.676 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1888/0.3523, allocations: 2.536 MB / 0.5307 GB, free: 50.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/0.3525, allocations: 131.3 kB / 0.5309 GB, free: 50.76 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.3526, allocations: 22.45 kB / 0.5309 GB, free: 50.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005928/0.3532, allocations: 71.44 kB / 0.531 GB, free: 50.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/0.3535, allocations: 85.69 kB / 0.531 GB, free: 50.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.676e-05/0.3535, allocations: 25.72 kB / 0.5311 GB, free: 50.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002991/0.3538, allocations: 278 kB / 0.5313 GB, free: 50.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3538, allocations: 0 / 0.5313 GB, free: 50.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008713/0.3547, allocations: 235.8 kB / 0.5316 GB, free: 50.68 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.0002984/0.355, allocations: 169.4 kB / 0.5317 GB, free: 50.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003914/0.359, allocations: 1.844 MB / 0.5335 GB, free: 50.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.359, allocations: 0 / 0.5335 GB, free: 50.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002729/0.3617, allocations: 1.173 MB / 0.5347 GB, free: 50.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000882/0.3626, allocations: 162.9 kB / 0.5348 GB, free: 50.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004574/0.3672, allocations: 2.658 MB / 0.5374 GB, free: 49.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006052/0.3678, allocations: 1.079 MB / 0.5385 GB, free: 48.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003417/0.3682, allocations: 66.56 kB / 0.5385 GB, free: 48.29 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3682, allocations: 0 / 0.5385 GB, free: 48.29 MB / 414.1 MB Notification: Performance of Templates: time 0.02579/0.394, allocations: 24.18 MB / 0.5621 GB, free: 34.63 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)