Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001495, allocations: 106.6 kB / 18.4 MB, free: 4.66 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.001662/0.001662, allocations: 190.1 kB / 19.34 MB, free: 3.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.246/1.246, allocations: 205.1 MB / 225.2 MB, free: 12.18 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001099/0.0011, allocations: 47.92 kB / 329.3 MB, free: 3.234 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06921/0.07032, allocations: 46.62 MB / 375.9 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL): time 0.1472/0.2176, allocations: 4.929 MB / 380.8 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002677/0.2203, allocations: 1.589 MB / 382.4 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005683/0.2209, allocations: 28.31 kB / 382.4 MB, free: 9.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004209/0.2213, allocations: 187.1 kB / 382.6 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009064/0.2222, allocations: 306.2 kB / 382.9 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006078/0.2229, allocations: 299.8 kB / 383.2 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001635/0.2245, allocations: 1.578 MB / 384.8 MB, free: 8.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001404/0.2259, allocations: 1.345 MB / 386.1 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008341/0.2268, allocations: 0.6948 MB / 386.8 MB, free: 8.059 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/0.2279, allocations: 0.7865 MB / 387.6 MB, free: 7.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002644/0.2281, allocations: 191.7 kB / 387.8 MB, free: 7.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003292/0.2285, allocations: 190.6 kB / 388 MB, free: 7.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003556/0.2288, allocations: 490.8 kB / 388.5 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006622/0.2295, allocations: 0.815 MB / 389.3 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001757/0.2313, allocations: 2.362 MB / 391.6 MB, free: 6.016 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2313, allocations: 5.719 kB / 391.6 MB, free: 6.012 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2313, allocations: 0 / 391.6 MB, free: 6.012 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.2313, allocations: 0 / 391.6 MB, free: 6.012 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.002889/0.2342, allocations: 1.844 MB / 393.5 MB, free: 4.914 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.2343, allocations: 9.094 kB / 393.5 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002369/0.2345, allocations: 158.8 kB / 393.7 MB, free: 4.836 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.2357, allocations: 0.9239 MB / 394.6 MB, free: 4.277 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.162e-05/0.2358, allocations: 108.3 kB / 394.7 MB, free: 4.227 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.236, allocations: 127.2 kB / 394.8 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002549/0.2386, allocations: 1.723 MB / 396.5 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/0.2386, allocations: 2.609 kB / 396.5 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/0.2387, allocations: 51.69 kB / 396.6 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.652e-05/0.2388, allocations: 57.59 kB / 396.6 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002093/0.2409, allocations: 1.447 MB / 398.1 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005866/0.2468, allocations: 4.82 MB / 402.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.2482, allocations: 0.9782 MB / 403.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009414/0.2491, allocations: 0.59 MB / 404.5 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.634e-05/0.2492, allocations: 12.09 kB / 404.5 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009471/0.2501, allocations: 0.6261 MB / 405.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=83): time 2.424e-06/0.2501, allocations: 9.75 kB / 405.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=83): time 0.003264/0.2534, allocations: 1.677 MB / 406.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.225e-05/0.2535, allocations: 152.3 kB / 406.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009681/0.2545, allocations: 0.8551 MB / 407.8 MB, free: 12.9 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.858e-05/0.2546, allocations: 56.41 kB / 407.9 MB, free: 12.85 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003891/0.255, allocations: 0.5822 MB / 408.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.2551, allocations: 247.6 kB / 408.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002674/0.2554, allocations: 197.5 kB / 408.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.2555, allocations: 344.5 kB / 409.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006672/0.2562, allocations: 452 kB / 409.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007852/0.257, allocations: 0.6971 MB / 410.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.2584, allocations: 1.036 MB / 411.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.2584, allocations: 3.625 kB / 411.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001892/0.2603, allocations: 1.292 MB / 412.7 MB, free: 9.484 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.2603, allocations: 8.438 kB / 412.7 MB, free: 9.484 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.2603, allocations: 12.59 kB / 412.7 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004874/0.2608, allocations: 224.5 kB / 412.9 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005221/0.2614, allocations: 150.8 kB / 413.1 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003116/0.2645, allocations: 3.033 MB / 416.1 MB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006006/0.2651, allocations: 127.1 kB / 416.2 MB, free: 6.109 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.428e-05/0.2652, allocations: 36 kB / 416.3 MB, free: 6.074 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001102/0.2663, allocations: 0.8453 MB / 417.1 MB, free: 5.223 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007973/0.2671, allocations: 0.6842 MB / 417.8 MB, free: 4.434 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001285/0.2684, allocations: 1.014 MB / 418.8 MB, free: 3.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.306e-06/0.2684, allocations: 4 kB / 418.8 MB, free: 3.316 MB / 334.1 MB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.001845/0.2703, allocations: 1.291 MB / 420.1 MB, free: 2.012 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.2703, allocations: 9.094 kB / 420.1 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2703, allocations: 8 kB / 420.1 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004175/0.2707, allocations: 217.2 kB / 420.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005018/0.2712, allocations: 151.7 kB / 420.5 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003003/0.2742, allocations: 3.021 MB / 423.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005854/0.2748, allocations: 115.3 kB / 423.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.956e-05/0.2749, allocations: 43.94 kB / 423.7 MB, free: 14.32 MB / 350.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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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 (110): * Single equations (assignments): 109 * 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.0002258/0.2751, allocations: 285.5 kB / 423.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.2753, allocations: 94.88 kB / 424 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/0.2755, allocations: 113.1 kB / 424.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.2755, allocations: 7.984 kB / 424.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2755, allocations: 3.938 kB / 424.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003624/0.2759, allocations: 275.7 kB / 424.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/0.276, allocations: 20 kB / 424.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004556/0.2765, allocations: 59.92 kB / 424.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/0.2767, allocations: 104.4 kB / 424.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002361/0.2791, allocations: 1.313 MB / 425.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002357/0.2814, allocations: 1.767 MB / 427.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007263/0.2822, allocations: 0.5087 MB / 428.2 MB, free: 9.746 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006805/0.2829, allocations: 0.5771 MB / 428.8 MB, free: 9.172 MB / 350.1 MB Notification: Performance of Backend: time 2.11e-07/0.2829, allocations: 192 / 428.8 MB, free: 9.172 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002769/0.2856, allocations: 1.723 MB / 430.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of SimCode: time 0.003523/0.2892, allocations: 2.812 MB / 433.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of Templates: time 0.0272/0.3164, allocations: 19.74 MB / 453 MB, free: 0.8008 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.pipe 2>&1)