Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009025/0.0009027, allocations: 90.38 kB / 16.65 MB, free: 6.59 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.000929/0.0009291, allocations: 181.8 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1908/0.1908, allocations: 38.07 MB / 330.8 MB, free: 8.457 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003432, allocations: 8 kB / 400.7 MB, free: 34.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1342, allocations: 59.16 MB / 459.9 MB, free: 7.012 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.008794/0.1431, allocations: 7.361 MB / 467.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005873/0.149, allocations: 2.45 MB / 469.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008173/0.1499, allocations: 47.69 kB / 469.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005753/0.1505, allocations: 147 kB / 469.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001481/0.152, allocations: 0.5058 MB / 470.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009939/0.153, allocations: 319.4 kB / 470.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002012/0.155, allocations: 1.844 MB / 472.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001509/0.1565, allocations: 0.951 MB / 473.5 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008029/0.1573, allocations: 442.1 kB / 473.9 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/0.1584, allocations: 0.6659 MB / 474.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.576e-05/0.1585, allocations: 44 kB / 474.6 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009814/0.1595, allocations: 0.503 MB / 475.1 MB, free: 7.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000413/0.1599, allocations: 407 kB / 475.5 MB, free: 7.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005252/0.1604, allocations: 483.3 kB / 476 MB, free: 6.777 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.1619, allocations: 1.386 MB / 477.4 MB, free: 5.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.1619, allocations: 4 kB / 477.4 MB, free: 5.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1619, allocations: 0 / 477.4 MB, free: 5.383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.1619, allocations: 0 / 477.4 MB, free: 5.383 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002581/0.1645, allocations: 1.192 MB / 478.6 MB, free: 4.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.1646, allocations: 16.02 kB / 478.6 MB, free: 4.121 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000771/0.1654, allocations: 143.8 kB / 478.7 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.1665, allocations: 0.6553 MB / 479.4 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002451/0.1668, allocations: 183.6 kB / 479.6 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002217/0.167, allocations: 103.8 kB / 479.7 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00239/0.1694, allocations: 1.382 MB / 481.1 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/0.1695, allocations: 0 / 481.1 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.128e-05/0.1696, allocations: 32 kB / 481.1 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001581/0.1697, allocations: 61.97 kB / 481.1 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002705/0.1725, allocations: 1.354 MB / 482.5 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007903/0.1804, allocations: 4.97 MB / 487.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002419/0.1828, allocations: 1.22 MB / 488.7 MB, free: 9.699 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/0.1841, allocations: 0.6438 MB / 489.3 MB, free: 9.047 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.226e-05/0.1841, allocations: 8.562 kB / 489.3 MB, free: 9.039 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.864e-05/0.1842, allocations: 43.11 kB / 489.4 MB, free: 8.988 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 4.018e-06/0.1842, allocations: 0 / 489.4 MB, free: 8.988 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.006361/0.1906, allocations: 3.304 MB / 492.7 MB, free: 5.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.1907, allocations: 85.67 kB / 492.8 MB, free: 5.488 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005623/0.1912, allocations: 465.9 kB / 493.2 MB, free: 5.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.026e-05/0.1913, allocations: 33.7 kB / 493.3 MB, free: 4.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002949/0.1916, allocations: 403.2 kB / 493.7 MB, free: 4.578 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/0.1918, allocations: 252.3 kB / 493.9 MB, free: 4.328 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.192, allocations: 77.7 kB / 494 MB, free: 4.246 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1921, allocations: 378.8 kB / 494.3 MB, free: 3.867 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009549/0.1931, allocations: 0.5134 MB / 494.9 MB, free: 3.355 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/0.1942, allocations: 0.7145 MB / 495.6 MB, free: 2.562 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002041/0.1963, allocations: 1.271 MB / 496.8 MB, free: 1.219 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.1963, allocations: 3.938 kB / 496.9 MB, free: 1.215 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004558/0.2008, allocations: 2.134 MB / 499 MB, free: 15.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.2009, allocations: 4.531 kB / 499 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004182/0.2051, allocations: 1.874 MB / 0.4891 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001941/0.207, allocations: 0.6964 MB / 0.4898 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006555/0.2077, allocations: 155.7 kB / 0.49 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01141/0.2191, allocations: 7.08 MB / 0.4969 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007872/0.22, allocations: 87.84 kB / 0.497 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.876e-05/0.22, allocations: 35.98 kB / 0.497 GB, free: 4.824 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 73 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(4,16)} Notification: Performance of prepare postOptimizeDAE: time 0.000555/0.2206, allocations: 313.6 kB / 0.4973 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.2208, allocations: 59.25 kB / 0.4973 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002414/0.2232, allocations: 1.34 MB / 0.4986 GB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/0.2232, allocations: 16 kB / 0.4987 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.2232, allocations: 4 kB / 0.4987 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.57e-05/0.2233, allocations: 7.922 kB / 0.4987 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004075/0.2273, allocations: 2.461 MB / 0.5011 GB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.2274, allocations: 7.984 kB / 0.5011 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2862/0.5135, allocations: 0.6282 MB / 0.5017 GB, free: 55.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001723/0.5138, allocations: 36.36 kB / 0.5017 GB, free: 55.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/0.5139, allocations: 17.41 kB / 0.5018 GB, free: 55.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.515, allocations: 1.472 MB / 0.5032 GB, free: 54.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.515, allocations: 1.5 kB / 0.5032 GB, free: 54.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004254/0.5193, allocations: 2.086 MB / 0.5052 GB, free: 54.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002267/0.5196, allocations: 132.5 kB / 0.5054 GB, free: 54.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.959e-05/0.5197, allocations: 17.66 kB / 0.5054 GB, free: 54.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005818/0.5203, allocations: 75.08 kB / 0.5054 GB, free: 54.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002373/0.5205, allocations: 64.34 kB / 0.5055 GB, free: 54.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.405e-05/0.5206, allocations: 22.52 kB / 0.5055 GB, free: 54.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004375/0.521, allocations: 317.8 kB / 0.5058 GB, free: 54.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.521, allocations: 1.375 kB / 0.5058 GB, free: 54.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00112/0.5221, allocations: 231.8 kB / 0.5061 GB, free: 54.2 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (67): * Single equations (assignments): 64 * Array equations: 1 * 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.000256/0.5224, allocations: 129.9 kB / 0.5062 GB, free: 54.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003339/0.5258, allocations: 1.603 MB / 0.5077 GB, free: 53.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.5258, allocations: 0 / 0.5077 GB, free: 53.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003179/0.529, allocations: 1.158 MB / 0.5089 GB, free: 53.44 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.53, allocations: 144 kB / 0.509 GB, free: 53.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0046/0.5347, allocations: 2.776 MB / 0.5117 GB, free: 51.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006846/0.5354, allocations: 1.074 MB / 0.5128 GB, free: 51.19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007963/0.5362, allocations: 208.3 kB / 0.513 GB, free: 51.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/0.5364, allocations: 53.84 kB / 0.513 GB, free: 51.16 MB / 382.1 MB Notification: Performance of SimCode: time 1.903e-06/0.5364, allocations: 4 kB / 0.513 GB, free: 51.16 MB / 382.1 MB Notification: Performance of Templates: time 0.02419/0.5606, allocations: 12.45 MB / 0.5252 GB, free: 47.01 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1)