Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 114.5 kB / 18.41 MB, free: 4.695 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.001143/0.001143, allocations: 182.2 kB / 19.34 MB, free: 3.777 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.254/1.254, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001126/0.001126, allocations: 59.91 kB / 329.3 MB, free: 3.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07046/0.07159, allocations: 46.61 MB / 375.9 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL): time 0.1488/0.2204, allocations: 4.581 MB / 380.5 MB, free: 9.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00228/0.2227, allocations: 1.376 MB / 381.8 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002724/0.223, allocations: 16.09 kB / 381.9 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002623/0.2233, allocations: 128.4 kB / 382 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003826/0.2237, allocations: 186.7 kB / 382.2 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004389/0.2241, allocations: 281.7 kB / 382.4 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006317/0.2248, allocations: 0.8576 MB / 383.3 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005323/0.2253, allocations: 388.2 kB / 383.7 MB, free: 9.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003586/0.2257, allocations: 319.4 kB / 384 MB, free: 9.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000361/0.2261, allocations: 345.9 kB / 384.3 MB, free: 9 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.2262, allocations: 78.66 kB / 384.4 MB, free: 9 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.2263, allocations: 83.78 kB / 384.5 MB, free: 8.996 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.2265, allocations: 172.9 kB / 384.6 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002852/0.2268, allocations: 378.7 kB / 385 MB, free: 8.637 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007653/0.2275, allocations: 0.9158 MB / 385.9 MB, free: 8.285 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.2275, allocations: 0 / 385.9 MB, free: 8.285 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2275, allocations: 4 kB / 385.9 MB, free: 8.281 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.2276, allocations: 1.094 kB / 385.9 MB, free: 8.281 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001569/0.2291, allocations: 1.008 MB / 386.9 MB, free: 7.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.2292, allocations: 8.5 kB / 387 MB, free: 7.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.2293, allocations: 81.5 kB / 387 MB, free: 7.531 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006228/0.2299, allocations: 487.7 kB / 387.5 MB, free: 7.18 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.131e-05/0.23, allocations: 51.66 kB / 387.6 MB, free: 7.156 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.605e-05/0.2301, allocations: 61.94 kB / 387.6 MB, free: 7.137 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.2311, allocations: 0.6312 MB / 388.3 MB, free: 6.848 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.2312, allocations: 5.031 kB / 388.3 MB, free: 6.844 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-05/0.2312, allocations: 26.22 kB / 388.3 MB, free: 6.824 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.2313, allocations: 17.03 kB / 388.3 MB, free: 6.824 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008603/0.2321, allocations: 469.8 kB / 388.8 MB, free: 6.656 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002895/0.235, allocations: 2.208 MB / 391 MB, free: 5.254 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000695/0.2357, allocations: 432.8 kB / 391.4 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005578/0.2363, allocations: 271.8 kB / 391.7 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.2363, allocations: 8.719 kB / 391.7 MB, free: 4.969 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005421/0.2369, allocations: 328.9 kB / 392 MB, free: 4.812 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 1.964e-06/0.2369, allocations: 0 / 392 MB, free: 4.812 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.001764/0.2387, allocations: 0.787 MB / 392.8 MB, free: 4.445 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.2387, allocations: 138.1 kB / 392.9 MB, free: 4.289 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004507/0.2392, allocations: 451.8 kB / 393.3 MB, free: 4.066 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.452e-05/0.2392, allocations: 40.83 kB / 393.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.2394, allocations: 301.1 kB / 393.7 MB, free: 3.789 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.053e-05/0.2395, allocations: 142.9 kB / 393.8 MB, free: 3.684 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.2397, allocations: 120.2 kB / 393.9 MB, free: 3.617 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.598e-05/0.2397, allocations: 359.5 kB / 394.3 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003377/0.2401, allocations: 176.8 kB / 394.5 MB, free: 3.215 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003898/0.2405, allocations: 336.7 kB / 394.8 MB, free: 2.957 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006442/0.2411, allocations: 473.7 kB / 395.3 MB, free: 2.633 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.2411, allocations: 1.094 kB / 395.3 MB, free: 2.633 MB / 318.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009712/0.2421, allocations: 0.5966 MB / 395.9 MB, free: 2.363 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.2422, allocations: 7.609 kB / 395.9 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.2422, allocations: 4.688 kB / 395.9 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00028/0.2425, allocations: 87.03 kB / 396 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/0.2428, allocations: 89.28 kB / 396 MB, free: 2.316 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/0.2442, allocations: 1.935 MB / 398 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003597/0.2446, allocations: 66.16 kB / 398 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/0.2447, allocations: 22.34 kB / 398.1 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004482/0.2451, allocations: 326.4 kB / 398.4 MB, free: 336 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003493/0.2455, allocations: 321.6 kB / 398.7 MB, free: 80 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006669/0.2462, allocations: 460.7 kB / 399.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.306e-06/0.2462, allocations: 5.344 kB / 399.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0009443/0.2471, allocations: 0.5726 MB / 399.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.2471, allocations: 7.5 kB / 399.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2472, allocations: 10.52 kB / 399.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002212/0.2474, allocations: 76.2 kB / 399.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/0.2477, allocations: 86.23 kB / 399.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/0.2494, allocations: 1.932 MB / 401.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/0.2498, allocations: 61.95 kB / 401.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.639e-05/0.2499, allocations: 26.34 kB / 401.9 MB, free: 13.67 MB / 334.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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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 (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 {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001852/0.2501, allocations: 230.2 kB / 402.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.044e-05/0.2502, allocations: 54.48 kB / 402.2 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.2503, allocations: 59.84 kB / 402.3 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.2503, allocations: 2.438 kB / 402.3 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.2503, allocations: 5.375 kB / 402.3 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002145/0.2505, allocations: 171 kB / 402.4 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.181e-05/0.2506, allocations: 13.2 kB / 402.4 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002929/0.2509, allocations: 29.53 kB / 402.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.251, allocations: 37.73 kB / 402.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001319/0.2524, allocations: 0.6706 MB / 403.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001313/0.2537, allocations: 0.9216 MB / 404.1 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003825/0.2541, allocations: 211.6 kB / 404.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003464/0.2544, allocations: 311.3 kB / 404.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of Backend: time 5.61e-07/0.2544, allocations: 0 / 404.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001743/0.2562, allocations: 0.9193 MB / 405.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of SimCode: time 0.001922/0.2581, allocations: 1.58 MB / 407.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of Templates: time 0.01591/0.274, allocations: 9.539 MB / 416.6 MB, free: 5.09 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_RL/ThyristorCenterTap2Pulse_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches