Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01086/0.01086, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001323/0.001323, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.899/1.899, allocations: 205.1 MB / 222.6 MB, free: 4.492 MB / 174.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.001522/0.001522, allocations: 46.94 kB / 326.6 MB, free: 14.37 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1303, allocations: 46.63 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.006011/0.1363, allocations: 3.613 MB / 376.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002346/0.1387, allocations: 1.06 MB / 377.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000299/0.1391, allocations: 11.94 kB / 377.9 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003118/0.1394, allocations: 103.1 kB / 378 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008507/0.1403, allocations: 230.6 kB / 378.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.1406, allocations: 143.8 kB / 378.3 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00114/0.1418, allocations: 0.9572 MB / 379.3 MB, free: 11.17 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008505/0.1426, allocations: 0.5569 MB / 379.9 MB, free: 10.6 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000512/0.1432, allocations: 406.6 kB / 380.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007147/0.1439, allocations: 498.1 kB / 380.7 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.144, allocations: 99.98 kB / 380.8 MB, free: 9.617 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.1442, allocations: 100 kB / 380.9 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003249/0.1446, allocations: 275.2 kB / 381.2 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006186/0.1452, allocations: 469.8 kB / 381.7 MB, free: 8.789 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.1467, allocations: 1.273 MB / 382.9 MB, free: 7.512 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.1467, allocations: 0 / 382.9 MB, free: 7.512 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1468, allocations: 0 / 382.9 MB, free: 7.512 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.969e-05/0.1468, allocations: 0 / 382.9 MB, free: 7.512 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002763/0.1496, allocations: 1.154 MB / 384.1 MB, free: 6.301 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.584e-05/0.1496, allocations: 12.02 kB / 384.1 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/0.1498, allocations: 91.81 kB / 384.2 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.1509, allocations: 0.5963 MB / 384.8 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.566e-05/0.151, allocations: 57.12 kB / 384.8 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.1511, allocations: 71.97 kB / 384.9 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.1527, allocations: 0.9033 MB / 385.8 MB, free: 4.512 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.1527, allocations: 0 / 385.8 MB, free: 4.512 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.858e-05/0.1528, allocations: 28 kB / 385.8 MB, free: 4.484 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.427e-05/0.1529, allocations: 29.3 kB / 385.9 MB, free: 4.453 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.1541, allocations: 0.7935 MB / 386.7 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004504/0.1587, allocations: 2.756 MB / 389.4 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009321/0.1596, allocations: 0.7372 MB / 390.2 MB, free: 16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006284/0.1602, allocations: 341.2 kB / 390.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.1603, allocations: 8.328 kB / 390.5 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006086/0.1609, allocations: 385.9 kB / 390.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 2.104e-06/0.1609, allocations: 0 / 390.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.00287/0.1638, allocations: 1.189 MB / 392.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.701e-05/0.1639, allocations: 110.8 kB / 392.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000813/0.1647, allocations: 0.5721 MB / 392.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.969e-05/0.1648, allocations: 37.7 kB / 392.8 MB, free: 13.28 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/0.1651, allocations: 352 kB / 393.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.1653, allocations: 134.1 kB / 393.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.1654, allocations: 90.16 kB / 393.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.1656, allocations: 366.8 kB / 393.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003656/0.166, allocations: 217 kB / 393.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004724/0.1664, allocations: 357.8 kB / 394.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008279/0.1673, allocations: 0.569 MB / 394.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.1673, allocations: 3.938 kB / 394.8 MB, free: 11.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001422/0.1687, allocations: 0.7507 MB / 395.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.1688, allocations: 8 kB / 395.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.1688, allocations: 4 kB / 395.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005438/0.1693, allocations: 205.2 kB / 395.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003146/0.1697, allocations: 75.83 kB / 395.9 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003386/0.173, allocations: 2.924 MB / 398.8 MB, free: 6.969 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000403/0.1735, allocations: 63.48 kB / 398.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.342e-05/0.1735, allocations: 19.94 kB / 398.9 MB, free: 6.887 MB / 334.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: 12 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005874/0.1741, allocations: 325.6 kB / 399.2 MB, free: 6.559 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.529e-05/0.1742, allocations: 59.33 kB / 399.3 MB, free: 6.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001569/0.1744, allocations: 65.28 kB / 399.3 MB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1744, allocations: 4 kB / 399.3 MB, free: 6.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1744, allocations: 3.938 kB / 399.3 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.1744, allocations: 11.92 kB / 399.3 MB, free: 6.414 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002325/0.1767, allocations: 1.621 MB / 401 MB, free: 4.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.1767, allocations: 4 kB / 401 MB, free: 4.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/0.177, allocations: 52 kB / 401 MB, free: 4.676 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004164/0.1774, allocations: 193 kB / 401.2 MB, free: 4.484 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.003e-05/0.1775, allocations: 4 kB / 401.2 MB, free: 4.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003302/0.1808, allocations: 2.924 MB / 404.1 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1808, allocations: 4 kB / 404.1 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/0.1825, allocations: 1.099 MB / 405.2 MB, free: 292 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003316/0.1828, allocations: 192.4 kB / 405.4 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.492e-05/0.1829, allocations: 8 kB / 405.4 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002832/0.1832, allocations: 27.97 kB / 405.5 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.1833, allocations: 43.88 kB / 405.5 MB, free: 0 / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/0.1834, allocations: 23.92 kB / 405.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005464/0.1839, allocations: 410.8 kB / 405.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1839, allocations: 0 / 405.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007768/0.1847, allocations: 203.4 kB / 406.1 MB, free: 15.38 MB / 350.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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001872/0.1849, allocations: 123.1 kB / 406.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001313/0.1862, allocations: 0.7214 MB / 407 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.1862, allocations: 0 / 407 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006925/0.1869, allocations: 485.8 kB / 407.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007013/0.1876, allocations: 154.8 kB / 407.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002908/0.1906, allocations: 1.488 MB / 409.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008372/0.1914, allocations: 1.074 MB / 410.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003101/0.1917, allocations: 100.7 kB / 410.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.1919, allocations: 39.44 kB / 410.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1919, allocations: 0 / 410.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of Templates: time 0.01671/0.2086, allocations: 10.14 MB / 420.4 MB, free: 0.9492 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1)