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.01302/0.01302, allocations: 101 kB / 15.73 MB, free: 6.051 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.003262/0.003262, allocations: 192.2 kB / 16.67 MB, free: 5.98 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.987/1.987, allocations: 205.1 MB / 222.6 MB, free: 4.531 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.001198/0.001198, allocations: 50.48 kB / 326.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1371, allocations: 46.63 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.00536/0.1425, allocations: 3.601 MB / 376.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002348/0.1449, allocations: 1.064 MB / 377.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002593/0.1452, allocations: 11.94 kB / 377.9 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003251/0.1456, allocations: 111.1 kB / 378 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008741/0.1464, allocations: 230.7 kB / 378.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003658/0.1468, allocations: 147.7 kB / 378.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000988/0.1478, allocations: 0.9611 MB / 379.3 MB, free: 11.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007306/0.1486, allocations: 0.5569 MB / 379.9 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005649/0.1491, allocations: 406.6 kB / 380.3 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006347/0.1498, allocations: 486.1 kB / 380.7 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.1499, allocations: 100 kB / 380.8 MB, free: 9.617 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.1501, allocations: 100 kB / 380.9 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002675/0.1503, allocations: 283.1 kB / 381.2 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000469/0.1508, allocations: 473.8 kB / 381.7 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001299/0.1521, allocations: 1.266 MB / 382.9 MB, free: 7.508 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.1521, allocations: 4 kB / 382.9 MB, free: 7.504 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1522, allocations: 4 kB / 382.9 MB, free: 7.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.1522, allocations: 0 / 382.9 MB, free: 7.5 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.002262/0.1544, allocations: 1.15 MB / 384.1 MB, free: 6.293 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.424e-05/0.1545, allocations: 11.97 kB / 384.1 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002099/0.1547, allocations: 95.8 kB / 384.2 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009415/0.1557, allocations: 0.6041 MB / 384.8 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.33e-05/0.1557, allocations: 49.25 kB / 384.8 MB, free: 5.496 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.1559, allocations: 68 kB / 384.9 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.1573, allocations: 0.9072 MB / 385.8 MB, free: 4.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.1574, allocations: 3.984 kB / 385.8 MB, free: 4.496 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.127e-05/0.1575, allocations: 28 kB / 385.9 MB, free: 4.469 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.596e-05/0.1575, allocations: 33.23 kB / 385.9 MB, free: 4.434 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.1588, allocations: 0.7858 MB / 386.7 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003997/0.1628, allocations: 2.756 MB / 389.4 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009293/0.1638, allocations: 0.7411 MB / 390.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005803/0.1643, allocations: 349.1 kB / 390.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.1644, allocations: 4.328 kB / 390.5 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006323/0.165, allocations: 378 kB / 390.9 MB, free: 15.24 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 2.034e-06/0.165, allocations: 0 / 390.9 MB, free: 15.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002736/0.1678, allocations: 1.189 MB / 392.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.738e-05/0.1679, allocations: 114.8 kB / 392.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000727/0.1686, allocations: 0.5721 MB / 392.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.009e-05/0.1687, allocations: 33.7 kB / 392.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003188/0.169, allocations: 356 kB / 393.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.1691, allocations: 126.1 kB / 393.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.1693, allocations: 94.14 kB / 393.4 MB, free: 12.69 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.1695, allocations: 366.8 kB / 393.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003766/0.1698, allocations: 221 kB / 393.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004748/0.1703, allocations: 357.7 kB / 394.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008404/0.1712, allocations: 0.5652 MB / 394.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.1712, 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.001221/0.1724, allocations: 0.7545 MB / 395.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.1725, allocations: 8 kB / 395.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.1725, allocations: 4.5 kB / 395.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005323/0.173, allocations: 200.7 kB / 395.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003155/0.1733, allocations: 79.83 kB / 395.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003168/0.1765, allocations: 2.92 MB / 398.8 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004029/0.1769, allocations: 63.48 kB / 398.9 MB, free: 6.891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.177, allocations: 16 kB / 398.9 MB, free: 6.875 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.0006018/0.1776, allocations: 325.6 kB / 399.2 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.1777, allocations: 67.2 kB / 399.3 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.1779, allocations: 69.28 kB / 399.3 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.1779, allocations: 8 kB / 399.3 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1779, allocations: 0 / 399.3 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.1779, allocations: 7.922 kB / 399.4 MB, free: 6.395 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/0.1804, allocations: 1.625 MB / 401 MB, free: 4.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1804, allocations: 4.031 kB / 401 MB, free: 4.703 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002386/0.1806, allocations: 43.97 kB / 401 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004262/0.1811, allocations: 192.6 kB / 401.2 MB, free: 4.469 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.858e-05/0.1811, allocations: 12 kB / 401.2 MB, free: 4.457 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003134/0.1842, allocations: 2.92 MB / 404.1 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.1843, allocations: 4 kB / 404.1 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.1858, allocations: 1.103 MB / 405.3 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002768/0.1861, allocations: 192.4 kB / 405.4 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.4e-05/0.1862, allocations: 4 kB / 405.4 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002955/0.1865, allocations: 27.97 kB / 405.5 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.1867, allocations: 40 kB / 405.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.624e-05/0.1867, allocations: 23.86 kB / 405.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000531/0.1873, allocations: 414.8 kB / 405.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1873, allocations: 4 kB / 405.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007579/0.188, allocations: 203.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.0001849/0.1882, allocations: 119.1 kB / 406.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.1896, allocations: 0.7251 MB / 407 MB, free: 14.49 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.1896, allocations: 0 / 407 MB, free: 14.49 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007396/0.1903, allocations: 486.8 kB / 407.5 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007445/0.1911, allocations: 141.9 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.003289/0.1944, 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.001044/0.1955, allocations: 1.078 MB / 410.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003524/0.1958, allocations: 96.73 kB / 410.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.196, allocations: 39.42 kB / 410.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.196, allocations: 0 / 410.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of Templates: time 0.02153/0.2175, allocations: 10.13 MB / 420.4 MB, free: 0.9414 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)