Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_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.001145/0.001145, allocations: 110.6 kB / 18.4 MB, free: 4.688 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.001162/0.001162, allocations: 186.2 kB / 19.34 MB, free: 3.766 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.255/1.255, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001217/0.001217, allocations: 63.91 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07031/0.07154, allocations: 46.6 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.1531/0.2247, allocations: 4.666 MB / 380.5 MB, free: 9.738 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002269/0.227, allocations: 1.342 MB / 381.8 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002853/0.2273, allocations: 26.78 kB / 381.9 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005679/0.2279, allocations: 214 kB / 382.1 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006225/0.2285, allocations: 342.6 kB / 382.4 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.2289, allocations: 216.4 kB / 382.6 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00136/0.2302, allocations: 1.552 MB / 384.2 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008786/0.2311, allocations: 0.9152 MB / 385.1 MB, free: 8.785 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005171/0.2316, allocations: 0.6349 MB / 385.7 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008144/0.2325, allocations: 0.7551 MB / 386.5 MB, free: 8.156 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002091/0.2327, allocations: 162.7 kB / 386.6 MB, free: 8.156 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002552/0.233, allocations: 163 kB / 386.8 MB, free: 8.156 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003424/0.2333, allocations: 438.4 kB / 387.2 MB, free: 7.918 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005759/0.2339, allocations: 0.7275 MB / 388 MB, free: 7.445 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001587/0.2355, allocations: 2.072 MB / 390 MB, free: 6.727 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.2355, allocations: 0 / 390 MB, free: 6.727 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2355, allocations: 0 / 390 MB, free: 6.727 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.044e-05/0.2355, allocations: 1.219 kB / 390 MB, free: 6.727 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.002558/0.2381, allocations: 1.624 MB / 391.7 MB, free: 5.715 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.2381, allocations: 8.25 kB / 391.7 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002102/0.2383, allocations: 137.4 kB / 391.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.2395, allocations: 0.8776 MB / 392.7 MB, free: 5.109 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.763e-05/0.2395, allocations: 78.16 kB / 392.8 MB, free: 5.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.2397, allocations: 97.22 kB / 392.8 MB, free: 5.039 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002138/0.2418, allocations: 1.434 MB / 394.3 MB, free: 4.434 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/0.2419, allocations: 5.25 kB / 394.3 MB, free: 4.43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-05/0.242, allocations: 38.42 kB / 394.3 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-05/0.242, allocations: 44.09 kB / 394.4 MB, free: 4.395 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/0.244, allocations: 1.288 MB / 395.7 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005113/0.2491, allocations: 4.269 MB / 399.9 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.2507, allocations: 1.975 MB / 401.9 MB, free: 15.76 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001215/0.2519, allocations: 0.7373 MB / 402.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.768e-05/0.2519, allocations: 12.42 kB / 402.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009076/0.2529, allocations: 0.5956 MB / 403.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=75): time 2.505e-06/0.2529, allocations: 0 / 403.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=75): time 0.007123/0.26, allocations: 2.822 MB / 406.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/0.2601, allocations: 112 kB / 406.2 MB, free: 13.35 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009905/0.2611, allocations: 0.821 MB / 407 MB, free: 12.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.021e-05/0.2611, allocations: 41.08 kB / 407 MB, free: 12.85 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003422/0.2615, allocations: 492.8 kB / 407.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000185/0.2617, allocations: 244.5 kB / 407.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002235/0.2619, allocations: 138.4 kB / 407.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.2621, allocations: 389 kB / 408.3 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006083/0.2627, allocations: 395.7 kB / 408.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006987/0.2634, allocations: 0.5436 MB / 409.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.2647, allocations: 0.9255 MB / 410.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.2647, allocations: 4.688 kB / 410.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001966/0.2667, allocations: 1.312 MB / 411.4 MB, free: 9.879 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.2667, allocations: 6.938 kB / 411.4 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.2667, allocations: 3.938 kB / 411.5 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/0.2678, allocations: 471.1 kB / 411.9 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/0.2681, allocations: 94 kB / 412 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006866/0.275, allocations: 5.575 MB / 417.6 MB, free: 4.461 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005052/0.2755, allocations: 79.45 kB / 417.7 MB, free: 4.383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.457e-05/0.2756, allocations: 31.92 kB / 417.7 MB, free: 4.352 MB / 334.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.0005335/0.2761, allocations: 463.2 kB / 418.1 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.2763, allocations: 83.06 kB / 418.2 MB, free: 3.805 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/0.2765, allocations: 116.5 kB / 418.3 MB, free: 3.688 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.2765, allocations: 0 / 418.3 MB, free: 3.688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2765, allocations: 3.984 kB / 418.3 MB, free: 3.684 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003762/0.2769, allocations: 271.9 kB / 418.6 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.277, allocations: 12 kB / 418.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003975/0.2774, allocations: 47.89 kB / 418.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.2776, allocations: 68.5 kB / 418.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002836/0.2804, allocations: 1.512 MB / 420.2 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002219/0.2827, allocations: 1.671 MB / 421.9 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006529/0.2833, allocations: 474.9 kB / 422.4 MB, free: 15.63 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006795/0.284, allocations: 0.5888 MB / 423 MB, free: 15.04 MB / 350.1 MB Notification: Performance of Backend: time 4.91e-07/0.284, allocations: 0 / 423 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001835/0.2859, allocations: 0.9945 MB / 424 MB, free: 14.03 MB / 350.1 MB Notification: Performance of SimCode: time 0.003552/0.2894, allocations: 2.821 MB / 426.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of Templates: time 0.02646/0.3159, allocations: 17.9 MB / 444.7 MB, free: 9.242 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1)