Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.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.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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00121/0.00121, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00132/0.00132, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 59.91 kB / 359.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.215, allocations: 50.54 MB / 410 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL): time 0.005766/0.2208, allocations: 4.732 MB / 414.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002082/0.2229, allocations: 1.406 MB / 416.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002772/0.2232, allocations: 19.88 kB / 416.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.2235, allocations: 134.7 kB / 416.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004117/0.2239, allocations: 190.3 kB / 416.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005329/0.2244, allocations: 307.2 kB / 416.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007842/0.2252, allocations: 0.9046 MB / 417.7 MB, free: 9.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005347/0.2258, allocations: 415.2 kB / 418.1 MB, free: 9.398 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003592/0.2262, allocations: 338.7 kB / 418.4 MB, free: 9.066 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003829/0.2265, allocations: 362.2 kB / 418.8 MB, free: 8.711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.2267, allocations: 84 kB / 418.8 MB, free: 8.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.2268, allocations: 92 kB / 418.9 MB, free: 8.539 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.227, allocations: 195.4 kB / 419.1 MB, free: 8.348 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003301/0.2274, allocations: 394 kB / 419.5 MB, free: 7.961 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008297/0.2282, allocations: 0.9808 MB / 420.5 MB, free: 6.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2282, allocations: 3.938 kB / 420.5 MB, free: 6.977 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2282, allocations: 0 / 420.5 MB, free: 6.977 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.178e-06/0.2282, allocations: 0 / 420.5 MB, free: 6.977 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.001659/0.2299, allocations: 1.057 MB / 421.5 MB, free: 5.867 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.2299, allocations: 12.03 kB / 421.6 MB, free: 5.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003059/0.2303, allocations: 99.98 kB / 421.7 MB, free: 5.758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006788/0.2309, allocations: 0.4989 MB / 422.2 MB, free: 5.215 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.845e-05/0.231, allocations: 49.69 kB / 422.2 MB, free: 5.168 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.15e-05/0.2311, allocations: 60.38 kB / 422.3 MB, free: 5.109 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.2322, allocations: 0.682 MB / 422.9 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.2322, allocations: 3.984 kB / 422.9 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.157e-05/0.2323, allocations: 28 kB / 423 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.2323, allocations: 16 kB / 423 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009431/0.2333, allocations: 0.497 MB / 423.5 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003182/0.2365, allocations: 2.302 MB / 425.8 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007781/0.2372, allocations: 486.6 kB / 426.3 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005657/0.2378, allocations: 285.4 kB / 426.5 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.2379, allocations: 8.312 kB / 426.6 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005559/0.2384, allocations: 348.7 kB / 426.9 MB, free: 316 kB / 334.1 MB Notification: Performance of pre-optimization done (n=50): time 2.084e-06/0.2384, allocations: 0 / 426.9 MB, free: 316 kB / 334.1 MB Notification: Performance of matching and sorting (n=50): time 0.00184/0.2403, allocations: 0.8282 MB / 427.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.548e-05/0.2404, allocations: 174.6 kB / 427.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005015/0.2409, allocations: 473.9 kB / 428.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.358e-05/0.241, allocations: 45.72 kB / 428.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.2412, allocations: 320.3 kB / 428.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.2413, allocations: 153.9 kB / 428.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.2415, allocations: 110.2 kB / 429 MB, free: 14.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.2416, allocations: 362.8 kB / 429.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003604/0.242, allocations: 195.4 kB / 429.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004514/0.2424, allocations: 366.6 kB / 429.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000762/0.2432, allocations: 0.4918 MB / 430.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.2432, allocations: 7.938 kB / 430.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001054/0.2443, allocations: 0.6292 MB / 431 MB, free: 11.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2443, allocations: 7.125 kB / 431 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.2443, allocations: 4 kB / 431 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002781/0.2446, allocations: 84.81 kB / 431.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003765/0.245, allocations: 91.83 kB / 431.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001806/0.2468, allocations: 1.936 MB / 433.1 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/0.2472, allocations: 71.44 kB / 433.2 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/0.2473, allocations: 24 kB / 433.2 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004798/0.2478, allocations: 337.3 kB / 433.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004237/0.2482, allocations: 342.7 kB / 433.9 MB, free: 8.859 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006848/0.2489, allocations: 495.8 kB / 434.4 MB, free: 8.316 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.108e-06/0.2489, allocations: 4 kB / 434.4 MB, free: 8.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001024/0.2499, allocations: 0.5974 MB / 435 MB, free: 7.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.25, allocations: 7.938 kB / 435 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.25, allocations: 8 kB / 435 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002171/0.2502, allocations: 81.31 kB / 435.1 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/0.2505, allocations: 91.83 kB / 435.1 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001678/0.2522, allocations: 1.933 MB / 437.1 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003788/0.2526, allocations: 63.59 kB / 437.1 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/0.2526, allocations: 24 kB / 437.2 MB, free: 5.359 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 (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 {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001778/0.2528, allocations: 232.2 kB / 437.4 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.507e-05/0.2529, allocations: 67.19 kB / 437.5 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.2531, allocations: 61.5 kB / 437.5 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.2531, allocations: 3.984 kB / 437.5 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2531, allocations: 0 / 437.5 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002148/0.2533, allocations: 180.3 kB / 437.7 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.998e-05/0.2534, allocations: 12 kB / 437.7 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003106/0.2537, allocations: 35.97 kB / 437.7 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.2538, allocations: 40.38 kB / 437.8 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001357/0.2552, allocations: 0.7027 MB / 438.5 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001326/0.2565, allocations: 0.9773 MB / 439.5 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003752/0.2569, allocations: 235.4 kB / 439.7 MB, free: 2.773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000339/0.2573, allocations: 318.9 kB / 440 MB, free: 2.465 MB / 350.1 MB Notification: Performance of Backend: time 5.41e-07/0.2573, allocations: 0 / 440 MB, free: 2.465 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001756/0.259, allocations: 0.9624 MB / 441 MB, free: 1.469 MB / 350.1 MB Notification: Performance of SimCode: time 0.001906/0.2609, allocations: 1.626 MB / 442.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of Templates: time 0.01684/0.2778, allocations: 10.2 MB / 452.8 MB, free: 5.727 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_RL/ThyristorCenterTap2Pulse_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches