Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.007058/0.007058, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001332/0.001333, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.808/1.808, allocations: 205.1 MB / 222.6 MB, free: 4.496 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.001975/0.001975, allocations: 62.19 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1544, allocations: 46.62 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.006066/0.1605, allocations: 3.605 MB / 376.8 MB, free: 13.67 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002937/0.1635, allocations: 1.064 MB / 377.9 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005731/0.1641, allocations: 19.88 kB / 377.9 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003468/0.1646, allocations: 99.14 kB / 378 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009725/0.1656, allocations: 222.7 kB / 378.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004972/0.1661, allocations: 147.7 kB / 378.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001619/0.1677, allocations: 0.9611 MB / 379.3 MB, free: 11.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009768/0.1687, allocations: 0.5569 MB / 379.9 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007804/0.1695, allocations: 402.6 kB / 380.2 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007791/0.1703, allocations: 498.1 kB / 380.7 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.1704, allocations: 100 kB / 380.8 MB, free: 9.609 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/0.1706, allocations: 96 kB / 380.9 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002645/0.1709, allocations: 283.2 kB / 381.2 MB, free: 9.238 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005457/0.1715, allocations: 469.8 kB / 381.7 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.173, allocations: 1.273 MB / 382.9 MB, free: 7.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/0.173, allocations: 4 kB / 382.9 MB, free: 7.496 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.697e-06/0.173, allocations: 0 / 382.9 MB, free: 7.496 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.109e-05/0.173, allocations: 0 / 382.9 MB, free: 7.496 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.002656/0.1757, allocations: 1.154 MB / 384.1 MB, free: 6.285 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.362e-05/0.1758, allocations: 8.031 kB / 384.1 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001923/0.176, allocations: 91.81 kB / 384.2 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.177, allocations: 0.6002 MB / 384.8 MB, free: 5.547 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.772e-05/0.1771, allocations: 57.23 kB / 384.8 MB, free: 5.492 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.1772, allocations: 64 kB / 384.9 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.1788, allocations: 0.9072 MB / 385.8 MB, free: 4.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/0.1789, allocations: 0 / 385.8 MB, free: 4.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.316e-05/0.1789, allocations: 28 kB / 385.8 MB, free: 4.473 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.003e-05/0.179, allocations: 29.3 kB / 385.9 MB, free: 4.441 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.1804, allocations: 0.7858 MB / 386.7 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004852/0.1853, allocations: 2.76 MB / 389.4 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.1863, allocations: 0.7411 MB / 390.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000654/0.187, allocations: 345.2 kB / 390.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.596e-05/0.187, allocations: 4.328 kB / 390.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006613/0.1877, allocations: 381.9 kB / 390.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 3.487e-06/0.1877, allocations: 0 / 390.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002911/0.1906, allocations: 1.189 MB / 392.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.1908, allocations: 106.8 kB / 392.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008132/0.1916, allocations: 0.576 MB / 392.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.185e-05/0.1917, allocations: 29.7 kB / 392.8 MB, free: 13.28 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003353/0.192, allocations: 356 kB / 393.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.1922, allocations: 134.1 kB / 393.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.1923, allocations: 94.16 kB / 393.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.1925, allocations: 358.8 kB / 393.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003992/0.1929, allocations: 228.9 kB / 393.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004722/0.1934, allocations: 353.8 kB / 394.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008184/0.1942, allocations: 0.5691 MB / 394.8 MB, free: 11.08 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.1942, allocations: 7.875 kB / 394.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001409/0.1957, allocations: 0.7468 MB / 395.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.1957, allocations: 7.938 kB / 395.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.1957, allocations: 4.5 kB / 395.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006535/0.1964, allocations: 204.7 kB / 395.8 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003555/0.1967, allocations: 79.83 kB / 395.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003844/0.2006, allocations: 2.927 MB / 398.8 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005715/0.2012, allocations: 59.45 kB / 398.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.027e-05/0.2013, allocations: 27.97 kB / 398.9 MB, free: 6.867 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.0006259/0.2019, allocations: 317.6 kB / 399.2 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.202, allocations: 55.34 kB / 399.3 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/0.2022, allocations: 69.28 kB / 399.3 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.2022, allocations: 8 kB / 399.3 MB, free: 6.414 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-06/0.2022, allocations: 0 / 399.3 MB, free: 6.414 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.2022, allocations: 7.922 kB / 399.3 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002864/0.2051, allocations: 1.629 MB / 401 MB, free: 4.715 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.2051, allocations: 0 / 401 MB, free: 4.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002759/0.2054, allocations: 47.91 kB / 401 MB, free: 4.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004767/0.2059, allocations: 197 kB / 401.2 MB, free: 4.473 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.557e-05/0.206, allocations: 12 kB / 401.2 MB, free: 4.461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004014/0.21, allocations: 2.92 MB / 404.1 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.21, allocations: 0 / 404.1 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/0.2124, allocations: 1.099 MB / 405.2 MB, free: 280 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005266/0.213, allocations: 192.4 kB / 405.4 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.938e-05/0.2131, allocations: 12 kB / 405.4 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003473/0.2134, allocations: 27.97 kB / 405.5 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002319/0.2137, allocations: 43.94 kB / 405.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.163e-05/0.2137, allocations: 15.92 kB / 405.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006741/0.2144, allocations: 418.8 kB / 405.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.62e-07/0.2144, allocations: 4 kB / 405.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009604/0.2154, allocations: 199.4 kB / 406.1 MB, free: 15.36 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.0002147/0.2156, allocations: 119.1 kB / 406.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001379/0.217, allocations: 0.7249 MB / 407 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.217, allocations: 0 / 407 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007603/0.2178, allocations: 482.9 kB / 407.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008665/0.2186, allocations: 154.1 kB / 407.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003365/0.222, allocations: 1.492 MB / 409.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007024/0.2228, allocations: 1.062 MB / 410.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003526/0.2231, allocations: 100.7 kB / 410.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.2232, allocations: 35.44 kB / 410.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of SimCode: time 1.714e-06/0.2233, allocations: 4 kB / 410.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of Templates: time 0.02299/0.2463, allocations: 10.13 MB / 420.4 MB, free: 0.9531 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1)