Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2m.twomPulse.timerNegative.1..entryTime|pulse2m.twomPulse.timerNegative.2..entryTime|pulse2m.twomPulse.timerNegative.3..entryTime|pulse2m.twomPulse.timerPositive.1..entryTime|pulse2m.twomPulse.timerPositive.2..entryTime|pulse2m.twomPulse.timerPositive.3..entryTime|rectifier.pre.1..u|rectifier.pre.2..u|rectifier.pre.3..u|rectifier.thyristor_p.idealThyristor.1..off|rectifier.thyristor_p.idealThyristor.2..off|rectifier.thyristor_p.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2m.twomPulse.timerNegative.1..entryTime|pulse2m.twomPulse.timerNegative.2..entryTime|pulse2m.twomPulse.timerNegative.3..entryTime|pulse2m.twomPulse.timerPositive.1..entryTime|pulse2m.twomPulse.timerPositive.2..entryTime|pulse2m.twomPulse.timerPositive.3..entryTime|rectifier.pre.1..u|rectifier.pre.2..u|rectifier.pre.3..u|rectifier.thyristor_p.idealThyristor.1..off|rectifier.thyristor_p.idealThyristor.2..off|rectifier.thyristor_p.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00111/0.00111, allocations: 117.2 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001224/0.001224, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 63.89 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2224, allocations: 50.55 MB / 410 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse): time 0.007246/0.2297, allocations: 6.098 MB / 416.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003059/0.2327, allocations: 1.897 MB / 418 MB, free: 9.527 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004548/0.2332, allocations: 39.81 kB / 418 MB, free: 9.488 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006984/0.2339, allocations: 305.7 kB / 418.3 MB, free: 9.188 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008095/0.2347, allocations: 433.4 kB / 418.7 MB, free: 8.762 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006324/0.2354, allocations: 383 kB / 419.1 MB, free: 8.391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002021/0.2374, allocations: 2.263 MB / 421.4 MB, free: 6.121 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001943/0.2394, allocations: 1.807 MB / 423.2 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009796/0.2404, allocations: 0.9968 MB / 424.2 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001138/0.2415, allocations: 1.105 MB / 425.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003436/0.2419, allocations: 268 kB / 425.5 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003973/0.2423, allocations: 268 kB / 425.8 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005384/0.2428, allocations: 0.6623 MB / 426.4 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001/0.2438, allocations: 1.124 MB / 427.6 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002785/0.2466, allocations: 3.327 MB / 430.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2466, allocations: 0 / 430.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2467, allocations: 0 / 430.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.651e-05/0.2467, allocations: 0 / 430.9 MB, free: 12.5 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.004159/0.2509, allocations: 2.415 MB / 433.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.2509, allocations: 8.031 kB / 433.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005684/0.2515, allocations: 250.4 kB / 433.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002168/0.2537, allocations: 1.337 MB / 434.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.866e-05/0.2538, allocations: 135.6 kB / 435 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002315/0.254, allocations: 172.1 kB / 435.2 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003418/0.2574, allocations: 2.345 MB / 437.5 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.662e-05/0.2575, allocations: 0 / 437.5 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001617/0.2577, allocations: 67.98 kB / 437.6 MB, free: 5.617 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-05/0.2577, allocations: 75.2 kB / 437.7 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003146/0.2609, allocations: 2.039 MB / 439.7 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009238/0.2701, allocations: 6.604 MB / 446.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002243/0.2724, allocations: 1.622 MB / 448 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001938/0.2743, allocations: 1.211 MB / 449.2 MB, free: 9.938 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.466e-05/0.2744, allocations: 20.92 kB / 449.2 MB, free: 9.918 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001284/0.2757, allocations: 0.8957 MB / 450.1 MB, free: 8.996 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 2.886e-06/0.2757, allocations: 0 / 450.1 MB, free: 8.996 MB / 366.1 MB Notification: Performance of matching and sorting (n=122): time 0.008068/0.2838, allocations: 3.552 MB / 453.6 MB, free: 5.418 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.618e-05/0.2839, allocations: 179.2 kB / 453.8 MB, free: 5.203 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/0.2853, allocations: 1.173 MB / 455 MB, free: 4.012 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.949e-05/0.2854, allocations: 69.67 kB / 455 MB, free: 3.938 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005531/0.286, allocations: 0.7415 MB / 455.8 MB, free: 3.184 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002861/0.2862, allocations: 370.9 kB / 456.2 MB, free: 2.816 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003628/0.2866, allocations: 254.8 kB / 456.4 MB, free: 2.562 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.2868, allocations: 353.9 kB / 456.7 MB, free: 2.211 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.2878, allocations: 0.6657 MB / 457.4 MB, free: 1.543 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/0.289, allocations: 0.95 MB / 458.4 MB, free: 492 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002043/0.291, allocations: 1.488 MB / 459.8 MB, free: 14.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-05/0.2911, allocations: 4 kB / 459.9 MB, free: 14.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.002915/0.294, allocations: 1.984 MB / 461.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.294, allocations: 12 kB / 461.8 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.294, allocations: 4 kB / 461.9 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/0.2951, allocations: 497.3 kB / 462.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006395/0.2958, allocations: 179.7 kB / 462.5 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007087/0.3029, allocations: 5.688 MB / 468.2 MB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007812/0.3037, allocations: 170.8 kB / 468.4 MB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.972e-05/0.3038, allocations: 48 kB / 468.4 MB, free: 6.172 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001659/0.3054, allocations: 1.221 MB / 469.6 MB, free: 4.945 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001164/0.3066, allocations: 0.942 MB / 470.6 MB, free: 3.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001925/0.3085, allocations: 1.468 MB / 472 MB, free: 2.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.897e-06/0.3085, allocations: 0 / 472 MB, free: 2.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.00282/0.3114, allocations: 1.953 MB / 474 MB, free: 372 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.3114, allocations: 8.125 kB / 474 MB, free: 364 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.3114, allocations: 16 kB / 474 MB, free: 348 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009928/0.3124, allocations: 488.3 kB / 474.5 MB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006072/0.313, allocations: 179.7 kB / 474.7 MB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007028/0.3201, allocations: 5.681 MB / 480.4 MB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008485/0.3209, allocations: 151.1 kB / 480.5 MB, free: 9.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.285e-05/0.321, allocations: 48 kB / 480.6 MB, free: 9.668 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 57 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition9,$whenCondition8,$whenCondition7,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,pulse2m.fire_n[3],pulse2m.fire_n[2],pulse2m.fire_n[1],pulse2m.fire_p[3],pulse2m.fire_p[2],pulse2m.fire_p[1],pulse2m.twomPulse.timerNegative[3].entryTime,$PRE.pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,$PRE.pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,$PRE.pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,$PRE.pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,$PRE.pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[1].entryTime,$PRE.pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.positiveThreshold[1].y,rectifier.pre[3].y,rectifier.pre[3].u,$PRE.rectifier.pre[3].u,rectifier.pre[2].y,rectifier.pre[2].u,$PRE.rectifier.pre[2].u,rectifier.pre[1].y,rectifier.pre[1].u,$PRE.rectifier.pre[1].u,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.thyristor_p.idealThyristor[3].off,$PRE.rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,$PRE.rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,$PRE.rectifier.thyristor_p.idealThyristor[1].off,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 128 * 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.0003561/0.3214, allocations: 308 kB / 480.9 MB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002169/0.3216, allocations: 134.3 kB / 481 MB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003577/0.322, allocations: 172.6 kB / 481.2 MB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.322, allocations: 3.984 kB / 481.2 MB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.322, allocations: 0 / 481.2 MB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005942/0.3226, allocations: 383.1 kB / 481.5 MB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001769/0.3228, allocations: 31.98 kB / 481.6 MB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006024/0.3234, allocations: 83.91 kB / 481.6 MB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002772/0.3237, allocations: 128.8 kB / 481.8 MB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003783/0.3275, allocations: 2.02 MB / 483.8 MB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003378/0.3309, allocations: 2.483 MB / 486.3 MB, free: 3.883 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009671/0.3319, allocations: 0.7221 MB / 487 MB, free: 3.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00106/0.3329, allocations: 0.8076 MB / 487.8 MB, free: 2.344 MB / 398.1 MB Notification: Performance of Backend: time 4.51e-07/0.3329, allocations: 0 / 487.8 MB, free: 2.344 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004521/0.3375, allocations: 2.628 MB / 490.4 MB, free: 15.69 MB / 414.1 MB Notification: Performance of SimCode: time 0.005573/0.3431, allocations: 3.826 MB / 494.3 MB, free: 11.81 MB / 414.1 MB Notification: Performance of Templates: time 0.04824/0.3913, allocations: 32.6 MB / 0.5145 GB, free: 11.44 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse.pipe 2>&1)