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.001407/0.001408, allocations: 109.6 kB / 17.06 MB, free: 6.023 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.001477/0.001478, allocations: 191 kB / 18 MB, free: 5.105 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.803/1.803, allocations: 205.1 MB / 223.9 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1986/0.1986, allocations: 37.99 MB / 309.2 MB, free: 5.949 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.001746/0.001746, allocations: 71.91 kB / 431.9 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1261, allocations: 55.24 MB / 487.1 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.009968/0.1361, allocations: 6.68 MB / 493.8 MB, free: 1.621 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00463/0.1408, allocations: 2.151 MB / 495.9 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006768/0.1415, allocations: 27.81 kB / 496 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001863/0.1434, allocations: 0.5176 MB / 496.5 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001774/0.1452, allocations: 0.5639 MB / 497.1 MB, free: 14.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.1463, allocations: 359.2 kB / 497.4 MB, free: 14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001783/0.1481, allocations: 1.294 MB / 498.7 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/0.1492, allocations: 0.7362 MB / 499.4 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001046/0.1503, allocations: 0.5527 MB / 500 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/0.1516, allocations: 0.7362 MB / 0.489 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003143/0.1519, allocations: 104 kB / 0.4891 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/0.1533, allocations: 0.6046 MB / 0.4897 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006698/0.154, allocations: 486.9 kB / 0.4901 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009994/0.155, allocations: 0.5212 MB / 0.4906 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001796/0.1568, allocations: 1.531 MB / 0.4921 GB, free: 7.418 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1568, allocations: 0 / 0.4921 GB, free: 7.418 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1568, allocations: 4 kB / 0.4921 GB, free: 7.414 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.1568, allocations: 4 kB / 0.4922 GB, free: 7.41 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.003062/0.1599, allocations: 1.371 MB / 0.4935 GB, free: 5.984 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.01e-05/0.16, allocations: 15.89 kB / 0.4935 GB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008037/0.1608, allocations: 131.8 kB / 0.4936 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.1623, allocations: 0.7037 MB / 0.4943 GB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000256/0.1626, allocations: 167.6 kB / 0.4945 GB, free: 4.914 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002273/0.1628, allocations: 87.92 kB / 0.4946 GB, free: 4.828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002345/0.1652, allocations: 1.41 MB / 0.4959 GB, free: 3.379 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/0.1652, allocations: 0 / 0.4959 GB, free: 3.379 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-05/0.1653, allocations: 32 kB / 0.496 GB, free: 3.348 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002054/0.1655, allocations: 77.95 kB / 0.496 GB, free: 3.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002626/0.1682, allocations: 1.526 MB / 0.4975 GB, free: 1.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007202/0.1754, allocations: 4.412 MB / 0.5018 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002349/0.1778, allocations: 1.196 MB / 0.503 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001223/0.179, allocations: 0.7695 MB / 0.5038 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.518e-05/0.1791, allocations: 20.62 kB / 0.5038 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.1791, allocations: 43.22 kB / 0.5038 GB, free: 11.15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=101): time 3.036e-06/0.1791, allocations: 0 / 0.5038 GB, free: 11.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=102): time 0.007114/0.1862, allocations: 3.85 MB / 0.5076 GB, free: 7.207 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.097e-05/0.1863, allocations: 90.11 kB / 0.5077 GB, free: 7.102 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005416/0.1869, allocations: 397.9 kB / 0.508 GB, free: 6.703 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.391e-05/0.187, allocations: 41.7 kB / 0.5081 GB, free: 6.656 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/0.1872, allocations: 340.2 kB / 0.5084 GB, free: 6.316 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003497/0.1876, allocations: 358.9 kB / 0.5088 GB, free: 5.961 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003006/0.1879, allocations: 162.7 kB / 0.5089 GB, free: 5.797 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.1881, allocations: 374.8 kB / 0.5093 GB, free: 5.422 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.1892, allocations: 0.5953 MB / 0.5098 GB, free: 4.824 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.1903, allocations: 0.7463 MB / 0.5106 GB, free: 4.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002271/0.1926, allocations: 1.383 MB / 0.5119 GB, free: 2.602 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.1926, allocations: 0 / 0.5119 GB, free: 2.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003054/0.1957, allocations: 1.603 MB / 0.5135 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/0.1957, allocations: 8 kB / 0.5135 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.819e-05/0.1958, allocations: 4 kB / 0.5135 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002191/0.196, allocations: 41.03 kB / 0.5135 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00234/0.1984, allocations: 0.4953 MB / 0.514 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006889/0.2053, allocations: 6.69 MB / 0.5206 GB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008626/0.2061, allocations: 83.88 kB / 0.5206 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000159/0.2063, allocations: 35.98 kB / 0.5207 GB, free: 9.055 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.0006324/0.207, allocations: 313.5 kB / 0.521 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002455/0.2072, allocations: 71.14 kB / 0.521 GB, free: 8.668 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002937/0.2102, allocations: 1.592 MB / 0.5226 GB, free: 7.047 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.031e-05/0.2102, allocations: 27.98 kB / 0.5226 GB, free: 7.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.2102, allocations: 0 / 0.5226 GB, free: 7.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.2102, allocations: 12.08 kB / 0.5226 GB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005243/0.2155, allocations: 2.873 MB / 0.5254 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.2155, allocations: 0 / 0.5254 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002643/0.2182, allocations: 0.5424 MB / 0.526 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001471/0.2183, allocations: 32.84 kB / 0.526 GB, free: 3.457 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/0.2185, allocations: 23.98 kB / 0.526 GB, free: 3.434 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001447/0.2199, allocations: 1.634 MB / 0.5276 GB, free: 1.664 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2199, allocations: 0 / 0.5276 GB, free: 1.664 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2507/0.4707, allocations: 2.529 MB / 0.5301 GB, free: 50.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002867/0.471, allocations: 134.3 kB / 0.5302 GB, free: 50.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/0.4712, allocations: 23.23 kB / 0.5302 GB, free: 50.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000696/0.4719, allocations: 70.77 kB / 0.5303 GB, free: 50.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002974/0.4722, allocations: 82.25 kB / 0.5304 GB, free: 50.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.562e-05/0.4723, allocations: 27.27 kB / 0.5304 GB, free: 50.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003961/0.4727, allocations: 278.7 kB / 0.5307 GB, free: 50.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4727, allocations: 0 / 0.5307 GB, free: 50.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001385/0.4741, allocations: 237.6 kB / 0.5309 GB, free: 50.7 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.0003324/0.4744, allocations: 165 kB / 0.5311 GB, free: 50.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004417/0.4789, allocations: 1.835 MB / 0.5329 GB, free: 50.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.565e-06/0.4789, allocations: 1.562 kB / 0.5329 GB, free: 50.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002906/0.4818, allocations: 1.198 MB / 0.534 GB, free: 50.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.4829, allocations: 153.6 kB / 0.5342 GB, free: 50.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005024/0.4879, allocations: 2.59 MB / 0.5367 GB, free: 49.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006572/0.4886, allocations: 1.076 MB / 0.5378 GB, free: 48.37 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008146/0.4894, allocations: 267.1 kB / 0.538 GB, free: 48.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002427/0.4897, allocations: 60.53 kB / 0.5381 GB, free: 48.34 MB / 414.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4897, allocations: 0 / 0.5381 GB, free: 48.34 MB / 414.1 MB Notification: Performance of Templates: time 0.02189/0.5116, allocations: 11.12 MB / 0.5489 GB, free: 45.31 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)