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.001521/0.001521, allocations: 106.4 kB / 17.06 MB, free: 6.027 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.001885/0.001885, allocations: 195 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.543/1.543, allocations: 205.1 MB / 223.9 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.1718/0.1718, allocations: 37.98 MB / 309.2 MB, free: 5.969 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.001352/0.001352, allocations: 67.91 kB / 431.9 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1308, allocations: 55.24 MB / 487.1 MB, free: 8.355 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.009666/0.1405, allocations: 6.676 MB / 493.8 MB, free: 1.641 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004042/0.1446, allocations: 2.162 MB / 496 MB, free: 15.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004813/0.1451, allocations: 23.81 kB / 496 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001831/0.1469, allocations: 0.5099 MB / 496.5 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001594/0.1486, allocations: 0.5678 MB / 497.1 MB, free: 14.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.1498, allocations: 359.2 kB / 497.4 MB, free: 14.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00201/0.1518, allocations: 1.294 MB / 498.7 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001296/0.1531, allocations: 0.7362 MB / 499.4 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.1545, allocations: 0.5488 MB / 500 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001615/0.1561, allocations: 0.7284 MB / 0.489 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003644/0.1565, allocations: 104 kB / 0.4891 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.1577, allocations: 0.6123 MB / 0.4897 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005005/0.1582, allocations: 486.9 kB / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006515/0.1588, allocations: 0.5212 MB / 0.4906 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001758/0.1606, allocations: 1.535 MB / 0.4921 GB, free: 7.434 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1606, allocations: 0 / 0.4921 GB, free: 7.434 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1606, allocations: 0 / 0.4921 GB, free: 7.434 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.1607, allocations: 4 kB / 0.4921 GB, free: 7.43 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.00295/0.1636, allocations: 1.367 MB / 0.4935 GB, free: 6.008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.1637, allocations: 15.89 kB / 0.4935 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006973/0.1644, allocations: 139.7 kB / 0.4936 GB, free: 5.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.1656, allocations: 0.6881 MB / 0.4943 GB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002378/0.1659, allocations: 179.6 kB / 0.4945 GB, free: 4.934 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/0.1661, allocations: 87.92 kB / 0.4946 GB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/0.1683, allocations: 1.406 MB / 0.4959 GB, free: 3.402 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/0.1683, allocations: 0 / 0.4959 GB, free: 3.402 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.899e-05/0.1684, allocations: 35.98 kB / 0.496 GB, free: 3.367 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002033/0.1686, allocations: 81.94 kB / 0.496 GB, free: 3.285 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002532/0.1712, allocations: 1.526 MB / 0.4975 GB, free: 1.762 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006621/0.1778, allocations: 4.404 MB / 0.5018 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002205/0.18, allocations: 1.196 MB / 0.503 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.1813, allocations: 0.7734 MB / 0.5038 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.658e-05/0.1814, allocations: 16.64 kB / 0.5038 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.1814, allocations: 43.22 kB / 0.5038 GB, free: 11.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=101): time 3.847e-06/0.1814, allocations: 0 / 0.5038 GB, free: 11.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=102): time 0.006631/0.188, allocations: 3.85 MB / 0.5076 GB, free: 7.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.1881, allocations: 90.11 kB / 0.5077 GB, free: 7.125 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004514/0.1886, allocations: 401.9 kB / 0.508 GB, free: 6.723 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.529e-05/0.1886, allocations: 41.7 kB / 0.5081 GB, free: 6.676 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.1889, allocations: 348.2 kB / 0.5084 GB, free: 6.328 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002749/0.1892, allocations: 350.9 kB / 0.5088 GB, free: 5.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002789/0.1894, allocations: 158.7 kB / 0.5089 GB, free: 5.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002105/0.1897, allocations: 382.7 kB / 0.5093 GB, free: 5.438 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.1907, allocations: 0.5914 MB / 0.5098 GB, free: 4.844 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.1918, allocations: 0.7502 MB / 0.5106 GB, free: 4.051 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00214/0.1939, allocations: 1.379 MB / 0.5119 GB, free: 2.621 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.194, allocations: 4 kB / 0.5119 GB, free: 2.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002627/0.1966, allocations: 1.596 MB / 0.5135 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.1966, allocations: 11.94 kB / 0.5135 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.1966, allocations: 7.984 kB / 0.5135 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001654/0.1968, allocations: 41.03 kB / 0.5135 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002313/0.1991, allocations: 0.5032 MB / 0.514 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006624/0.2058, allocations: 6.694 MB / 0.5206 GB, free: 9.176 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007507/0.2065, allocations: 79.89 kB / 0.5206 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-05/0.2066, allocations: 32 kB / 0.5207 GB, free: 9.066 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.0005439/0.2072, allocations: 313.5 kB / 0.521 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/0.2074, allocations: 71.09 kB / 0.521 GB, free: 8.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002753/0.2102, allocations: 1.592 MB / 0.5226 GB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-05/0.2102, allocations: 20 kB / 0.5226 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.2102, allocations: 4 kB / 0.5226 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.2102, allocations: 7.922 kB / 0.5226 GB, free: 7.027 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004444/0.2147, allocations: 2.876 MB / 0.5254 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.2147, allocations: 0 / 0.5254 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00257/0.2173, allocations: 0.5346 MB / 0.526 GB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001275/0.2174, allocations: 40.77 kB / 0.526 GB, free: 3.473 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.276e-05/0.2175, allocations: 20 kB / 0.526 GB, free: 3.453 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001314/0.2188, allocations: 1.638 MB / 0.5276 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2188, allocations: 0 / 0.5276 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2703/0.4892, allocations: 2.534 MB / 0.5301 GB, free: 50.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002541/0.4895, allocations: 135.5 kB / 0.5302 GB, free: 50.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.4896, allocations: 20.44 kB / 0.5302 GB, free: 50.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006224/0.4902, allocations: 71.58 kB / 0.5303 GB, free: 50.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002424/0.4905, allocations: 82.45 kB / 0.5304 GB, free: 50.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.84e-05/0.4906, allocations: 26.56 kB / 0.5304 GB, free: 50.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003616/0.4909, allocations: 276.4 kB / 0.5307 GB, free: 50.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4909, allocations: 0 / 0.5307 GB, free: 50.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009958/0.4919, allocations: 238.4 kB / 0.5309 GB, free: 50.72 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.0003531/0.4923, allocations: 170.9 kB / 0.5311 GB, free: 50.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004282/0.4966, allocations: 1.835 MB / 0.5329 GB, free: 50.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.4966, allocations: 0 / 0.5329 GB, free: 50.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002842/0.4995, allocations: 1.197 MB / 0.534 GB, free: 50.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008102/0.5003, allocations: 156.7 kB / 0.5342 GB, free: 50.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004916/0.5052, allocations: 2.588 MB / 0.5367 GB, free: 49.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008769/0.5061, allocations: 1.076 MB / 0.5378 GB, free: 48.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008836/0.507, allocations: 265.2 kB / 0.538 GB, free: 48.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000264/0.5073, allocations: 57.89 kB / 0.5381 GB, free: 48.35 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.5073, allocations: 4 kB / 0.5381 GB, free: 48.34 MB / 414.1 MB Notification: Performance of Templates: time 0.02301/0.5303, allocations: 11.26 MB / 0.5491 GB, free: 45.13 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)