Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse.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.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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 112.2 kB / 17.75 MB, free: 5.309 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.001091/0.001091, allocations: 185.3 kB / 18.67 MB, free: 4.395 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.304/1.304, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009942/0.0009943, allocations: 47.92 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2107, allocations: 49.44 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse): time 0.007312/0.218, allocations: 6.067 MB / 407.5 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003578/0.2216, allocations: 1.828 MB / 409.3 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000969/0.2226, allocations: 39.81 kB / 409.4 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.2237, allocations: 313.7 kB / 409.7 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001249/0.225, allocations: 441.4 kB / 410.1 MB, free: 168 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008071/0.2258, allocations: 371.4 kB / 410.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002138/0.2279, allocations: 2.259 MB / 412.7 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001789/0.2297, allocations: 1.803 MB / 414.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009335/0.2307, allocations: 0.993 MB / 415.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00109/0.2318, allocations: 1.097 MB / 416.6 MB, free: 9.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003118/0.2321, allocations: 268 kB / 416.9 MB, free: 9.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003691/0.2325, allocations: 275.9 kB / 417.2 MB, free: 9.051 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005108/0.233, allocations: 0.6506 MB / 417.8 MB, free: 8.398 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009649/0.234, allocations: 1.12 MB / 418.9 MB, free: 7.273 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002484/0.2365, allocations: 3.299 MB / 422.2 MB, free: 3.965 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2365, allocations: 4 kB / 422.2 MB, free: 3.961 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2365, allocations: 4 kB / 422.2 MB, free: 3.957 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.196e-05/0.2365, allocations: 0 / 422.2 MB, free: 3.957 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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.004072/0.2406, allocations: 2.399 MB / 424.6 MB, free: 1.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.2406, allocations: 8.031 kB / 424.6 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003162/0.241, allocations: 214.4 kB / 424.9 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/0.243, allocations: 1.309 MB / 426.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.621e-05/0.2431, allocations: 139.5 kB / 426.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000237/0.2434, allocations: 172.1 kB / 426.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00353/0.2469, allocations: 2.345 MB / 428.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.978e-05/0.2469, allocations: 3.984 kB / 428.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/0.2471, allocations: 72 kB / 428.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.606e-05/0.2472, allocations: 67.27 kB / 429 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003143/0.2504, allocations: 2.035 MB / 431 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009092/0.2595, allocations: 6.599 MB / 437.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002189/0.2617, allocations: 1.614 MB / 439.2 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001982/0.2637, allocations: 1.205 MB / 440.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.241e-05/0.2637, allocations: 20.92 kB / 440.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001303/0.265, allocations: 0.9034 MB / 441.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 2.785e-06/0.2651, allocations: 2.188 kB / 441.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of matching and sorting (n=122): time 0.008251/0.2733, allocations: 3.544 MB / 444.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.938e-05/0.2734, allocations: 175.2 kB / 445 MB, free: 12.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/0.2748, allocations: 1.153 MB / 446.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.2749, allocations: 73.67 kB / 446.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005154/0.2754, allocations: 0.7375 MB / 447 MB, free: 10.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002784/0.2757, allocations: 374.8 kB / 447.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003585/0.2761, allocations: 254.8 kB / 447.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.2762, allocations: 357.9 kB / 448 MB, free: 9.785 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.2772, allocations: 0.6657 MB / 448.6 MB, free: 9.117 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/0.2784, allocations: 0.9614 MB / 449.6 MB, free: 8.043 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002007/0.2805, allocations: 1.484 MB / 451.1 MB, free: 6.465 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.2805, allocations: 0 / 451.1 MB, free: 6.465 MB / 366.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003008/0.2835, allocations: 1.976 MB / 453.1 MB, free: 4.477 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.2835, allocations: 8.75 kB / 453.1 MB, free: 4.469 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.2835, allocations: 8 kB / 453.1 MB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.2846, allocations: 492.3 kB / 453.6 MB, free: 3.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006699/0.2853, allocations: 183.7 kB / 453.7 MB, free: 3.797 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007331/0.2926, allocations: 5.699 MB / 459.4 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008592/0.2935, allocations: 166.9 kB / 459.6 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.896e-05/0.2936, allocations: 48 kB / 459.6 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001727/0.2953, allocations: 1.217 MB / 460.9 MB, free: 12.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00115/0.2965, allocations: 0.9305 MB / 461.8 MB, free: 11.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001986/0.2985, allocations: 1.468 MB / 463.3 MB, free: 9.914 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.781e-06/0.2985, allocations: 4 kB / 463.3 MB, free: 9.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.002885/0.3014, allocations: 1.952 MB / 465.2 MB, free: 7.945 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3014, allocations: 8 kB / 465.2 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.3015, allocations: 8 kB / 465.2 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.3025, allocations: 489 kB / 465.7 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006439/0.3031, allocations: 175.7 kB / 465.9 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007176/0.3103, allocations: 5.682 MB / 471.6 MB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008736/0.3112, allocations: 167 kB / 471.7 MB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.714e-05/0.3113, allocations: 48 kB / 471.8 MB, free: 1.242 MB / 382.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.0003396/0.3116, allocations: 297.9 kB / 472.1 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.3119, allocations: 134.3 kB / 472.2 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003932/0.3123, allocations: 172.5 kB / 472.4 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.3123, allocations: 3.984 kB / 472.4 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3123, allocations: 0 / 472.4 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006374/0.3129, allocations: 371.2 kB / 472.7 MB, free: 264 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001999/0.3131, allocations: 31.98 kB / 472.8 MB, free: 232 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006633/0.3138, allocations: 87.91 kB / 472.8 MB, free: 144 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002634/0.3141, allocations: 128.8 kB / 473 MB, free: 16 kB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003873/0.318, allocations: 2.036 MB / 475 MB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003365/0.3213, allocations: 2.467 MB / 477.5 MB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009892/0.3223, allocations: 0.7299 MB / 478.2 MB, free: 10.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001049/0.3234, allocations: 0.7915 MB / 479 MB, free: 9.953 MB / 398.1 MB Notification: Performance of Backend: time 2.9e-07/0.3234, allocations: 0 / 479 MB, free: 9.953 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00429/0.3277, allocations: 2.625 MB / 481.6 MB, free: 7.305 MB / 398.1 MB Notification: Performance of SimCode: time 0.005378/0.3331, allocations: 3.809 MB / 485.4 MB, free: 3.438 MB / 398.1 MB Notification: Performance of Templates: time 0.04763/0.3807, allocations: 32.44 MB / 0.5057 GB, free: 3.266 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse.pipe 2>&1)