Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.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.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulsem.twomPulse.timerNegative.1..entryTime|pulsem.twomPulse.timerNegative.2..entryTime|pulsem.twomPulse.timerNegative.3..entryTime|pulsem.twomPulse.timerPositive.1..entryTime|pulsem.twomPulse.timerPositive.2..entryTime|pulsem.twomPulse.timerPositive.3..entryTime|rectifier.thyristor.idealThyristor.1..off|rectifier.thyristor.idealThyristor.2..off|rectifier.thyristor.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulsem.twomPulse.timerNegative.1..entryTime|pulsem.twomPulse.timerNegative.2..entryTime|pulsem.twomPulse.timerNegative.3..entryTime|pulsem.twomPulse.timerPositive.1..entryTime|pulsem.twomPulse.timerPositive.2..entryTime|pulsem.twomPulse.timerPositive.3..entryTime|rectifier.thyristor.idealThyristor.1..off|rectifier.thyristor.idealThyristor.2..off|rectifier.thyristor.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001353/0.001353, allocations: 114.8 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.001693/0.001693, allocations: 208 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.325/1.325, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 63.89 kB / 359.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.225, allocations: 50.54 MB / 410 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic): time 0.006302/0.2313, allocations: 5.231 MB / 415.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002599/0.234, allocations: 1.664 MB / 416.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003291/0.2343, allocations: 27.88 kB / 416.9 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000372/0.2347, allocations: 202.3 kB / 417.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007745/0.2355, allocations: 329.9 kB / 417.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005394/0.236, allocations: 323.5 kB / 417.8 MB, free: 9.719 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001479/0.2375, allocations: 1.718 MB / 419.5 MB, free: 7.996 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001451/0.239, allocations: 1.429 MB / 420.9 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007579/0.2398, allocations: 0.7711 MB / 421.7 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000831/0.2406, allocations: 0.8404 MB / 422.5 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002576/0.2409, allocations: 212 kB / 422.7 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003039/0.2412, allocations: 211.9 kB / 422.9 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004135/0.2416, allocations: 0.5026 MB / 423.4 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007548/0.2424, allocations: 0.871 MB / 424.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001982/0.2443, allocations: 2.535 MB / 426.8 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.2444, allocations: 3.984 kB / 426.8 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2444, allocations: 0 / 426.8 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.744e-05/0.2444, allocations: 0 / 426.8 MB, free: 0.5703 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: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.003281/0.2477, allocations: 1.985 MB / 428.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.2477, allocations: 15.97 kB / 428.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005148/0.2483, allocations: 194.8 kB / 429 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/0.2499, allocations: 1.036 MB / 430.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.159e-05/0.25, allocations: 111 kB / 430.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/0.2502, allocations: 144.1 kB / 430.3 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002771/0.253, allocations: 1.848 MB / 432.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.281e-05/0.253, allocations: 3.906 kB / 432.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/0.2532, allocations: 56 kB / 432.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.399e-05/0.2533, allocations: 58.69 kB / 432.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002546/0.2558, allocations: 1.576 MB / 433.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007011/0.2628, allocations: 5.116 MB / 439 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001956/0.2648, allocations: 1.206 MB / 440.2 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/0.2659, allocations: 0.6469 MB / 440.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.562e-05/0.2659, allocations: 20.62 kB / 440.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001048/0.267, allocations: 0.6884 MB / 441.5 MB, free: 1.551 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 2.614e-06/0.267, allocations: 0 / 441.5 MB, free: 1.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=91): time 0.003753/0.2708, allocations: 1.891 MB / 443.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.897e-05/0.2709, allocations: 183.1 kB / 443.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.2719, allocations: 0.907 MB / 444.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.55e-05/0.272, allocations: 57.69 kB / 444.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004291/0.2725, allocations: 0.6241 MB / 445.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/0.2727, allocations: 276.2 kB / 445.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002829/0.273, allocations: 206.9 kB / 445.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.2731, allocations: 349.9 kB / 446 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008154/0.2739, allocations: 497.8 kB / 446.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009741/0.2749, allocations: 0.7545 MB / 447.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001634/0.2765, allocations: 1.144 MB / 448.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.2766, allocations: 0 / 448.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002173/0.2787, allocations: 1.419 MB / 449.8 MB, free: 8.945 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.2788, allocations: 15.88 kB / 449.8 MB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.2788, allocations: 7.984 kB / 449.8 MB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004921/0.2793, allocations: 228.8 kB / 450.1 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000602/0.2799, allocations: 171.7 kB / 450.2 MB, free: 8.527 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003149/0.2831, allocations: 3.021 MB / 453.2 MB, free: 5.367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006647/0.2837, allocations: 143 kB / 453.4 MB, free: 5.227 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.446e-05/0.2838, allocations: 36 kB / 453.4 MB, free: 5.191 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001292/0.2851, allocations: 0.9201 MB / 454.3 MB, free: 4.266 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009456/0.2861, allocations: 0.7428 MB / 455.1 MB, free: 3.414 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001537/0.2876, allocations: 1.117 MB / 456.2 MB, free: 2.191 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.417e-06/0.2876, allocations: 3.938 kB / 456.2 MB, free: 2.188 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization_lambda0): time 0.002128/0.2898, allocations: 1.403 MB / 457.6 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.2898, allocations: 8 kB / 457.6 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.2898, allocations: 8 kB / 457.6 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004406/0.2903, allocations: 224.9 kB / 457.8 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005944/0.2909, allocations: 168 kB / 458 MB, free: 384 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003152/0.294, allocations: 3.033 MB / 461 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006601/0.2947, allocations: 131.3 kB / 461.2 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.083e-05/0.2948, allocations: 36 kB / 461.2 MB, free: 13.04 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 48 (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,pulsem.fire_n[3],pulsem.fire_n[2],pulsem.fire_n[1],pulsem.fire_p[3],pulsem.fire_p[2],pulsem.fire_p[1],pulsem.twomPulse.timerNegative[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[1].y,rectifier.thyristor.idealThyristor[3].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.andCondition_p[3].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[1].y,$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 (118): * Single equations (assignments): 117 * 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 {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002947/0.2951, allocations: 299.9 kB / 461.5 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.2952, allocations: 102.8 kB / 461.6 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002492/0.2955, allocations: 122 kB / 461.7 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.2955, allocations: 11.97 kB / 461.7 MB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.2955, allocations: 4 kB / 461.7 MB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004513/0.296, allocations: 283.7 kB / 462 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.2961, allocations: 23.98 kB / 462 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005087/0.2966, allocations: 67.92 kB / 462.1 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002266/0.2968, allocations: 108.8 kB / 462.2 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002596/0.2994, allocations: 1.45 MB / 463.6 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002659/0.3021, allocations: 1.971 MB / 465.6 MB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008148/0.3029, allocations: 0.5737 MB / 466.2 MB, free: 7.988 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007286/0.3037, allocations: 0.6239 MB / 466.8 MB, free: 7.363 MB / 382.1 MB Notification: Performance of Backend: time 2.4e-07/0.3037, allocations: 0 / 466.8 MB, free: 7.363 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003159/0.3068, allocations: 1.841 MB / 468.7 MB, free: 5.492 MB / 382.1 MB Notification: Performance of SimCode: time 0.00388/0.3107, allocations: 2.968 MB / 471.6 MB, free: 2.473 MB / 382.1 MB Notification: Performance of Templates: time 0.03136/0.3421, allocations: 21.68 MB / 493.3 MB, free: 12.97 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.pipe 2>&1)