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.001247/0.001247, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001213/0.001213, allocations: 192 kB / 16.14 MB, free: 6.707 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.604/1.604, allocations: 205.1 MB / 222 MB, free: 4.742 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.001155/0.001155, allocations: 55.91 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2244, allocations: 46.63 MB / 324.7 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.005606/0.2301, allocations: 4.682 MB / 329.4 MB, free: 14.26 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002981/0.2331, allocations: 1.329 MB / 330.7 MB, free: 13.17 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005152/0.2336, allocations: 25.88 kB / 330.7 MB, free: 13.16 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006794/0.2344, allocations: 176.9 kB / 330.9 MB, free: 13.02 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008474/0.2353, allocations: 327.3 kB / 331.2 MB, free: 12.76 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000404/0.2357, allocations: 186.5 kB / 331.4 MB, free: 12.6 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001743/0.2374, allocations: 1.766 MB / 333.2 MB, free: 11.61 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000927/0.2384, allocations: 0.7536 MB / 333.9 MB, free: 10.88 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007386/0.2391, allocations: 0.5331 MB / 334.5 MB, free: 10.34 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008197/0.2399, allocations: 0.7159 MB / 335.2 MB, free: 9.625 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.2401, allocations: 92 kB / 335.3 MB, free: 9.535 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.2403, allocations: 92 kB / 335.4 MB, free: 9.445 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003004/0.2406, allocations: 354.8 kB / 335.7 MB, free: 9.098 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006419/0.2413, allocations: 0.6453 MB / 336.3 MB, free: 8.449 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001668/0.2429, allocations: 1.978 MB / 338.3 MB, free: 6.465 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.243, allocations: 0 / 338.3 MB, free: 6.465 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.243, allocations: 0 / 338.3 MB, free: 6.465 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.294e-05/0.243, allocations: 4 kB / 338.3 MB, free: 6.461 MB / 270.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.002976/0.246, allocations: 1.619 MB / 339.9 MB, free: 4.785 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.246, allocations: 12.03 kB / 340 MB, free: 4.773 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/0.2462, allocations: 143.2 kB / 340.1 MB, free: 4.633 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.2474, allocations: 0.8645 MB / 341 MB, free: 3.727 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.366e-05/0.2474, allocations: 78.36 kB / 341 MB, free: 3.652 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.2476, allocations: 100.1 kB / 341.1 MB, free: 3.555 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/0.2499, allocations: 1.431 MB / 342.6 MB, free: 2.09 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/0.2499, allocations: 3.938 kB / 342.6 MB, free: 2.086 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.25, allocations: 40 kB / 342.6 MB, free: 2.047 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.043e-05/0.2501, allocations: 41.98 kB / 342.7 MB, free: 2.008 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.252, allocations: 1.28 MB / 343.9 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005944/0.258, allocations: 4.328 MB / 348.3 MB, free: 12.29 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/0.26, allocations: 1.963 MB / 350.2 MB, free: 10.11 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008716/0.2609, allocations: 0.6259 MB / 350.8 MB, free: 9.484 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.79e-05/0.2609, allocations: 8.594 kB / 350.9 MB, free: 9.473 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008877/0.2618, allocations: 0.5937 MB / 351.5 MB, free: 8.859 MB / 286.1 MB Notification: Performance of pre-optimization done (n=75): time 2.405e-06/0.2619, allocations: 0 / 351.5 MB, free: 8.859 MB / 286.1 MB Notification: Performance of matching and sorting (n=75): time 0.007047/0.2689, allocations: 2.848 MB / 354.3 MB, free: 5.98 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.516e-05/0.269, allocations: 115.5 kB / 354.4 MB, free: 5.844 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.2701, allocations: 0.8207 MB / 355.2 MB, free: 5.012 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.992e-05/0.2702, allocations: 41.7 kB / 355.3 MB, free: 4.965 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/0.2706, allocations: 483.8 kB / 355.7 MB, free: 4.484 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.2708, allocations: 248.5 kB / 356 MB, free: 4.238 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/0.271, allocations: 126.6 kB / 356.1 MB, free: 4.109 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.2712, allocations: 398.7 kB / 356.5 MB, free: 3.711 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005923/0.2718, allocations: 389.7 kB / 356.9 MB, free: 3.328 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006813/0.2725, allocations: 0.5532 MB / 357.4 MB, free: 2.719 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.2737, allocations: 0.9192 MB / 358.4 MB, free: 1.742 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.2737, allocations: 4 kB / 358.4 MB, free: 1.738 MB / 286.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002091/0.2758, allocations: 1.311 MB / 359.7 MB, free: 432 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.2759, allocations: 8 kB / 359.7 MB, free: 424 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.2759, allocations: 4 kB / 359.7 MB, free: 420 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/0.277, allocations: 480.2 kB / 360.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/0.2774, allocations: 87.83 kB / 360.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006616/0.284, allocations: 5.129 MB / 365.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007565/0.2848, allocations: 83.45 kB / 365.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-05/0.2849, allocations: 24 kB / 365.5 MB, free: 10.48 MB / 302.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.000873/0.2857, allocations: 471.2 kB / 365.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.2859, allocations: 90.84 kB / 366 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001909/0.2861, allocations: 108.6 kB / 366.1 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.2861, allocations: 8 kB / 366.1 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2861, allocations: 0 / 366.1 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.2861, allocations: 3.984 kB / 366.1 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003813/0.2899, allocations: 2.611 MB / 368.7 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.29, allocations: 0 / 368.7 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/0.2903, allocations: 68.03 kB / 368.8 MB, free: 7.059 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001002/0.2913, allocations: 460.3 kB / 369.3 MB, free: 6.605 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.125e-05/0.2913, allocations: 15.98 kB / 369.3 MB, free: 6.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006257/0.2976, allocations: 5.075 MB / 374.4 MB, free: 1.375 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.2976, allocations: 4 kB / 374.4 MB, free: 1.371 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00277/0.3004, allocations: 1.912 MB / 376.3 MB, free: 15.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004175/0.3009, allocations: 275.8 kB / 376.5 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.301, allocations: 20 kB / 376.6 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004008/0.3014, allocations: 39.95 kB / 376.6 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002059/0.3016, allocations: 76.53 kB / 376.7 MB, free: 15.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.995e-05/0.3017, allocations: 16 kB / 376.7 MB, free: 14.99 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007521/0.3024, allocations: 0.5965 MB / 377.3 MB, free: 14.4 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3024, allocations: 0 / 377.3 MB, free: 14.4 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009781/0.3034, allocations: 339 kB / 377.6 MB, free: 14.07 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 (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.0001753/0.3036, allocations: 135.2 kB / 377.7 MB, free: 13.92 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002175/0.3058, allocations: 1.278 MB / 379 MB, free: 12.63 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.3058, allocations: 0 / 379 MB, free: 12.63 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001251/0.3071, allocations: 0.8171 MB / 379.8 MB, free: 11.8 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.3083, allocations: 254.7 kB / 380.1 MB, free: 11.56 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0042/0.3125, allocations: 2.785 MB / 382.9 MB, free: 8.742 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008305/0.3134, allocations: 1.326 MB / 384.2 MB, free: 7.391 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004176/0.3138, allocations: 143.3 kB / 384.3 MB, free: 7.246 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.3139, allocations: 59.42 kB / 384.4 MB, free: 7.188 MB / 318.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3139, allocations: 0 / 384.4 MB, free: 7.188 MB / 318.1 MB Notification: Performance of Templates: time 0.02893/0.3429, allocations: 18.53 MB / 402.9 MB, free: 4.625 MB / 334.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)