Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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) 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(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 107.8 kB / 16.51 MB, free: 6.707 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.001552/0.001552, allocations: 186.6 kB / 17.42 MB, free: 6.07 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.711/1.711, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.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.001227/0.001228, allocations: 43.94 kB / 279.3 MB, free: 3.566 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1436, allocations: 46.63 MB / 326 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.006836/0.1505, allocations: 3.427 MB / 329.4 MB, free: 1.426 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002417/0.153, allocations: 0.8695 MB / 330.3 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003172/0.1534, allocations: 8 kB / 330.3 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002752/0.1537, allocations: 39.62 kB / 330.3 MB, free: 0.5 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004411/0.1542, allocations: 111.2 kB / 330.4 MB, free: 400 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004182/0.1546, allocations: 123.8 kB / 330.5 MB, free: 276 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006431/0.1553, allocations: 493.9 kB / 331 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003971/0.1557, allocations: 153.7 kB / 331.2 MB, free: 15.63 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002858/0.156, allocations: 167.3 kB / 331.3 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002974/0.1563, allocations: 203 kB / 331.5 MB, free: 15.27 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.658e-05/0.1563, allocations: 24 kB / 331.6 MB, free: 15.24 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.96e-05/0.1564, allocations: 28 kB / 331.6 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.1566, allocations: 83.62 kB / 331.7 MB, free: 15.13 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002667/0.1568, allocations: 214.8 kB / 331.9 MB, free: 14.92 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005348/0.1574, allocations: 490.2 kB / 332.4 MB, free: 14.44 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1574, allocations: 0 / 332.4 MB, free: 14.44 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1574, allocations: 4 kB / 332.4 MB, free: 14.44 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.1574, allocations: 0 / 332.4 MB, free: 14.44 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001751/0.1592, allocations: 0.7184 MB / 333.1 MB, free: 13.67 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.954e-05/0.1592, allocations: 16.03 kB / 333.1 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.1594, allocations: 48.38 kB / 333.1 MB, free: 13.61 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005286/0.1599, allocations: 332.3 kB / 333.5 MB, free: 13.24 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.165e-05/0.16, allocations: 25.38 kB / 333.5 MB, free: 13.22 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.701e-05/0.1601, allocations: 36.38 kB / 333.5 MB, free: 13.18 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007443/0.1608, allocations: 391.2 kB / 333.9 MB, free: 12.78 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.1609, allocations: 3.906 kB / 333.9 MB, free: 12.78 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.111e-05/0.1609, allocations: 19.98 kB / 333.9 MB, free: 12.76 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.1609, allocations: 8 kB / 333.9 MB, free: 12.75 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006046/0.1615, allocations: 258.4 kB / 334.2 MB, free: 12.5 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002324/0.1639, allocations: 1.471 MB / 335.7 MB, free: 10.93 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004611/0.1644, allocations: 243.4 kB / 335.9 MB, free: 10.69 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003887/0.1648, allocations: 169.2 kB / 336.1 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.03e-05/0.1648, allocations: 4.234 kB / 336.1 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005383/0.1654, allocations: 234 kB / 336.3 MB, free: 10.27 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 2.985e-06/0.1654, allocations: 0 / 336.3 MB, free: 10.27 MB / 286.1 MB Notification: Performance of matching and sorting (n=31): time 0.001825/0.1672, allocations: 0.5809 MB / 336.9 MB, free: 9.656 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.1673, allocations: 110.8 kB / 337 MB, free: 9.523 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004117/0.1678, allocations: 292.5 kB / 337.3 MB, free: 9.23 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.506e-05/0.1678, allocations: 41.69 kB / 337.3 MB, free: 9.184 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000273/0.1681, allocations: 208.4 kB / 337.5 MB, free: 8.977 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.831e-05/0.1682, allocations: 98.67 kB / 337.6 MB, free: 8.879 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.1684, allocations: 73.98 kB / 337.7 MB, free: 8.797 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.1685, allocations: 342.8 kB / 338 MB, free: 8.453 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.1688, allocations: 92.7 kB / 338.1 MB, free: 8.363 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/0.1691, allocations: 217.5 kB / 338.3 MB, free: 8.094 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00052/0.1696, allocations: 334.9 kB / 338.7 MB, free: 7.711 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1697, allocations: 4 kB / 338.7 MB, free: 7.707 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008275/0.1705, allocations: 409.9 kB / 339.1 MB, free: 7.297 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.1705, allocations: 12.03 kB / 339.1 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.1706, allocations: 11.97 kB / 339.1 MB, free: 7.273 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003517/0.1709, allocations: 76.81 kB / 339.2 MB, free: 7.195 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.1712, allocations: 59.91 kB / 339.2 MB, free: 7.137 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/0.1733, allocations: 1.803 MB / 341 MB, free: 5.191 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/0.1736, allocations: 39.69 kB / 341.1 MB, free: 5.152 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/0.1736, allocations: 20.05 kB / 341.1 MB, free: 5.133 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 11 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n.off,rectifier.diode_p.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0003214/0.1739, allocations: 174.7 kB / 341.3 MB, free: 4.953 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/0.174, allocations: 31.62 kB / 341.3 MB, free: 4.922 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.557e-05/0.1741, allocations: 43.03 kB / 341.3 MB, free: 4.883 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1741, allocations: 0 / 341.3 MB, free: 4.883 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1741, allocations: 4 kB / 341.3 MB, free: 4.879 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.1741, allocations: 3.984 kB / 341.3 MB, free: 4.875 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007447/0.1749, allocations: 0.5653 MB / 341.9 MB, free: 4.25 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1749, allocations: 0 / 341.9 MB, free: 4.25 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.1751, allocations: 31.98 kB / 341.9 MB, free: 4.219 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000253/0.1753, allocations: 80.73 kB / 342 MB, free: 4.137 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.1754, allocations: 8 kB / 342 MB, free: 4.129 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001793/0.1772, allocations: 1.796 MB / 343.8 MB, free: 2.199 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1772, allocations: 4.062 kB / 343.8 MB, free: 2.195 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.1785, allocations: 498.9 kB / 344.3 MB, free: 1.684 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002455/0.1787, allocations: 136.6 kB / 344.4 MB, free: 1.531 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.697e-05/0.1788, allocations: 11.94 kB / 344.4 MB, free: 1.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.179, allocations: 19.98 kB / 344.5 MB, free: 1.5 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.217e-05/0.1791, allocations: 19.97 kB / 344.5 MB, free: 1.48 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.1791, allocations: 11.98 kB / 344.5 MB, free: 1.469 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002574/0.1794, allocations: 211.1 kB / 344.7 MB, free: 1.266 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1794, allocations: 0 / 344.7 MB, free: 1.266 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005553/0.1799, allocations: 115.6 kB / 344.8 MB, free: 1.152 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001914/0.1801, allocations: 115.2 kB / 344.9 MB, free: 1.031 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008422/0.181, allocations: 419.1 kB / 345.3 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.181, allocations: 0 / 345.3 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000407/0.1814, allocations: 286.6 kB / 345.6 MB, free: 324 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.1818, allocations: 56.95 kB / 345.7 MB, free: 264 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.1836, allocations: 0.851 MB / 346.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006258/0.1842, allocations: 0.8106 MB / 347.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001908/0.1844, allocations: 35.14 kB / 347.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.241e-05/0.1845, allocations: 27.42 kB / 347.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1845, allocations: 3.938 kB / 347.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of Templates: time 0.01145/0.196, allocations: 4.402 MB / 351.8 MB, free: 10.07 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1)