Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001144/0.001144, allocations: 118.3 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001227/0.001227, allocations: 206.7 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 59.89 kB / 359.5 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2188, allocations: 50.54 MB / 410 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R): time 0.006085/0.2249, allocations: 4.919 MB / 414.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002587/0.2275, allocations: 1.461 MB / 416.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004667/0.228, allocations: 19.88 kB / 416.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003649/0.2284, allocations: 142.7 kB / 416.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000564/0.2289, allocations: 206.3 kB / 416.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006635/0.2296, allocations: 327.5 kB / 417.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009916/0.2306, allocations: 0.99 MB / 418 MB, free: 9.504 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006627/0.2313, allocations: 474.1 kB / 418.5 MB, free: 9.016 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000488/0.2318, allocations: 370.6 kB / 418.9 MB, free: 8.652 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004893/0.2323, allocations: 394.2 kB / 419.3 MB, free: 8.266 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.2324, allocations: 92 kB / 419.3 MB, free: 8.176 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.2326, allocations: 96 kB / 419.4 MB, free: 8.082 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002004/0.2328, allocations: 203.3 kB / 419.6 MB, free: 7.883 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004158/0.2332, allocations: 429.9 kB / 420.1 MB, free: 7.461 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.2343, allocations: 1.078 MB / 421.1 MB, free: 6.383 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2343, allocations: 0 / 421.1 MB, free: 6.383 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2343, allocations: 4 kB / 421.1 MB, free: 6.379 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.018e-05/0.2344, allocations: 0 / 421.1 MB, free: 6.379 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001876/0.2362, allocations: 1.118 MB / 422.3 MB, free: 5.207 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.2363, allocations: 8.031 kB / 422.3 MB, free: 5.199 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002616/0.2366, allocations: 100.4 kB / 422.4 MB, free: 5.102 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007103/0.2373, allocations: 0.5265 MB / 422.9 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.958e-05/0.2373, allocations: 49.69 kB / 422.9 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.2374, allocations: 76.3 kB / 423 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.2386, allocations: 0.7422 MB / 423.8 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.2387, allocations: 0 / 423.8 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.169e-05/0.2387, allocations: 28 kB / 423.8 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.2388, allocations: 19.98 kB / 423.8 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.2398, allocations: 0.5438 MB / 424.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003482/0.2433, allocations: 2.608 MB / 427 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009859/0.2443, allocations: 0.5743 MB / 427.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006303/0.2449, allocations: 345.5 kB / 427.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.037e-05/0.245, allocations: 4.438 kB / 427.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006123/0.2456, allocations: 389.6 kB / 428.2 MB, free: 15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=59): time 1.923e-06/0.2456, allocations: 0 / 428.2 MB, free: 15 MB / 350.1 MB Notification: Performance of matching and sorting (n=59): time 0.00279/0.2484, allocations: 1.113 MB / 429.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.28e-05/0.2485, allocations: 141.1 kB / 429.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005299/0.249, allocations: 486 kB / 430 MB, free: 13.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.165e-05/0.2491, allocations: 41.7 kB / 430 MB, free: 13.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.2493, allocations: 332.9 kB / 430.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.2495, allocations: 190.4 kB / 430.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/0.2496, allocations: 118.3 kB / 430.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.2498, allocations: 370.8 kB / 431 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003997/0.2502, allocations: 219.4 kB / 431.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005067/0.2507, allocations: 381.8 kB / 431.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008193/0.2516, allocations: 0.5337 MB / 432.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.2516, allocations: 7.938 kB / 432.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001206/0.2528, allocations: 0.7217 MB / 432.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.2528, allocations: 8 kB / 432.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.2528, allocations: 7.984 kB / 432.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004681/0.2533, allocations: 157.3 kB / 433 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/0.2536, allocations: 87.83 kB / 433.1 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00285/0.2565, allocations: 2.595 MB / 435.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003771/0.2569, allocations: 79.59 kB / 435.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/0.2569, allocations: 20 kB / 435.8 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005333/0.2575, allocations: 369.3 kB / 436.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004647/0.2579, allocations: 377.8 kB / 436.5 MB, free: 6.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007254/0.2587, allocations: 0.5105 MB / 437 MB, free: 5.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.075e-05/0.2587, allocations: 8 kB / 437 MB, free: 5.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.001114/0.2598, allocations: 0.6949 MB / 437.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.2598, allocations: 4.031 kB / 437.7 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2598, allocations: 8 kB / 437.8 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003891/0.2602, allocations: 168 kB / 437.9 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/0.2606, allocations: 83.78 kB / 438 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002805/0.2634, allocations: 2.591 MB / 440.6 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003892/0.2638, allocations: 67.64 kB / 440.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/0.2638, allocations: 24 kB / 440.7 MB, free: 1.914 MB / 350.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: 29 (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_n2.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p1.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 (64): * Single equations (assignments): 63 * 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.0001835/0.264, allocations: 244.1 kB / 440.9 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.112e-05/0.2641, allocations: 63.61 kB / 441 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.2642, allocations: 69.61 kB / 441 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.2643, allocations: 3.984 kB / 441.1 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2643, allocations: 0 / 441.1 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002198/0.2645, allocations: 192.6 kB / 441.2 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.146e-05/0.2646, allocations: 15.94 kB / 441.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002984/0.2649, allocations: 31.97 kB / 441.3 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.265, allocations: 48.5 kB / 441.3 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001592/0.2666, allocations: 0.7454 MB / 442.1 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001425/0.268, allocations: 0.9864 MB / 443.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004054/0.2685, allocations: 252.2 kB / 443.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003503/0.2688, allocations: 330.9 kB / 443.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of Backend: time 1.824e-06/0.2688, allocations: 0 / 443.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001994/0.2708, allocations: 1.17 MB / 444.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of SimCode: time 0.001998/0.2728, allocations: 1.751 MB / 446.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of Templates: time 0.02038/0.2932, allocations: 12.66 MB / 459.2 MB, free: 15.42 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_R/ThyristorBridge2Pulse_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches