Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001092/0.001092, allocations: 112.1 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001211/0.001211, allocations: 206.8 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.333/1.333, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001175, allocations: 63.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2145, allocations: 50.54 MB / 410 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R): time 0.005687/0.2202, allocations: 4.631 MB / 414.6 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.2223, allocations: 1.391 MB / 416 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000266/0.2226, allocations: 19.88 kB / 416 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.2229, allocations: 126.8 kB / 416.2 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004017/0.2233, allocations: 186.4 kB / 416.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005372/0.2239, allocations: 295.5 kB / 416.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007668/0.2246, allocations: 0.8851 MB / 417.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005242/0.2252, allocations: 401.4 kB / 417.9 MB, free: 9.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003607/0.2255, allocations: 326.7 kB / 418.2 MB, free: 9.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003703/0.2259, allocations: 350.3 kB / 418.6 MB, free: 8.977 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.2261, allocations: 84 kB / 418.6 MB, free: 8.895 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.2262, allocations: 84 kB / 418.7 MB, free: 8.812 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.2264, allocations: 195.4 kB / 418.9 MB, free: 8.621 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003065/0.2267, allocations: 374.1 kB / 419.3 MB, free: 8.254 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008153/0.2275, allocations: 0.9589 MB / 420.2 MB, free: 7.293 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2275, allocations: 0 / 420.2 MB, free: 7.293 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2275, allocations: 0 / 420.2 MB, free: 7.293 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.2275, allocations: 0 / 420.2 MB, free: 7.293 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001663/0.2292, allocations: 1.022 MB / 421.3 MB, free: 6.223 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.2293, allocations: 12.03 kB / 421.3 MB, free: 6.211 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003124/0.2296, allocations: 95.97 kB / 421.4 MB, free: 6.117 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006853/0.2303, allocations: 0.495 MB / 421.9 MB, free: 5.582 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.09e-05/0.2303, allocations: 49.62 kB / 421.9 MB, free: 5.535 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.793e-05/0.2304, allocations: 64.38 kB / 422 MB, free: 5.473 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.2315, allocations: 0.6625 MB / 422.6 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.2315, allocations: 0 / 422.6 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.005e-05/0.2316, allocations: 24 kB / 422.7 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.2316, allocations: 19.94 kB / 422.7 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000906/0.2325, allocations: 485 kB / 423.2 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003108/0.2356, allocations: 2.244 MB / 425.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007744/0.2364, allocations: 471.5 kB / 425.9 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005692/0.237, allocations: 280.7 kB / 426.1 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.342e-05/0.237, allocations: 4 kB / 426.1 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005515/0.2376, allocations: 340.3 kB / 426.5 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 1.963e-06/0.2376, allocations: 0 / 426.5 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002014/0.2396, allocations: 0.8594 MB / 427.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.507e-05/0.2397, allocations: 166.6 kB / 427.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004879/0.2402, allocations: 461.8 kB / 427.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.073e-05/0.2403, allocations: 49.62 kB / 428 MB, free: 15.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.2405, allocations: 320.3 kB / 428.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.2406, allocations: 142 kB / 428.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.2408, allocations: 106.2 kB / 428.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.2409, allocations: 370.8 kB / 428.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003615/0.2413, allocations: 187 kB / 429.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004622/0.2418, allocations: 345.6 kB / 429.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00075/0.2425, allocations: 0.4922 MB / 429.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.2425, allocations: 4 kB / 429.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001057/0.2436, allocations: 0.6074 MB / 430.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2436, allocations: 8 kB / 430.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.2436, allocations: 4 kB / 430.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003148/0.244, allocations: 97.31 kB / 430.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/0.2443, allocations: 83.83 kB / 430.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/0.2463, allocations: 2.049 MB / 432.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003741/0.2467, allocations: 79.41 kB / 432.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/0.2467, allocations: 24 kB / 432.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004804/0.2472, allocations: 329.2 kB / 433.2 MB, free: 9.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004061/0.2476, allocations: 337.1 kB / 433.5 MB, free: 9.297 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006643/0.2483, allocations: 486 kB / 434 MB, free: 8.762 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.285e-06/0.2483, allocations: 0 / 434 MB, free: 8.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.0009592/0.2493, allocations: 0.5912 MB / 434.6 MB, free: 8.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.2493, allocations: 10.81 kB / 434.6 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2493, allocations: 7.938 kB / 434.6 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002474/0.2496, allocations: 92.75 kB / 434.7 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/0.2499, allocations: 79.83 kB / 434.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00188/0.2518, allocations: 2.053 MB / 436.8 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003728/0.2522, allocations: 59.66 kB / 436.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.2522, allocations: 20 kB / 436.9 MB, free: 5.699 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 25 (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_n.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_p.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 (59): * Single equations (assignments): 58 * 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 {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001803/0.2524, allocations: 244.2 kB / 437.1 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.921e-05/0.2525, allocations: 59.22 kB / 437.2 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.2526, allocations: 65.5 kB / 437.3 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.2526, allocations: 0 / 437.3 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2526, allocations: 0 / 437.3 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/0.2528, allocations: 172.3 kB / 437.4 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.899e-05/0.2529, allocations: 12 kB / 437.4 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002971/0.2532, allocations: 43.95 kB / 437.5 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.2533, allocations: 32.39 kB / 437.5 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001339/0.2547, allocations: 0.6988 MB / 438.2 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001293/0.256, allocations: 0.9501 MB / 439.2 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003671/0.2564, allocations: 231.2 kB / 439.4 MB, free: 3.156 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003317/0.2567, allocations: 319.1 kB / 439.7 MB, free: 2.844 MB / 350.1 MB Notification: Performance of Backend: time 4.81e-07/0.2567, allocations: 0 / 439.7 MB, free: 2.844 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001804/0.2585, allocations: 0.9697 MB / 440.7 MB, free: 1.844 MB / 350.1 MB Notification: Performance of SimCode: time 0.001759/0.2603, allocations: 1.577 MB / 442.3 MB, free: 224 kB / 350.1 MB Notification: Performance of Templates: time 0.01639/0.2767, allocations: 10.16 MB / 452.4 MB, free: 6.184 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_R/ThyristorCenterTap2Pulse_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches