Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.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,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_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") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,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_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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001561/0.001561, allocations: 110.9 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.001908/0.001908, allocations: 215.9 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 59.91 kB / 359.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2071, allocations: 50.54 MB / 410 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV): time 0.006236/0.2134, allocations: 5.125 MB / 415.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002739/0.2161, allocations: 1.504 MB / 416.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005808/0.2167, allocations: 19.94 kB / 416.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004317/0.2172, allocations: 154.5 kB / 416.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007032/0.2179, allocations: 218.2 kB / 417 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006746/0.2186, allocations: 339.5 kB / 417.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009393/0.2196, allocations: 1.026 MB / 418.4 MB, free: 9.191 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006207/0.2202, allocations: 498.4 kB / 418.9 MB, free: 8.676 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004478/0.2206, allocations: 394.5 kB / 419.2 MB, free: 8.289 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004091/0.2211, allocations: 414 kB / 419.6 MB, free: 7.883 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.2212, allocations: 96 kB / 419.7 MB, free: 7.789 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.2214, allocations: 100 kB / 419.8 MB, free: 7.691 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000215/0.2216, allocations: 219.3 kB / 420.1 MB, free: 7.477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004118/0.222, allocations: 453.8 kB / 420.5 MB, free: 7.031 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.2231, allocations: 1.132 MB / 421.6 MB, free: 5.898 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2232, allocations: 0 / 421.6 MB, free: 5.898 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.2232, allocations: 0 / 421.6 MB, free: 5.898 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.2232, allocations: 0 / 421.6 MB, free: 5.898 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.001786/0.225, allocations: 1.158 MB / 422.8 MB, free: 4.688 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.225, allocations: 8.031 kB / 422.8 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002485/0.2253, allocations: 104.4 kB / 422.9 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007086/0.226, allocations: 0.5388 MB / 423.4 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.116e-05/0.226, allocations: 58.38 kB / 423.5 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.2262, allocations: 72.38 kB / 423.6 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.2274, allocations: 0.7874 MB / 424.3 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.2274, allocations: 3.938 kB / 424.4 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.095e-05/0.2275, allocations: 32 kB / 424.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.2275, allocations: 16 kB / 424.4 MB, free: 3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.2286, allocations: 0.5778 MB / 425 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003576/0.2322, allocations: 2.702 MB / 427.7 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009591/0.2332, allocations: 0.5988 MB / 428.3 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001077/0.2342, allocations: 0.5098 MB / 428.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.096e-05/0.2343, allocations: 8.5 kB / 428.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006641/0.235, allocations: 397.8 kB / 429.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 2.185e-06/0.235, allocations: 0 / 429.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=62): time 0.002772/0.2378, allocations: 1.193 MB / 430.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.912e-05/0.2379, allocations: 145 kB / 430.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005651/0.2384, allocations: 0.4981 MB / 431 MB, free: 12.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.938e-05/0.2385, allocations: 45.69 kB / 431.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.2388, allocations: 344.8 kB / 431.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.2389, allocations: 198.4 kB / 431.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.2391, allocations: 126.7 kB / 431.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.2393, allocations: 370.8 kB / 432.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004335/0.2397, allocations: 236.8 kB / 432.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005512/0.2403, allocations: 392.9 kB / 432.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008694/0.2412, allocations: 0.5656 MB / 433.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.2412, allocations: 0 / 433.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001337/0.2425, allocations: 0.7737 MB / 434 MB, free: 8.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.2426, allocations: 11.94 kB / 434 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.2426, allocations: 4 kB / 434 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005302/0.2431, allocations: 161.7 kB / 434.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003793/0.2435, allocations: 99.81 kB / 434.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00388/0.2474, allocations: 4.001 MB / 438.3 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000405/0.2478, allocations: 75.55 kB / 438.4 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.17e-05/0.2479, allocations: 24 kB / 438.4 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005888/0.2485, allocations: 386.1 kB / 438.8 MB, free: 3.934 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000508/0.249, allocations: 385.3 kB / 439.2 MB, free: 3.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007733/0.2498, allocations: 0.5383 MB / 439.7 MB, free: 2.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.454e-06/0.2498, allocations: 0 / 439.7 MB, free: 2.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001228/0.251, allocations: 0.7499 MB / 440.4 MB, free: 2.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.251, allocations: 8 kB / 440.5 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.251, allocations: 4.766 kB / 440.5 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000419/0.2515, allocations: 169.6 kB / 440.6 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/0.2518, allocations: 91.83 kB / 440.7 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003656/0.2555, allocations: 3.99 MB / 444.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004061/0.2559, allocations: 59.7 kB / 444.8 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-05/0.256, allocations: 28 kB / 444.8 MB, free: 13.5 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 (69): * Single equations (assignments): 67 * 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.0002163/0.2562, allocations: 244.1 kB / 445 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.55e-05/0.2563, allocations: 75.62 kB / 445.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.2564, allocations: 69.75 kB / 445.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.2565, allocations: 4.172 kB / 445.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2565, allocations: 0 / 445.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002255/0.2567, allocations: 208.4 kB / 445.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.449e-05/0.2568, allocations: 16 kB / 445.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003193/0.2571, allocations: 39.89 kB / 445.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.2573, allocations: 52.44 kB / 445.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001748/0.259, allocations: 0.7775 MB / 446.3 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001486/0.2605, allocations: 1.025 MB / 447.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004091/0.2609, allocations: 252.4 kB / 447.5 MB, free: 10.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003681/0.2613, allocations: 342.9 kB / 447.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of Backend: time 4.71e-07/0.2613, allocations: 0 / 447.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002223/0.2635, allocations: 1.413 MB / 449.3 MB, free: 8.91 MB / 366.1 MB Notification: Performance of SimCode: time 0.00207/0.2656, allocations: 1.864 MB / 451.1 MB, free: 6.996 MB / 366.1 MB Notification: Performance of Templates: time 0.0204/0.286, allocations: 13.2 MB / 464.3 MB, free: 9.961 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_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/ThyristorBridge2Pulse_RLV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches