Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.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.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=150000,variableFilter="time|dcpm.inertiaRotor.phi|dcpm.inertiaRotor.w|inductor.i|lMains.i|meanCurrent.x|meanVoltage.x|pulse2.twoPulse.filter.1..firstOrder.y|pulse2.twoPulse.filter.1..transferFunction.1..x_scaled.1.|pulse2.twoPulse.filter.1..transferFunction.2..x_scaled.1.|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=150000,variableFilter="time|dcpm.inertiaRotor.phi|dcpm.inertiaRotor.w|inductor.i|lMains.i|meanCurrent.x|meanVoltage.x|pulse2.twoPulse.filter.1..firstOrder.y|pulse2.twoPulse.filter.1..transferFunction.1..x_scaled.1.|pulse2.twoPulse.filter.1..transferFunction.2..x_scaled.1.|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 106.3 kB / 17.74 MB, free: 5.336 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.0009986/0.0009987, allocations: 185.4 kB / 18.67 MB, free: 4.418 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.323/1.323, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001013/0.001013, allocations: 47.92 kB / 352 MB, free: 3.191 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2562, allocations: 49.44 MB / 401.5 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive): time 0.01103/0.2673, allocations: 10.49 MB / 411.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005499/0.2728, allocations: 3.366 MB / 415.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008012/0.2736, allocations: 39.88 kB / 415.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.2751, allocations: 0.683 MB / 416 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.2765, allocations: 0.6475 MB / 416.7 MB, free: 9.535 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.2775, allocations: 0.5579 MB / 417.2 MB, free: 8.977 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002276/0.2798, allocations: 2.572 MB / 419.8 MB, free: 6.395 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001214/0.281, allocations: 1.019 MB / 420.8 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.2821, allocations: 0.9576 MB / 421.8 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.2831, allocations: 0.9801 MB / 422.8 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000286/0.2834, allocations: 228 kB / 423 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004549/0.2838, allocations: 268 kB / 423.2 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004151/0.2843, allocations: 0.4905 MB / 423.7 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009027/0.2852, allocations: 1.022 MB / 424.8 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002399/0.2876, allocations: 2.811 MB / 427.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2876, allocations: 0 / 427.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2876, allocations: 0 / 427.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.48e-05/0.2876, allocations: 0 / 427.6 MB, free: 14.55 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: 373 * Number of variables: 373 Notification: Performance of Generate backend data structure: time 0.004582/0.2922, allocations: 2.428 MB / 430 MB, free: 12.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.2923, allocations: 11.97 kB / 430 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000637/0.2929, allocations: 246.5 kB / 430.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002454/0.2954, allocations: 1.369 MB / 431.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.297e-05/0.2955, allocations: 111.3 kB / 431.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/0.2957, allocations: 156.3 kB / 431.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002572/0.2983, allocations: 1.57 MB / 433.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.758e-05/0.2983, allocations: 11.88 kB / 433.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/0.2985, allocations: 67.97 kB / 433.5 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-05/0.2985, allocations: 40 kB / 433.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002127/0.3006, allocations: 1.139 MB / 434.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008177/0.3088, allocations: 6.147 MB / 440.9 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.3105, allocations: 0.9077 MB / 441.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/0.3117, allocations: 0.6212 MB / 442.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.207e-05/0.3118, allocations: 16.94 kB / 442.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001015/0.3128, allocations: 0.5679 MB / 443 MB, free: 14.67 MB / 366.1 MB Notification: Performance of pre-optimization done (n=94): time 2.755e-06/0.3128, allocations: 0 / 443 MB, free: 14.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.006518/0.3194, allocations: 3.199 MB / 446.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.639e-05/0.3195, allocations: 196.9 kB / 446.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/0.3211, allocations: 1.294 MB / 447.7 MB, free: 9.816 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.575e-05/0.3212, allocations: 49.7 kB / 447.7 MB, free: 9.762 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005924/0.3218, allocations: 0.7841 MB / 448.5 MB, free: 8.969 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002416/0.3221, allocations: 319.5 kB / 448.8 MB, free: 8.652 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003238/0.3224, allocations: 242.7 kB / 449 MB, free: 8.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3225, allocations: 357.9 kB / 449.4 MB, free: 8.055 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007638/0.3233, allocations: 425.9 kB / 449.8 MB, free: 7.633 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.3244, allocations: 0.8505 MB / 450.7 MB, free: 6.586 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/0.3261, allocations: 1.228 MB / 451.9 MB, free: 5.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.3261, allocations: 4 kB / 451.9 MB, free: 5.176 MB / 366.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002553/0.3287, allocations: 1.569 MB / 453.5 MB, free: 3.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.3287, allocations: 19.94 kB / 453.5 MB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.3287, allocations: 12 kB / 453.5 MB, free: 3.539 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005932/0.3293, allocations: 213.5 kB / 453.7 MB, free: 3.324 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009603/0.3303, allocations: 267.5 kB / 454 MB, free: 3.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00419/0.3345, allocations: 4.347 MB / 458.3 MB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009539/0.3355, allocations: 71.95 kB / 458.4 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.495e-05/0.3356, allocations: 59.98 kB / 458.4 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00123/0.3368, allocations: 0.7211 MB / 459.2 MB, free: 13.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009822/0.3378, allocations: 0.835 MB / 460 MB, free: 12.56 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001631/0.3394, allocations: 1.205 MB / 461.2 MB, free: 11.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.364e-05/0.3395, allocations: 4 kB / 461.2 MB, free: 11.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=166) (initialization_lambda0): time 0.00241/0.3419, allocations: 1.557 MB / 462.8 MB, free: 9.578 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.3419, allocations: 12 kB / 462.8 MB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.3419, allocations: 12 kB / 462.8 MB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005153/0.3425, allocations: 217.8 kB / 463 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009192/0.3434, allocations: 255.5 kB / 463.2 MB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00415/0.3475, allocations: 4.33 MB / 467.6 MB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000995/0.3486, allocations: 103.8 kB / 467.7 MB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.289e-05/0.3486, allocations: 52 kB / 467.7 MB, free: 4.332 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 29 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,pulse2.fire_n,pulse2.fire_p,pulse2.twoPulse.timerNegative[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,rectifier.thyristor_n2.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p1.off,rectifier.andCondition_n.y,rectifier.andCondition_p.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003005/0.3489, allocations: 287.9 kB / 468 MB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/0.3491, allocations: 138.3 kB / 468.1 MB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002291/0.3514, allocations: 1.229 MB / 469.4 MB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.3515, allocations: 3.984 kB / 469.4 MB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3515, allocations: 0 / 469.4 MB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004849/0.352, allocations: 319.1 kB / 469.7 MB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/0.3522, allocations: 24 kB / 469.7 MB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006634/0.3528, allocations: 67.92 kB / 469.8 MB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.353, allocations: 68.89 kB / 469.8 MB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002916/0.3559, allocations: 1.267 MB / 471.1 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002484/0.3584, allocations: 1.654 MB / 472.8 MB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007075/0.3591, allocations: 431.7 kB / 473.2 MB, free: 14.78 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001226/0.3604, allocations: 0.8801 MB / 474.1 MB, free: 13.9 MB / 398.1 MB Notification: Performance of Backend: time 2.4e-07/0.3604, allocations: 0 / 474.1 MB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003706/0.3641, allocations: 2.134 MB / 476.2 MB, free: 11.72 MB / 398.1 MB Notification: Performance of SimCode: time 0.004671/0.3688, allocations: 3.572 MB / 479.8 MB, free: 8.09 MB / 398.1 MB Notification: Performance of Templates: time 0.03824/0.407, allocations: 25.65 MB / 0.4936 GB, free: 14.71 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.pipe 2>&1)