Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.00159/0.00159, allocations: 116 kB / 17.75 MB, free: 5.223 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.001858/0.001858, allocations: 181.4 kB / 18.67 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009579/0.0009579, allocations: 47.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2106, allocations: 49.44 MB / 401.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.005334/0.216, allocations: 4.716 MB / 406.2 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.2179, allocations: 1.285 MB / 407.4 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002493/0.2182, allocations: 31.81 kB / 407.5 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000552/0.2187, allocations: 226.5 kB / 407.7 MB, free: 2.605 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006587/0.2194, allocations: 354 kB / 408 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.2198, allocations: 211.7 kB / 408.2 MB, free: 2.051 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001264/0.221, allocations: 1.541 MB / 409.8 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.2221, allocations: 0.9608 MB / 410.7 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005834/0.2227, allocations: 0.6463 MB / 411.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008121/0.2235, allocations: 0.7666 MB / 412.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001966/0.2237, allocations: 164 kB / 412.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002413/0.2239, allocations: 168 kB / 412.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003611/0.2243, allocations: 430.8 kB / 412.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006352/0.2249, allocations: 0.7272 MB / 413.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001536/0.2265, allocations: 2.085 MB / 415.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2265, allocations: 0 / 415.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2265, allocations: 0 / 415.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.2265, allocations: 0 / 415.7 MB, free: 10.52 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002633/0.2292, allocations: 1.638 MB / 417.4 MB, free: 8.832 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.2292, allocations: 8.031 kB / 417.4 MB, free: 8.824 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.2294, allocations: 143.2 kB / 417.5 MB, free: 8.684 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.2308, allocations: 0.9385 MB / 418.4 MB, free: 7.703 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.256e-05/0.2309, allocations: 82.38 kB / 418.5 MB, free: 7.625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/0.231, allocations: 108.1 kB / 418.6 MB, free: 7.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/0.2332, allocations: 1.431 MB / 420.1 MB, free: 6.055 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.2332, allocations: 8 kB / 420.1 MB, free: 6.047 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.2333, allocations: 43.98 kB / 420.1 MB, free: 6.004 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.015e-05/0.2334, allocations: 41.98 kB / 420.1 MB, free: 5.965 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/0.2353, allocations: 1.296 MB / 421.4 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005564/0.2409, allocations: 4.285 MB / 425.7 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/0.2427, allocations: 1.957 MB / 427.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/0.2439, allocations: 0.743 MB / 428.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.682e-05/0.244, allocations: 8.656 kB / 428.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008758/0.2449, allocations: 0.6014 MB / 429 MB, free: 12.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.264e-06/0.2449, allocations: 0 / 429 MB, free: 12.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.007247/0.2521, allocations: 2.816 MB / 431.9 MB, free: 9.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.722e-05/0.2522, allocations: 111.5 kB / 432 MB, free: 9.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009505/0.2532, allocations: 0.8169 MB / 432.8 MB, free: 8.922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.505e-05/0.2532, allocations: 45.64 kB / 432.8 MB, free: 8.871 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003398/0.2536, allocations: 499.7 kB / 433.3 MB, free: 8.375 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/0.2538, allocations: 240.5 kB / 433.5 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.254, allocations: 134.6 kB / 433.7 MB, free: 8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.2542, allocations: 394.8 kB / 434.1 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006118/0.2548, allocations: 393.7 kB / 434.4 MB, free: 7.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00071/0.2555, allocations: 0.5571 MB / 435 MB, free: 6.602 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.2568, allocations: 0.9192 MB / 435.9 MB, free: 5.629 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2568, allocations: 0 / 435.9 MB, free: 5.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001968/0.2588, allocations: 1.299 MB / 437.2 MB, free: 4.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.2588, allocations: 4 kB / 437.2 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.2588, allocations: 4 kB / 437.2 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.2598, allocations: 476.4 kB / 437.7 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.2602, allocations: 91.83 kB / 437.8 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006886/0.2671, allocations: 5.578 MB / 443.4 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004847/0.2676, allocations: 79.45 kB / 443.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.797e-05/0.2677, allocations: 28 kB / 443.5 MB, free: 13.92 MB / 366.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_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,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.0005564/0.2682, allocations: 467.2 kB / 443.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.2684, allocations: 94.95 kB / 444 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002364/0.2686, allocations: 112.6 kB / 444.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.2686, allocations: 3.984 kB / 444.1 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.2686, allocations: 0 / 444.1 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004134/0.269, allocations: 271.9 kB / 444.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.2692, allocations: 19.94 kB / 444.4 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003904/0.2696, allocations: 43.94 kB / 444.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.2697, allocations: 60.58 kB / 444.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002808/0.2725, allocations: 1.505 MB / 446 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002156/0.2747, allocations: 1.674 MB / 447.7 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006274/0.2753, allocations: 476.8 kB / 448.2 MB, free: 9.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006664/0.276, allocations: 0.5849 MB / 448.8 MB, free: 8.582 MB / 366.1 MB Notification: Performance of Backend: time 2.91e-07/0.276, allocations: 0 / 448.8 MB, free: 8.582 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001801/0.2778, allocations: 1.001 MB / 449.8 MB, free: 7.562 MB / 366.1 MB Notification: Performance of SimCode: time 0.003405/0.2813, allocations: 2.812 MB / 452.6 MB, free: 4.695 MB / 366.1 MB Notification: Performance of Templates: time 0.02566/0.3069, allocations: 18.14 MB / 470.7 MB, free: 2.773 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1)