Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.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.001779/0.001779, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002047/0.002047, allocations: 209.7 kB / 24.49 MB, free: 3.965 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.444/1.444, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.HalfControlledBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002411/0.002411, allocations: 47.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2628, allocations: 53.37 MB / 432.4 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse): time 0.006857/0.2696, allocations: 4.477 MB / 436.9 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00289/0.2725, allocations: 1.43 MB / 438.3 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003287/0.2728, allocations: 27.81 kB / 438.3 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003478/0.2732, allocations: 138.7 kB / 438.4 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005321/0.2737, allocations: 206.2 kB / 438.6 MB, free: 448 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006271/0.2743, allocations: 327.5 kB / 439 MB, free: 120 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001052/0.2754, allocations: 0.9783 MB / 439.9 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005347/0.2759, allocations: 310.7 kB / 440.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004798/0.2764, allocations: 382.6 kB / 440.6 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004687/0.2769, allocations: 378.3 kB / 441 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.277, allocations: 92 kB / 441.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.2772, allocations: 95.98 kB / 441.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002125/0.2774, allocations: 211.3 kB / 441.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003562/0.2777, allocations: 342.3 kB / 441.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.2789, allocations: 1.073 MB / 442.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2789, allocations: 0 / 442.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2789, allocations: 0 / 442.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.2789, allocations: 0 / 442.8 MB, free: 12.27 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.002254/0.2812, allocations: 1.217 MB / 444 MB, free: 11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.2812, allocations: 11.97 kB / 444 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002737/0.2815, allocations: 104.4 kB / 444.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008161/0.2823, allocations: 469.3 kB / 444.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.047e-05/0.2824, allocations: 49.69 kB / 444.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.2825, allocations: 68.38 kB / 444.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.2839, allocations: 0.8097 MB / 445.5 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.2839, allocations: 7.938 kB / 445.5 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.858e-05/0.284, allocations: 28 kB / 445.5 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.284, allocations: 16 kB / 445.6 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.2851, allocations: 0.5399 MB / 446.1 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003699/0.2888, allocations: 2.239 MB / 448.3 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.2898, allocations: 0.5327 MB / 448.9 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006762/0.2905, allocations: 316.2 kB / 449.2 MB, free: 5.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.757e-05/0.2906, allocations: 8.438 kB / 449.2 MB, free: 5.652 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007136/0.2913, allocations: 398.5 kB / 449.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=59): time 2.264e-06/0.2913, allocations: 0 / 449.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=59): time 0.003019/0.2943, allocations: 1.032 MB / 450.6 MB, free: 4.195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.756e-05/0.2944, allocations: 144.9 kB / 450.7 MB, free: 4.023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005376/0.2949, allocations: 441.9 kB / 451.2 MB, free: 3.586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6e-05/0.295, allocations: 45.69 kB / 451.2 MB, free: 3.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/0.2952, allocations: 332.8 kB / 451.5 MB, free: 3.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/0.2954, allocations: 182.5 kB / 451.7 MB, free: 3.027 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/0.2956, allocations: 126.3 kB / 451.8 MB, free: 2.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.2958, allocations: 366.8 kB / 452.2 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004275/0.2962, allocations: 211.4 kB / 452.4 MB, free: 2.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005991/0.2968, allocations: 458.9 kB / 452.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008884/0.2977, allocations: 0.5251 MB / 453.4 MB, free: 1.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.2977, allocations: 3.938 kB / 453.4 MB, free: 1.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001288/0.299, allocations: 0.6969 MB / 454.1 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.299, allocations: 11.94 kB / 454.1 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.299, allocations: 4 kB / 454.1 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004992/0.2995, allocations: 153.2 kB / 454.2 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.2999, allocations: 87.83 kB / 454.3 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003119/0.303, allocations: 2.406 MB / 456.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003977/0.3034, allocations: 63.75 kB / 456.8 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-05/0.3034, allocations: 24 kB / 456.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005751/0.304, allocations: 361.3 kB / 457.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005572/0.3046, allocations: 435 kB / 457.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007908/0.3054, allocations: 0.5095 MB / 458.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.989e-06/0.3054, allocations: 4 kB / 458.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.00121/0.3066, allocations: 0.6815 MB / 458.8 MB, free: 11.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3066, allocations: 11.94 kB / 458.8 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3066, allocations: 4 kB / 458.8 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004352/0.307, allocations: 151.6 kB / 459 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/0.3073, allocations: 79.84 kB / 459 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003043/0.3104, allocations: 2.402 MB / 461.4 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004262/0.3108, allocations: 71.75 kB / 461.5 MB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/0.3109, allocations: 20 kB / 461.5 MB, free: 8.684 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 27 (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.diode_n1.off,rectifier.diode_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 (62): * Single equations (assignments): 61 * 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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002513/0.3111, allocations: 240.3 kB / 461.8 MB, free: 8.445 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.3112, allocations: 67.55 kB / 461.8 MB, free: 8.379 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.3114, allocations: 65.36 kB / 461.9 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.3114, allocations: 3.984 kB / 461.9 MB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3114, allocations: 0 / 461.9 MB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002448/0.3116, allocations: 107.5 kB / 462 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.088e-05/0.3117, allocations: 16 kB / 462 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003167/0.312, allocations: 31.97 kB / 462.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.3121, allocations: 48.41 kB / 462.1 MB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001731/0.3139, allocations: 0.7389 MB / 462.8 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001552/0.3154, allocations: 0.9844 MB / 463.8 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000427/0.3158, allocations: 227.8 kB / 464 MB, free: 6.145 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000359/0.3162, allocations: 295.1 kB / 464.3 MB, free: 5.852 MB / 366.1 MB Notification: Performance of Backend: time 4.11e-07/0.3162, allocations: 0 / 464.3 MB, free: 5.852 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002168/0.3184, allocations: 1.096 MB / 465.4 MB, free: 4.727 MB / 366.1 MB Notification: Performance of SimCode: time 0.00226/0.3206, allocations: 1.713 MB / 467.1 MB, free: 2.953 MB / 366.1 MB Notification: Performance of Templates: time 0.02227/0.3429, allocations: 13.2 MB / 480.3 MB, free: 6.004 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.707653604004008] Failed to read output from testmodel.py, exit status != 0: ['time', 'meanCurrent.x', 'meanVoltage.x', 'rootMeanSquareVoltage.mean.x', 'meanCurrent.y', 'meanVoltage.y', 'pulse2.twoPulse.timerNegative[1].entryTime', 'pulse2.twoPulse.timerPositive[1].entryTime', 'rectifier.thyristor_p1.off', 'rectifier.thyristor_p2.off', 'rootMeanSquareVoltage.mean.y'] 0.35363342500204453 0.36586713800000004 0.08387520600000001 Calling exit ...