Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.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.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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 102.5 kB / 17.74 MB, free: 5.32 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.001741/0.001741, allocations: 197.2 kB / 18.67 MB, free: 4.395 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.307/1.307, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009692/0.0009692, allocations: 43.94 kB / 352 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2115, allocations: 49.44 MB / 401.5 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R): time 0.005592/0.2171, allocations: 4.606 MB / 406.1 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002292/0.2194, allocations: 1.317 MB / 407.4 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004096/0.2199, allocations: 15.94 kB / 407.4 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003357/0.2202, allocations: 130.7 kB / 407.5 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005229/0.2207, allocations: 190.5 kB / 407.7 MB, free: 2.594 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005571/0.2213, allocations: 283.6 kB / 408 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008398/0.2222, allocations: 0.8579 MB / 408.9 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005462/0.2227, allocations: 398.8 kB / 409.2 MB, free: 1.055 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003746/0.2231, allocations: 322.8 kB / 409.6 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004008/0.2235, allocations: 346.3 kB / 409.9 MB, free: 408 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.2237, allocations: 84 kB / 410 MB, free: 324 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.2238, allocations: 80 kB / 410.1 MB, free: 244 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000177/0.224, allocations: 183.4 kB / 410.2 MB, free: 60 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003505/0.2243, allocations: 390 kB / 410.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007999/0.2251, allocations: 0.9341 MB / 411.6 MB, free: 14.74 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2252, allocations: 0 / 411.6 MB, free: 14.74 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2252, allocations: 3.938 kB / 411.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.2252, allocations: 4 kB / 411.6 MB, free: 14.73 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.001759/0.2269, allocations: 1.006 MB / 412.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.227, allocations: 8.031 kB / 412.6 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.2271, allocations: 83.98 kB / 412.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006426/0.2278, allocations: 490.9 kB / 413.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.52e-05/0.2278, allocations: 45.69 kB / 413.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.198e-05/0.2279, allocations: 68.38 kB / 413.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.2291, allocations: 0.6624 MB / 413.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.2291, allocations: 0 / 413.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.907e-05/0.2292, allocations: 20 kB / 413.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.2292, allocations: 16 kB / 413.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009503/0.2301, allocations: 492.9 kB / 414.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003157/0.2333, allocations: 2.217 MB / 416.6 MB, free: 9.426 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007934/0.2341, allocations: 465.6 kB / 417.1 MB, free: 8.961 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005965/0.2347, allocations: 282.7 kB / 417.4 MB, free: 8.684 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.2348, allocations: 11.98 kB / 417.4 MB, free: 8.672 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000578/0.2354, allocations: 336.3 kB / 417.7 MB, free: 8.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 2.024e-06/0.2354, allocations: 3.938 kB / 417.7 MB, free: 8.316 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002047/0.2374, allocations: 0.8555 MB / 418.6 MB, free: 7.438 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.759e-05/0.2375, allocations: 166.6 kB / 418.7 MB, free: 7.238 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004824/0.238, allocations: 453.8 kB / 419.2 MB, free: 6.789 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.957e-05/0.2381, allocations: 41.7 kB / 419.2 MB, free: 6.742 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.2383, allocations: 308.5 kB / 419.5 MB, free: 6.434 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.2384, allocations: 149.9 kB / 419.7 MB, free: 6.285 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.2386, allocations: 110.1 kB / 419.8 MB, free: 6.172 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.2387, allocations: 358.8 kB / 420.1 MB, free: 5.812 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003808/0.2391, allocations: 191 kB / 420.3 MB, free: 5.621 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004633/0.2396, allocations: 357.6 kB / 420.7 MB, free: 5.203 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000743/0.2403, allocations: 0.4884 MB / 421.1 MB, free: 4.652 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2403, allocations: 0 / 421.1 MB, free: 4.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001071/0.2414, allocations: 0.6193 MB / 421.8 MB, free: 4.023 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.2414, allocations: 8.031 kB / 421.8 MB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.2414, allocations: 8 kB / 421.8 MB, free: 4.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003206/0.2418, allocations: 92.73 kB / 421.9 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/0.2421, allocations: 87.83 kB / 422 MB, free: 3.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001958/0.2441, allocations: 2.045 MB / 424 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003847/0.2445, allocations: 67.5 kB / 424.1 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.2445, allocations: 20 kB / 424.1 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004776/0.245, allocations: 333.1 kB / 424.4 MB, free: 1.227 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000415/0.2454, allocations: 333.4 kB / 424.7 MB, free: 0.832 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006399/0.2461, allocations: 478.2 kB / 425.2 MB, free: 312 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.047e-06/0.2461, allocations: 3.984 kB / 425.2 MB, free: 308 kB / 334.1 MB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.0009769/0.2471, allocations: 0.5867 MB / 425.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.2471, allocations: 8 kB / 425.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2471, allocations: 4 kB / 425.8 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002523/0.2474, allocations: 101.5 kB / 425.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002923/0.2477, allocations: 75.84 kB / 426 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001876/0.2496, allocations: 2.045 MB / 428 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000388/0.25, allocations: 63.55 kB / 428.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/0.25, allocations: 28.06 kB / 428.1 MB, free: 13.24 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.0001704/0.2502, allocations: 232.1 kB / 428.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.636e-05/0.2503, allocations: 55.38 kB / 428.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.2504, allocations: 61.34 kB / 428.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.2504, allocations: 3.984 kB / 428.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.2504, allocations: 0 / 428.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002027/0.2506, allocations: 172.3 kB / 428.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.848e-05/0.2507, allocations: 16 kB / 428.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000306/0.251, allocations: 31.97 kB / 428.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.2511, allocations: 36.39 kB / 428.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001365/0.2525, allocations: 0.7064 MB / 429.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001304/0.2538, allocations: 0.9501 MB / 430.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003808/0.2542, allocations: 227.5 kB / 430.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003265/0.2546, allocations: 319.1 kB / 430.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of Backend: time 2.11e-07/0.2546, allocations: 0 / 430.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001772/0.2564, allocations: 0.9577 MB / 431.9 MB, free: 9.41 MB / 350.1 MB Notification: Performance of SimCode: time 0.001718/0.2581, allocations: 1.545 MB / 433.4 MB, free: 7.812 MB / 350.1 MB Notification: Performance of Templates: time 0.01605/0.2741, allocations: 10.05 MB / 443.5 MB, free: 13.89 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches