Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 107.3 kB / 16.92 MB, free: 6.145 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.001249/0.001249, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.514/1.514, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.001237/0.001237, allocations: 51.92 kB / 280 MB, free: 3.148 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1113, allocations: 46.63 MB / 326.6 MB, free: 4.449 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006094/0.1174, allocations: 4.495 MB / 331.1 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00265/0.1201, allocations: 1.27 MB / 332.4 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003239/0.1204, allocations: 19.88 kB / 332.4 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003735/0.1209, allocations: 166.6 kB / 332.6 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009484/0.1218, allocations: 346.1 kB / 332.9 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004176/0.1223, allocations: 199.7 kB / 333.1 MB, free: 13.92 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001584/0.1238, allocations: 1.607 MB / 334.7 MB, free: 12.31 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001113/0.125, allocations: 0.9377 MB / 335.7 MB, free: 11.36 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009604/0.1259, allocations: 0.6735 MB / 336.3 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/0.1271, allocations: 0.8406 MB / 337.2 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002179/0.1273, allocations: 179.9 kB / 337.4 MB, free: 9.66 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002834/0.1276, allocations: 176 kB / 337.5 MB, free: 9.488 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004555/0.128, allocations: 470.7 kB / 338 MB, free: 9.027 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008775/0.1289, allocations: 0.7933 MB / 338.8 MB, free: 8.23 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002062/0.131, allocations: 2.208 MB / 341 MB, free: 6.016 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.131, allocations: 0 / 341 MB, free: 6.016 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.131, allocations: 0 / 341 MB, free: 6.016 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.531e-05/0.1311, allocations: 0 / 341 MB, free: 6.016 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.003459/0.1345, allocations: 1.759 MB / 342.7 MB, free: 4.199 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.1346, allocations: 8.031 kB / 342.8 MB, free: 4.191 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002457/0.1348, allocations: 151.2 kB / 342.9 MB, free: 4.043 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.1362, allocations: 0.915 MB / 343.8 MB, free: 3.082 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.872e-05/0.1363, allocations: 86.34 kB / 343.9 MB, free: 2.996 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/0.1364, allocations: 104.1 kB / 344 MB, free: 2.895 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00245/0.1389, allocations: 1.541 MB / 345.5 MB, free: 1.297 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.256e-05/0.1389, allocations: 7.844 kB / 345.5 MB, free: 1.289 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.139, allocations: 40 kB / 345.6 MB, free: 1.25 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/0.1392, allocations: 50.02 kB / 345.6 MB, free: 1.199 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002366/0.1416, allocations: 1.425 MB / 347.1 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007635/0.1492, allocations: 4.917 MB / 352 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002141/0.1514, allocations: 1.453 MB / 353.4 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001436/0.1528, allocations: 0.7273 MB / 354.2 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.158e-05/0.1529, allocations: 12.5 kB / 354.2 MB, free: 8.352 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001173/0.1541, allocations: 0.6122 MB / 354.8 MB, free: 7.719 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 5.15e-06/0.1541, allocations: 0 / 354.8 MB, free: 7.719 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.006246/0.1604, allocations: 2.419 MB / 357.2 MB, free: 5.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.544e-05/0.1605, allocations: 85.77 kB / 357.3 MB, free: 5.168 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001868/0.1624, allocations: 0.9422 MB / 358.2 MB, free: 4.211 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.414e-05/0.1625, allocations: 41.64 kB / 358.3 MB, free: 4.164 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005634/0.163, allocations: 0.523 MB / 358.8 MB, free: 3.633 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002459/0.1633, allocations: 232.6 kB / 359 MB, free: 3.402 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002553/0.1636, allocations: 126.7 kB / 359.1 MB, free: 3.273 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1637, allocations: 334 kB / 359.5 MB, free: 2.941 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007163/0.1644, allocations: 417.7 kB / 359.9 MB, free: 2.531 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009033/0.1654, allocations: 0.5563 MB / 360.4 MB, free: 1.918 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/0.1669, allocations: 0.9503 MB / 361.4 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.741e-05/0.1669, allocations: 4 kB / 361.4 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002274/0.1692, allocations: 1.284 MB / 362.7 MB, free: 15.62 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.1692, allocations: 8 kB / 362.7 MB, free: 15.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.1693, allocations: 4.469 kB / 362.7 MB, free: 15.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009522/0.1702, allocations: 398.4 kB / 363.1 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005129/0.1707, allocations: 119.8 kB / 363.2 MB, free: 15.1 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005472/0.1762, allocations: 4.493 MB / 367.7 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006324/0.1769, allocations: 79.45 kB / 367.8 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.385e-05/0.1769, allocations: 35.98 kB / 367.8 MB, free: 10.35 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0008192/0.1778, allocations: 491.1 kB / 368.3 MB, free: 9.863 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002457/0.178, allocations: 94.94 kB / 368.4 MB, free: 9.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002732/0.1783, allocations: 116.5 kB / 368.5 MB, free: 9.652 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.1783, allocations: 12 kB / 368.5 MB, free: 9.641 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1783, allocations: 0 / 368.5 MB, free: 9.641 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.1783, allocations: 3.984 kB / 368.5 MB, free: 9.637 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004533/0.1829, allocations: 2.593 MB / 371.1 MB, free: 6.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.1829, allocations: 3.984 kB / 371.1 MB, free: 6.977 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004298/0.1833, allocations: 83.88 kB / 371.2 MB, free: 6.895 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008702/0.1842, allocations: 389.2 kB / 371.6 MB, free: 6.512 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.616e-05/0.1843, allocations: 15.98 kB / 371.6 MB, free: 6.496 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005675/0.19, allocations: 4.47 MB / 376 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.19, allocations: 3.938 kB / 376 MB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2207/0.4107, allocations: 1.952 MB / 378 MB, free: 53.29 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001168/0.412, allocations: 283.4 kB / 378.3 MB, free: 53.2 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.4122, allocations: 13.56 kB / 378.3 MB, free: 53.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006338/0.4128, allocations: 43.66 kB / 378.3 MB, free: 53.2 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003735/0.4132, allocations: 79.42 kB / 378.4 MB, free: 53.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.79e-05/0.4133, allocations: 22.17 kB / 378.4 MB, free: 53.2 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0013/0.4146, allocations: 0.6715 MB / 379.1 MB, free: 53.11 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4146, allocations: 0 / 379.1 MB, free: 53.11 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001328/0.4159, allocations: 349 kB / 379.4 MB, free: 53.11 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.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 (45): * Single equations (assignments): 41 * 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 {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002143/0.4161, allocations: 123.9 kB / 379.6 MB, free: 53.02 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003089/0.4192, allocations: 1.443 MB / 381 MB, free: 52.87 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.4192, allocations: 0 / 381 MB, free: 52.87 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001314/0.4206, allocations: 0.8084 MB / 381.8 MB, free: 52.73 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.4216, allocations: 258.6 kB / 382.1 MB, free: 52.7 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004852/0.4265, allocations: 2.621 MB / 384.7 MB, free: 51.61 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/0.4276, allocations: 1.379 MB / 386.1 MB, free: 50.79 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006556/0.4283, allocations: 171.8 kB / 386.2 MB, free: 50.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/0.4285, allocations: 60.42 kB / 386.3 MB, free: 50.77 MB / 318.1 MB Notification: Performance of SimCode: time 1.232e-06/0.4285, allocations: 0 / 386.3 MB, free: 50.77 MB / 318.1 MB Notification: Performance of Templates: time 0.02774/0.4562, allocations: 18.23 MB / 404.5 MB, free: 38.7 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1)