Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001241/0.001241, allocations: 175.6 kB / 15.78 MB, free: 6.348 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.627/1.627, allocations: 205.4 MB / 221.9 MB, free: 13.81 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009952/0.0009948, allocations: 90.3 kB / 270.3 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1899/0.1899, allocations: 38.06 MB / 356.6 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004095/0.0004093, allocations: 8 kB / 422.7 MB, free: 26.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1387, allocations: 56.34 MB / 479.1 MB, free: 2.016 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.00861/0.1474, allocations: 6.683 MB / 485.8 MB, free: 11.3 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004726/0.1522, allocations: 2.285 MB / 488 MB, free: 9.008 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008714/0.1531, allocations: 39.75 kB / 488.1 MB, free: 8.969 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007393/0.1538, allocations: 158.8 kB / 488.2 MB, free: 8.812 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001934/0.1558, allocations: 0.5601 MB / 488.8 MB, free: 8.25 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.157, allocations: 315.5 kB / 489.1 MB, free: 7.941 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002047/0.159, allocations: 1.477 MB / 490.6 MB, free: 6.461 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001672/0.1607, allocations: 0.8361 MB / 491.4 MB, free: 5.59 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.1618, allocations: 446.2 kB / 491.8 MB, free: 5.152 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/0.1633, allocations: 0.7052 MB / 492.6 MB, free: 4.445 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002546/0.1636, allocations: 52 kB / 492.6 MB, free: 4.395 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/0.165, allocations: 0.5382 MB / 493.1 MB, free: 3.855 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006546/0.1657, allocations: 434.9 kB / 493.6 MB, free: 3.43 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005277/0.1662, allocations: 193.3 kB / 493.8 MB, free: 3.234 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001738/0.168, allocations: 1.138 MB / 494.9 MB, free: 2.094 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.168, allocations: 7.938 kB / 494.9 MB, free: 2.086 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.446e-06/0.168, allocations: 0 / 494.9 MB, free: 2.086 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.531e-05/0.1681, allocations: 0 / 494.9 MB, free: 2.086 MB / 330.7 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.00333/0.1714, allocations: 1.231 MB / 496.1 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.1715, allocations: 8.031 kB / 496.1 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009133/0.1724, allocations: 138.8 kB / 496.3 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/0.1739, allocations: 0.6482 MB / 496.9 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002801/0.1742, allocations: 179 kB / 497.1 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002989/0.1745, allocations: 87.84 kB / 497.2 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002709/0.1772, allocations: 1.426 MB / 498.6 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.1773, allocations: 0 / 498.6 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.1774, allocations: 35.98 kB / 498.6 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002312/0.1776, allocations: 85.94 kB / 498.7 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003271/0.1809, allocations: 1.565 MB / 0.4886 GB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008671/0.1896, allocations: 4.459 MB / 0.4929 GB, free: 7.953 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002665/0.1923, allocations: 1.247 MB / 0.4941 GB, free: 6.688 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001415/0.1938, allocations: 0.8046 MB / 0.4949 GB, free: 5.879 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.295e-05/0.1939, allocations: 12.64 kB / 0.4949 GB, free: 5.863 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.671e-05/0.1939, allocations: 55.16 kB / 0.495 GB, free: 5.801 MB / 346.7 MB Notification: Performance of pre-optimization done (n=101): time 5.24e-06/0.1939, allocations: 0 / 0.495 GB, free: 5.801 MB / 346.7 MB Notification: Performance of matching and sorting (n=102): time 0.007686/0.2016, allocations: 3.96 MB / 0.4989 GB, free: 1.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/0.2017, allocations: 94.14 kB / 0.4989 GB, free: 1.637 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005483/0.2023, allocations: 397.9 kB / 0.4993 GB, free: 1.246 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.355e-05/0.2024, allocations: 41.7 kB / 0.4994 GB, free: 1.199 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002996/0.2027, allocations: 344.2 kB / 0.4997 GB, free: 0.8555 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003136/0.203, allocations: 346.9 kB / 0.5 GB, free: 0.5117 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-05/0.2031, allocations: 20 kB / 0.5 GB, free: 0.4922 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.2033, allocations: 374.7 kB / 0.5004 GB, free: 120 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.2044, allocations: 0.6188 MB / 0.501 GB, free: 15.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.2056, allocations: 0.7659 MB / 0.5018 GB, free: 14.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/0.2069, allocations: 0.6901 MB / 0.5024 GB, free: 13.99 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.207, allocations: 4 kB / 0.5024 GB, free: 13.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00294/0.2099, allocations: 1.639 MB / 0.504 GB, free: 12.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.2099, allocations: 4 kB / 0.504 GB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.21, allocations: 4 kB / 0.504 GB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002289/0.2102, allocations: 45.03 kB / 0.5041 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00265/0.2129, allocations: 0.6281 MB / 0.5047 GB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007123/0.22, allocations: 6.391 MB / 0.5109 GB, free: 4.719 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009567/0.221, allocations: 107.8 kB / 0.511 GB, free: 4.617 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001853/0.2212, allocations: 28 kB / 0.5111 GB, free: 4.59 MB / 362.7 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.000693/0.2219, allocations: 321.4 kB / 0.5114 GB, free: 4.266 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002545/0.2222, allocations: 67.33 kB / 0.5114 GB, free: 4.199 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003054/0.2252, allocations: 1.643 MB / 0.513 GB, free: 2.527 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.96e-05/0.2253, allocations: 27.98 kB / 0.5131 GB, free: 2.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.2253, allocations: 0 / 0.5131 GB, free: 2.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.2253, allocations: 7.984 kB / 0.5131 GB, free: 2.492 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2404/0.4657, allocations: 2.904 MB / 0.5159 GB, free: 51.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/0.4658, allocations: 3.359 kB / 0.5159 GB, free: 51.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003234/0.469, allocations: 0.6805 MB / 0.5166 GB, free: 51.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001547/0.4692, allocations: 39.78 kB / 0.5166 GB, free: 51.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002142/0.4694, allocations: 23.72 kB / 0.5166 GB, free: 51.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/0.4705, allocations: 1.467 MB / 0.5181 GB, free: 50.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.4705, allocations: 4.719 kB / 0.5181 GB, free: 50.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005239/0.4758, allocations: 2.602 MB / 0.5206 GB, free: 50.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/0.476, allocations: 140.9 kB / 0.5208 GB, free: 49.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/0.4762, allocations: 20.67 kB / 0.5208 GB, free: 49.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006949/0.4769, allocations: 82.88 kB / 0.5209 GB, free: 49.94 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002312/0.4771, allocations: 75.23 kB / 0.5209 GB, free: 49.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.433e-05/0.4772, allocations: 30.3 kB / 0.521 GB, free: 49.92 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003664/0.4776, allocations: 277 kB / 0.5212 GB, free: 49.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4776, allocations: 3.531 kB / 0.5212 GB, free: 49.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001059/0.4787, allocations: 237.7 kB / 0.5214 GB, free: 49.76 MB / 362.7 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.000326/0.479, allocations: 152.6 kB / 0.5216 GB, free: 49.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004817/0.4838, allocations: 2.005 MB / 0.5236 GB, free: 49.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4839, allocations: 0 / 0.5236 GB, free: 49.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003627/0.4875, allocations: 1.317 MB / 0.5248 GB, free: 48.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.4887, allocations: 164 kB / 0.525 GB, free: 48.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006124/0.4949, allocations: 3.124 MB / 0.528 GB, free: 47.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008747/0.4957, allocations: 1.08 MB / 0.5291 GB, free: 46.31 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003783/0.4961, allocations: 62.92 kB / 0.5292 GB, free: 46.3 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.4961, allocations: 0 / 0.5292 GB, free: 46.3 MB / 362.7 MB Notification: Performance of Templates: time 0.02913/0.5253, allocations: 23.77 MB / 0.5524 GB, free: 27.5 MB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1)