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.001082/0.001082, allocations: 112.1 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001175/0.001175, allocations: 214.8 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2239, allocations: 50.55 MB / 410 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse): time 0.007159/0.2311, allocations: 6.095 MB / 416.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003407/0.2345, allocations: 1.889 MB / 418 MB, free: 9.539 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000475/0.235, allocations: 43.75 kB / 418 MB, free: 9.496 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007966/0.2359, allocations: 313.7 kB / 418.3 MB, free: 9.188 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009268/0.2368, allocations: 445.4 kB / 418.7 MB, free: 8.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006961/0.2375, allocations: 387.5 kB / 419.1 MB, free: 8.371 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002048/0.2396, allocations: 2.259 MB / 421.4 MB, free: 6.105 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001789/0.2414, allocations: 1.807 MB / 423.2 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.2425, allocations: 0.993 MB / 424.2 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00113/0.2436, allocations: 1.109 MB / 425.3 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003136/0.244, allocations: 267.9 kB / 425.5 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004092/0.2444, allocations: 276 kB / 425.8 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005262/0.2449, allocations: 0.6545 MB / 426.5 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001026/0.2459, allocations: 1.124 MB / 427.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002903/0.2489, allocations: 3.344 MB / 430.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2489, allocations: 0 / 430.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2489, allocations: 0 / 430.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.128e-05/0.2489, allocations: 0 / 430.9 MB, free: 12.47 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.004011/0.2529, allocations: 2.472 MB / 433.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.253, allocations: 12.03 kB / 433.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005745/0.2536, allocations: 255.5 kB / 433.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001892/0.2555, allocations: 1.334 MB / 435 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.2556, allocations: 139.6 kB / 435.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002369/0.2558, allocations: 164.1 kB / 435.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00348/0.2593, allocations: 2.349 MB / 437.6 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.85e-05/0.2594, allocations: 11.89 kB / 437.7 MB, free: 5.578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001531/0.2595, allocations: 71.98 kB / 437.7 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.761e-05/0.2596, allocations: 71.27 kB / 437.8 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003214/0.2628, allocations: 2.035 MB / 439.8 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009718/0.2725, allocations: 6.621 MB / 446.5 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002342/0.2749, allocations: 1.618 MB / 448.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001958/0.2769, allocations: 1.211 MB / 449.3 MB, free: 9.824 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.489e-05/0.277, allocations: 16.98 kB / 449.3 MB, free: 9.809 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001372/0.2784, allocations: 0.9034 MB / 450.2 MB, free: 8.879 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.216e-06/0.2784, allocations: 0 / 450.2 MB, free: 8.879 MB / 366.1 MB Notification: Performance of matching and sorting (n=122): time 0.008455/0.2868, allocations: 3.553 MB / 453.8 MB, free: 5.301 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.404e-05/0.2869, allocations: 179.2 kB / 453.9 MB, free: 5.086 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/0.2886, allocations: 1.177 MB / 455.1 MB, free: 3.891 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000116/0.2888, allocations: 65.69 kB / 455.2 MB, free: 3.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000627/0.2894, allocations: 0.7666 MB / 455.9 MB, free: 3.043 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003217/0.2897, allocations: 392.8 kB / 456.3 MB, free: 2.656 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004/0.2901, allocations: 254.8 kB / 456.6 MB, free: 2.402 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.2903, allocations: 357.9 kB / 456.9 MB, free: 2.047 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.2914, allocations: 0.6618 MB / 457.6 MB, free: 1.383 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/0.2926, allocations: 0.9539 MB / 458.5 MB, free: 324 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002117/0.2947, allocations: 1.492 MB / 460 MB, free: 14.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.2947, allocations: 4 kB / 460 MB, free: 14.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003134/0.2979, allocations: 1.98 MB / 462 MB, free: 12.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.2979, allocations: 8.75 kB / 462 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.2979, allocations: 8 kB / 462 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/0.2991, allocations: 497.2 kB / 462.5 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006681/0.2998, allocations: 179.7 kB / 462.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007363/0.3072, allocations: 5.692 MB / 468.4 MB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000958/0.3081, allocations: 179.1 kB / 468.6 MB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.3083, allocations: 44.12 kB / 468.6 MB, free: 6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001895/0.3102, allocations: 1.217 MB / 469.8 MB, free: 4.777 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001226/0.3114, allocations: 0.9458 MB / 470.8 MB, free: 3.719 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00205/0.3135, allocations: 1.468 MB / 472.2 MB, free: 2.156 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.313e-06/0.3135, allocations: 4 kB / 472.2 MB, free: 2.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.003116/0.3166, allocations: 1.961 MB / 474.2 MB, free: 184 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3166, allocations: 11.98 kB / 474.2 MB, free: 172 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.3167, allocations: 8 kB / 474.2 MB, free: 164 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.3177, allocations: 488.7 kB / 474.7 MB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006361/0.3184, allocations: 171.7 kB / 474.9 MB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0071/0.3255, allocations: 5.69 MB / 480.6 MB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009565/0.3265, allocations: 167.3 kB / 480.7 MB, free: 9.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.371e-05/0.3266, allocations: 44 kB / 480.8 MB, free: 9.477 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.0003493/0.3269, allocations: 312 kB / 481.1 MB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002557/0.3272, allocations: 139.1 kB / 481.2 MB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003579/0.3276, allocations: 172.7 kB / 481.4 MB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.3276, allocations: 3.984 kB / 481.4 MB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3276, allocations: 0 / 481.4 MB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000582/0.3282, allocations: 375.9 kB / 481.7 MB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002003/0.3284, allocations: 31.98 kB / 481.8 MB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006327/0.329, allocations: 83.91 kB / 481.9 MB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002746/0.3293, allocations: 124.8 kB / 482 MB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003811/0.3331, allocations: 2.032 MB / 484 MB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003438/0.3366, allocations: 2.488 MB / 486.5 MB, free: 3.68 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009986/0.3376, allocations: 0.726 MB / 487.2 MB, free: 2.953 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001104/0.3387, allocations: 0.8038 MB / 488 MB, free: 2.141 MB / 398.1 MB Notification: Performance of Backend: time 4.2e-07/0.3387, allocations: 3.938 kB / 488 MB, free: 2.137 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004595/0.3433, allocations: 2.64 MB / 490.7 MB, free: 15.47 MB / 414.1 MB Notification: Performance of SimCode: time 0.005866/0.3492, allocations: 3.889 MB / 494.6 MB, free: 11.53 MB / 414.1 MB Notification: Performance of Templates: time 0.04877/0.398, allocations: 32.61 MB / 0.5148 GB, free: 11.15 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)