Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01033/0.01033, allocations: 97.62 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.001706/0.001706, allocations: 201.5 kB / 16.68 MB, free: 5.969 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.783/1.783, allocations: 205.1 MB / 222.5 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.00143/0.00143, allocations: 48.89 kB / 326.6 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1155, allocations: 46.63 MB / 373.2 MB, free: 1.445 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006005/0.1216, allocations: 4.663 MB / 377.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003043/0.1246, allocations: 1.344 MB / 379.2 MB, free: 11.4 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000449/0.1251, allocations: 23.88 kB / 379.2 MB, free: 11.38 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007206/0.1259, allocations: 218.4 kB / 379.4 MB, free: 11.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008564/0.1268, allocations: 346.1 kB / 379.8 MB, free: 10.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004417/0.1272, allocations: 211.6 kB / 380 MB, free: 10.61 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001595/0.1288, allocations: 1.553 MB / 381.5 MB, free: 9.055 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009959/0.1298, allocations: 0.9098 MB / 382.4 MB, free: 8.125 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008488/0.1307, allocations: 0.6346 MB / 383.1 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009261/0.1316, allocations: 0.7628 MB / 383.8 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002044/0.1318, allocations: 164 kB / 384 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00026/0.1321, allocations: 160 kB / 384.1 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000392/0.1325, allocations: 434.8 kB / 384.6 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007605/0.1333, allocations: 0.7195 MB / 385.3 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001907/0.1352, allocations: 2.094 MB / 387.4 MB, free: 3.156 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1352, allocations: 0 / 387.4 MB, free: 3.156 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1352, allocations: 0 / 387.4 MB, free: 3.156 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.604e-05/0.1352, allocations: 0 / 387.4 MB, free: 3.156 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003112/0.1384, allocations: 1.661 MB / 389 MB, free: 1.441 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.1384, allocations: 8.031 kB / 389.1 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002451/0.1387, allocations: 144 kB / 389.2 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.1401, allocations: 0.8768 MB / 390.1 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.951e-05/0.1401, allocations: 78.36 kB / 390.2 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.1403, allocations: 104.1 kB / 390.3 MB, free: 200 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002373/0.1427, allocations: 1.423 MB / 391.7 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/0.1427, allocations: 4 kB / 391.7 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-05/0.1428, allocations: 40 kB / 391.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-05/0.1429, allocations: 41.98 kB / 391.8 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002032/0.1449, allocations: 1.288 MB / 393 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006158/0.1511, allocations: 4.286 MB / 397.3 MB, free: 8.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002241/0.1534, allocations: 1.967 MB / 399.3 MB, free: 6.781 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001299/0.1547, allocations: 0.7392 MB / 400 MB, free: 6.043 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.712e-05/0.1548, allocations: 4.656 kB / 400 MB, free: 6.039 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001142/0.1559, allocations: 0.6015 MB / 400.6 MB, free: 5.414 MB / 334.1 MB Notification: Performance of pre-optimization done (n=75): time 2.975e-06/0.1559, allocations: 3.938 kB / 400.6 MB, free: 5.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=75): time 0.007238/0.1632, allocations: 2.832 MB / 403.5 MB, free: 2.551 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001926/0.1634, allocations: 115.5 kB / 403.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.1647, allocations: 0.8169 MB / 404.4 MB, free: 1.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.268e-05/0.1648, allocations: 41.69 kB / 404.5 MB, free: 1.543 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005043/0.1653, allocations: 0.4889 MB / 404.9 MB, free: 1.047 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002408/0.1655, allocations: 253.9 kB / 405.2 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/0.1658, allocations: 134.6 kB / 405.3 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002724/0.166, allocations: 398.7 kB / 405.7 MB, free: 268 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008092/0.1669, allocations: 393.8 kB / 406.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009292/0.1678, allocations: 0.5455 MB / 406.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/0.1692, allocations: 0.9192 MB / 407.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.1692, allocations: 4 kB / 407.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002149/0.1714, allocations: 1.319 MB / 408.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.1714, allocations: 8 kB / 408.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.1714, allocations: 4.469 kB / 408.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/0.1725, allocations: 468.2 kB / 409.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003669/0.1729, allocations: 99.81 kB / 409.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007689/0.1806, allocations: 5.563 MB / 415 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006967/0.1813, allocations: 91.58 kB / 415.1 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.213e-05/0.1814, allocations: 28 kB / 415.1 MB, free: 6.57 MB / 350.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 (55): * Single equations (assignments): 54 * 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,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0009588/0.1824, allocations: 463.2 kB / 415.6 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.1825, allocations: 87.44 kB / 415.7 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.1828, allocations: 112.5 kB / 415.8 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.1828, allocations: 8 kB / 415.8 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.1828, allocations: 7.984 kB / 415.8 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1828, allocations: 0 / 415.8 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003998/0.1868, allocations: 2.602 MB / 418.4 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1868, allocations: 0 / 418.4 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/0.1871, allocations: 59.91 kB / 418.5 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000992/0.1881, allocations: 460.8 kB / 418.9 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.424e-05/0.1882, allocations: 19.98 kB / 418.9 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007356/0.1955, allocations: 5.517 MB / 424.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1956, allocations: 0 / 424.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003161/0.1987, allocations: 1.925 MB / 426.4 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004182/0.1992, allocations: 276.4 kB / 426.6 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.1993, allocations: 16 kB / 426.6 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000403/0.1997, allocations: 39.95 kB / 426.7 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/0.1999, allocations: 76.53 kB / 426.8 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.175e-05/0.1999, allocations: 23.98 kB / 426.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000793/0.2007, allocations: 0.5888 MB / 427.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2007, allocations: 0 / 427.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001226/0.202, allocations: 343.3 kB / 427.7 MB, free: 9.738 MB / 366.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 (40): * Single equations (assignments): 36 * 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,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002014/0.2022, allocations: 123.2 kB / 427.8 MB, free: 9.609 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002304/0.2045, allocations: 1.294 MB / 429.1 MB, free: 8.297 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.2045, allocations: 0 / 429.1 MB, free: 8.297 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001292/0.2058, allocations: 0.8247 MB / 429.9 MB, free: 7.461 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.207, allocations: 282.5 kB / 430.2 MB, free: 7.184 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004107/0.2111, allocations: 2.335 MB / 432.6 MB, free: 4.816 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/0.2122, allocations: 1.325 MB / 433.9 MB, free: 3.461 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004325/0.2126, allocations: 143.3 kB / 434 MB, free: 3.316 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.2128, allocations: 59.42 kB / 434.1 MB, free: 3.258 MB / 366.1 MB Notification: Performance of SimCode: time 1.513e-06/0.2128, allocations: 0 / 434.1 MB, free: 3.258 MB / 366.1 MB Notification: Performance of Templates: time 0.2871/0.4999, allocations: 19.78 MB / 453.9 MB, free: 72.76 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1)