Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 212.6 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.435/1.435, allocations: 230.6 MB / 258.3 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=75000,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.1.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=75000,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.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 47.92 kB / 379 MB, free: 2.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2149, allocations: 53.35 MB / 432.4 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive): time 0.01239/0.2273, allocations: 9.301 MB / 441.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006161/0.2335, allocations: 3.248 MB / 444.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008923/0.2344, allocations: 51.69 kB / 445 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001789/0.2362, allocations: 0.6168 MB / 445.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001736/0.2379, allocations: 0.6553 MB / 446.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.2392, allocations: 0.5851 MB / 446.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003071/0.2422, allocations: 2.634 MB / 449.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.2433, allocations: 0.6645 MB / 450.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001457/0.2448, allocations: 0.9926 MB / 451.1 MB, free: 3.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.246, allocations: 0.9956 MB / 452.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003125/0.2463, allocations: 228 kB / 452.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004937/0.2468, allocations: 276 kB / 452.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004454/0.2472, allocations: 494.3 kB / 453.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008792/0.2481, allocations: 0.8283 MB / 453.9 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003227/0.2513, allocations: 2.86 MB / 456.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2513, allocations: 0 / 456.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2513, allocations: 0 / 456.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.864e-05/0.2514, allocations: 0 / 456.8 MB, free: 14.16 MB / 366.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.005599/0.257, allocations: 2.82 MB / 459.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.257, allocations: 8.031 kB / 459.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008259/0.2578, allocations: 263.5 kB / 459.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00294/0.2608, allocations: 1.302 MB / 461.2 MB, free: 9.672 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.2609, allocations: 115.3 kB / 461.3 MB, free: 9.559 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002548/0.2611, allocations: 160.3 kB / 461.4 MB, free: 9.402 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002965/0.2641, allocations: 1.695 MB / 463.1 MB, free: 7.605 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.527e-05/0.2641, allocations: 7.938 kB / 463.1 MB, free: 7.598 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001406/0.2643, allocations: 64 kB / 463.2 MB, free: 7.535 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.383e-05/0.2643, allocations: 39.94 kB / 463.2 MB, free: 7.496 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002312/0.2666, allocations: 1.147 MB / 464.4 MB, free: 6.344 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008589/0.2752, allocations: 5.386 MB / 469.8 MB, free: 0.707 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.2769, allocations: 0.8547 MB / 470.6 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001249/0.2782, allocations: 0.5694 MB / 471.2 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.575e-05/0.2782, allocations: 13 kB / 471.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001154/0.2794, allocations: 0.6297 MB / 471.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=94): time 2.905e-06/0.2794, allocations: 0 / 471.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=97): time 0.006856/0.2862, allocations: 2.905 MB / 474.7 MB, free: 11.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.2864, allocations: 196.9 kB / 474.9 MB, free: 11.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/0.2881, allocations: 1.195 MB / 476.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-05/0.2881, allocations: 49.69 kB / 476.2 MB, free: 10.17 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007159/0.2889, allocations: 0.801 MB / 477 MB, free: 9.363 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003131/0.2892, allocations: 337.2 kB / 477.3 MB, free: 9.031 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003886/0.2896, allocations: 250.8 kB / 477.6 MB, free: 8.781 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.2897, allocations: 353.9 kB / 477.9 MB, free: 8.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008371/0.2906, allocations: 417.9 kB / 478.3 MB, free: 8.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.2919, allocations: 0.9764 MB / 479.3 MB, free: 6.812 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001953/0.2938, allocations: 1.24 MB / 480.5 MB, free: 5.387 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.2938, allocations: 8 kB / 480.5 MB, free: 5.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002707/0.2965, allocations: 1.483 MB / 482 MB, free: 3.887 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.2966, allocations: 12 kB / 482 MB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.2966, allocations: 12 kB / 482 MB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006243/0.2972, allocations: 217.8 kB / 482.2 MB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/0.2982, allocations: 271.5 kB / 482.5 MB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004497/0.3027, allocations: 4.032 MB / 486.5 MB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009216/0.3036, allocations: 91.95 kB / 486.6 MB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.675e-05/0.3037, allocations: 59.88 kB / 486.7 MB, free: 15 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001267/0.305, allocations: 0.7251 MB / 487.4 MB, free: 14.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001234/0.3062, allocations: 0.9647 MB / 488.4 MB, free: 13.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001792/0.308, allocations: 1.213 MB / 489.6 MB, free: 11.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.494e-06/0.308, allocations: 4 kB / 489.6 MB, free: 11.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=166) (initialization_lambda0): time 0.002609/0.3106, allocations: 1.471 MB / 491.1 MB, free: 10.2 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.3107, allocations: 19.88 kB / 491.1 MB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/0.3107, allocations: 12 kB / 491.1 MB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000591/0.3113, allocations: 212.7 kB / 491.3 MB, free: 9.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009587/0.3122, allocations: 259.5 kB / 491.6 MB, free: 9.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00466/0.3169, allocations: 4.045 MB / 495.6 MB, free: 5.465 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009716/0.3179, allocations: 83.89 kB / 495.7 MB, free: 5.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.226e-05/0.3179, allocations: 56 kB / 495.7 MB, free: 5.328 MB / 398.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,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n2.off,$PRE.rectifier.thyristor_n2.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n,$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.0003671/0.3183, allocations: 291.8 kB / 496 MB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001981/0.3185, allocations: 135.2 kB / 496.2 MB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002471/0.321, allocations: 1.134 MB / 497.3 MB, free: 3.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.638e-05/0.321, allocations: 7.969 kB / 497.3 MB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.321, allocations: 0 / 497.3 MB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005362/0.3215, allocations: 231 kB / 497.5 MB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000179/0.3217, allocations: 27.98 kB / 497.6 MB, free: 3.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006303/0.3223, allocations: 59.94 kB / 497.6 MB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.3225, allocations: 76.84 kB / 497.7 MB, free: 3.359 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003056/0.3256, allocations: 1.255 MB / 498.9 MB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002754/0.3283, allocations: 1.651 MB / 0.4889 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007429/0.3291, allocations: 411.7 kB / 0.4893 GB, free: 24 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001223/0.3303, allocations: 0.7914 MB / 0.49 GB, free: 15.22 MB / 414.1 MB Notification: Performance of Backend: time 2.4e-07/0.3303, allocations: 0 / 0.49 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003993/0.3343, allocations: 2.059 MB / 0.492 GB, free: 13.11 MB / 414.1 MB Notification: Performance of SimCode: time 0.005386/0.3397, allocations: 3.6 MB / 0.4956 GB, free: 9.449 MB / 414.1 MB Notification: Performance of Templates: time 0.04558/0.3852, allocations: 28.07 MB / 0.523 GB, free: 13.8 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.996085321996361] Failed to read output from testmodel.py, exit status != 0: ['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'] 0.393539538999903 0.5466278179999999 0.153724611 Calling exit ...