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.01067/0.01067, allocations: 99.75 kB / 15.73 MB, free: 6.039 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.001898/0.001898, allocations: 191.9 kB / 16.67 MB, free: 5.949 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.865/1.865, allocations: 205.1 MB / 222.6 MB, free: 4.523 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.001361/0.001361, allocations: 58.83 kB / 326.6 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1564, allocations: 46.62 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.007863/0.1643, allocations: 3.605 MB / 376.8 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00405/0.1685, allocations: 1.064 MB / 377.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005669/0.1691, allocations: 11.94 kB / 377.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004803/0.1696, allocations: 107.1 kB / 378 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00116/0.1708, allocations: 226.7 kB / 378.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005212/0.1714, allocations: 143.7 kB / 378.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001358/0.1727, allocations: 0.9572 MB / 379.3 MB, free: 11.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009236/0.1737, allocations: 0.5608 MB / 379.9 MB, free: 10.61 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008162/0.1745, allocations: 406.6 kB / 380.3 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009846/0.1755, allocations: 490.1 kB / 380.7 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001739/0.1757, allocations: 100 kB / 380.8 MB, free: 9.629 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002102/0.1759, allocations: 100 kB / 380.9 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003634/0.1763, allocations: 279.1 kB / 381.2 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006508/0.177, allocations: 465.8 kB / 381.7 MB, free: 8.801 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.1787, allocations: 1.277 MB / 382.9 MB, free: 7.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.1787, allocations: 0 / 382.9 MB, free: 7.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.1787, allocations: 0 / 382.9 MB, free: 7.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.209e-05/0.1787, allocations: 7.938 kB / 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.002837/0.1816, allocations: 1.18 MB / 384.1 MB, free: 6.273 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.1816, allocations: 11.97 kB / 384.1 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.1818, allocations: 104.3 kB / 384.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008935/0.1827, allocations: 0.5967 MB / 384.8 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.827e-05/0.1828, allocations: 57.23 kB / 384.9 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.1829, allocations: 60 kB / 384.9 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.1845, allocations: 0.9072 MB / 385.8 MB, free: 4.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/0.1845, allocations: 7.953 kB / 385.9 MB, free: 4.473 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.445e-05/0.1846, allocations: 24 kB / 385.9 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.108e-05/0.1847, allocations: 37.23 kB / 385.9 MB, free: 4.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.1861, allocations: 0.7858 MB / 386.7 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004663/0.1907, allocations: 2.765 MB / 389.5 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.1919, allocations: 0.7333 MB / 390.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006503/0.1925, allocations: 341.2 kB / 390.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.942e-05/0.1926, allocations: 16.25 kB / 390.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007241/0.1933, allocations: 374 kB / 390.9 MB, free: 15.22 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 3.697e-06/0.1933, allocations: 4 kB / 390.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.003004/0.1963, allocations: 1.189 MB / 392.1 MB, free: 14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.347e-05/0.1965, allocations: 110.8 kB / 392.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009509/0.1974, allocations: 0.5644 MB / 392.8 MB, free: 13.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.985e-05/0.1975, allocations: 37.7 kB / 392.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004233/0.1979, allocations: 356.6 kB / 393.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001735/0.1981, allocations: 150.8 kB / 393.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/0.1983, allocations: 86.25 kB / 393.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002905/0.1986, allocations: 370.8 kB / 393.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004017/0.199, allocations: 217 kB / 394 MB, free: 12.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006152/0.1996, allocations: 365.7 kB / 394.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008972/0.2005, allocations: 0.5574 MB / 394.9 MB, free: 11.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/0.2006, allocations: 3.938 kB / 394.9 MB, free: 11.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001583/0.2021, allocations: 0.7626 MB / 395.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.2022, allocations: 8 kB / 395.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.2022, allocations: 4 kB / 395.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005914/0.2028, allocations: 209.2 kB / 395.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003326/0.2031, allocations: 75.83 kB / 395.9 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004504/0.2077, allocations: 2.924 MB / 398.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005485/0.2082, allocations: 59.73 kB / 398.9 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.273e-05/0.2083, allocations: 19.94 kB / 398.9 MB, free: 6.828 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.0008787/0.2092, allocations: 333.6 kB / 399.3 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.2093, allocations: 63.56 kB / 399.3 MB, free: 6.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001694/0.2095, allocations: 65.27 kB / 399.4 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.2095, allocations: 4 kB / 399.4 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.2095, allocations: 4 kB / 399.4 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.832e-05/0.2096, allocations: 11.92 kB / 399.4 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003159/0.2127, allocations: 1.617 MB / 401 MB, free: 4.664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.2127, allocations: 0 / 401 MB, free: 4.664 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002753/0.213, allocations: 52 kB / 401.1 MB, free: 4.613 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005883/0.2136, allocations: 196.8 kB / 401.3 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.761e-05/0.2137, allocations: 11.94 kB / 401.3 MB, free: 4.406 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004131/0.2178, allocations: 2.916 MB / 404.2 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.2178, allocations: 0 / 404.2 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001998/0.2199, allocations: 1.107 MB / 405.3 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004441/0.2203, allocations: 192.7 kB / 405.5 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.2204, allocations: 16.03 kB / 405.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000307/0.2208, allocations: 28.11 kB / 405.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/0.2209, allocations: 43.94 kB / 405.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.303e-05/0.221, allocations: 19.92 kB / 405.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007433/0.2217, allocations: 418.8 kB / 406 MB, free: 15.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2218, allocations: 0 / 406 MB, free: 15.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001078/0.2228, allocations: 207.5 kB / 406.2 MB, free: 15.29 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.0003084/0.2232, allocations: 119.1 kB / 406.3 MB, free: 15.17 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001475/0.2246, allocations: 0.7251 MB / 407.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.2247, allocations: 4 kB / 407.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007049/0.2254, allocations: 478.8 kB / 407.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007815/0.2262, allocations: 141.9 kB / 407.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003554/0.2297, allocations: 1.522 MB / 409.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009106/0.2307, allocations: 1.062 MB / 410.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000374/0.2311, allocations: 100.7 kB / 410.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.2312, allocations: 43.42 kB / 410.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of SimCode: time 8.21e-07/0.2312, allocations: 0 / 410.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Templates: time 0.02092/0.2521, allocations: 10.14 MB / 420.5 MB, free: 0.8555 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)