Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.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_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_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_RLV_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_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_RLV_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00126/0.00126, allocations: 114.2 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001235/0.001235, allocations: 214.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 59.91 kB / 359.5 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2098, allocations: 50.54 MB / 410 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic): time 0.006038/0.2159, allocations: 5.164 MB / 415.2 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00232/0.2182, allocations: 1.527 MB / 416.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003063/0.2185, allocations: 19.88 kB / 416.7 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003022/0.2188, allocations: 146.6 kB / 416.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004711/0.2193, allocations: 226 kB / 417.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005714/0.2199, allocations: 339.5 kB / 417.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008319/0.2207, allocations: 1.041 MB / 418.5 MB, free: 9.129 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006027/0.2214, allocations: 498.5 kB / 418.9 MB, free: 8.617 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000407/0.2218, allocations: 398.5 kB / 419.3 MB, free: 8.227 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004167/0.2222, allocations: 430 kB / 419.7 MB, free: 7.805 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.2223, allocations: 100 kB / 419.8 MB, free: 7.707 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.2225, allocations: 104 kB / 419.9 MB, free: 7.605 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001844/0.2227, allocations: 219.3 kB / 420.2 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003562/0.223, allocations: 461.7 kB / 420.6 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009458/0.224, allocations: 1.134 MB / 421.7 MB, free: 5.801 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.224, allocations: 0 / 421.7 MB, free: 5.801 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.224, allocations: 4 kB / 421.7 MB, free: 5.797 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.224, allocations: 0 / 421.7 MB, free: 5.797 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001853/0.2259, allocations: 1.148 MB / 422.9 MB, free: 4.598 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.2259, allocations: 8.031 kB / 422.9 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002356/0.2262, allocations: 111.8 kB / 423 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007122/0.2269, allocations: 0.5345 MB / 423.5 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.958e-05/0.227, allocations: 62.36 kB / 423.6 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.2271, allocations: 72.38 kB / 423.7 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.2283, allocations: 0.8069 MB / 424.5 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.2284, allocations: 0 / 424.5 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.705e-05/0.2285, allocations: 35.97 kB / 424.5 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.2285, allocations: 20 kB / 424.5 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.2296, allocations: 0.6011 MB / 425.1 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003495/0.2331, allocations: 2.712 MB / 427.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.2344, allocations: 0.6925 MB / 428.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001094/0.2355, allocations: 0.5208 MB / 429.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.119e-05/0.2356, allocations: 12.55 kB / 429.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006737/0.2363, allocations: 413.8 kB / 429.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 1.953e-06/0.2363, allocations: 0 / 429.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.002799/0.2391, allocations: 1.232 MB / 430.7 MB, free: 12.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.831e-05/0.2392, allocations: 149 kB / 430.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005204/0.2397, allocations: 498 kB / 431.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.137e-05/0.2398, allocations: 41.7 kB / 431.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.24, allocations: 348.2 kB / 431.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.2402, allocations: 185.4 kB / 431.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.2403, allocations: 130.6 kB / 432 MB, free: 11.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.2405, allocations: 374.8 kB / 432.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004746/0.241, allocations: 244.7 kB / 432.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005673/0.2415, allocations: 413.3 kB / 433 MB, free: 10.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009534/0.2425, allocations: 0.5929 MB / 433.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.2425, allocations: 7.938 kB / 433.6 MB, free: 9.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001391/0.2439, allocations: 0.789 MB / 434.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.2439, allocations: 15.97 kB / 434.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.244, allocations: 4 kB / 434.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004714/0.2444, allocations: 165.6 kB / 434.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004041/0.2449, allocations: 107.8 kB / 434.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003546/0.2484, allocations: 3.992 MB / 438.7 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004113/0.2488, allocations: 75.41 kB / 438.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.1e-05/0.2489, allocations: 28 kB / 438.8 MB, free: 3.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006022/0.2495, allocations: 402.1 kB / 439.2 MB, free: 3.516 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005206/0.25, allocations: 401.2 kB / 439.6 MB, free: 3.059 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008445/0.2509, allocations: 0.5617 MB / 440.2 MB, free: 2.441 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.345e-06/0.2509, allocations: 0 / 440.2 MB, free: 2.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization_lambda0): time 0.001305/0.2522, allocations: 0.7812 MB / 440.9 MB, free: 1.645 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.2522, allocations: 8 kB / 441 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.2522, allocations: 4 kB / 441 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003954/0.2526, allocations: 157.6 kB / 441.1 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003661/0.253, allocations: 99.83 kB / 441.2 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003433/0.2564, allocations: 3.997 MB / 445.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004296/0.2569, allocations: 75.55 kB / 445.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/0.2569, allocations: 28.06 kB / 445.3 MB, free: 13 MB / 366.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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,8), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001969/0.2571, allocations: 244 kB / 445.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.487e-05/0.2572, allocations: 63.23 kB / 445.6 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/0.2574, allocations: 73.78 kB / 445.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.2574, allocations: 3.984 kB / 445.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2574, allocations: 0 / 445.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002338/0.2577, allocations: 196.2 kB / 445.9 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.599e-05/0.2577, allocations: 19.94 kB / 445.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003548/0.2581, allocations: 43.89 kB / 445.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.2582, allocations: 56.53 kB / 446 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001848/0.2601, allocations: 0.8242 MB / 446.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001605/0.2617, allocations: 1.064 MB / 447.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004618/0.2622, allocations: 272.3 kB / 448.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003471/0.2625, allocations: 330.9 kB / 448.5 MB, free: 9.781 MB / 366.1 MB Notification: Performance of Backend: time 3.7e-07/0.2625, allocations: 0 / 448.5 MB, free: 9.781 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002276/0.2648, allocations: 1.429 MB / 449.9 MB, free: 8.289 MB / 366.1 MB Notification: Performance of SimCode: time 0.002102/0.2669, allocations: 1.841 MB / 451.7 MB, free: 6.398 MB / 366.1 MB Notification: Performance of Templates: time 0.02073/0.2877, allocations: 13.52 MB / 465.3 MB, free: 9.055 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_RLV_Characteristic/ThyristorBridge2Pulse_RLV_Characteristic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches