Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002015/0.00202, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.988/1.988, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001136/0.001136, allocations: 85.67 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.333e-05/2.349e-05, allocations: 4 kB / 314.8 MB, free: 9.148 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3331, allocations: 47.57 MB / 362.4 MB, free: 45.82 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.141/0.4742, allocations: 87.18 MB / 449.5 MB, free: 15.1 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003326/0.4746, allocations: 79.95 kB / 449.6 MB, free: 15.02 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.06233/0.5369, allocations: 13.81 MB / 463.4 MB, free: 1.219 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.537, allocations: 0 / 463.4 MB, free: 1.219 MB / 347.1 MB Notification: Performance of Transformations before backend: time 8.773e-05/0.5371, allocations: 27.94 kB / 463.5 MB, free: 1.191 MB / 347.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.002801/0.5399, allocations: 0.8761 MB / 464.3 MB, free: 268 kB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.54, allocations: 8.031 kB / 464.3 MB, free: 260 kB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003586/0.5404, allocations: 90.97 kB / 464.4 MB, free: 168 kB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.5419, allocations: 0.5039 MB / 464.9 MB, free: 15.62 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.182e-05/0.542, allocations: 27.98 kB / 465 MB, free: 15.59 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/0.5422, allocations: 40 kB / 465 MB, free: 15.55 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001538/0.5437, allocations: 458.5 kB / 465.4 MB, free: 15.1 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.5455, allocations: 0.5902 MB / 466 MB, free: 14.48 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.809e-05/0.5456, allocations: 8 kB / 466 MB, free: 14.48 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.878e-05/0.5457, allocations: 0 / 466 MB, free: 14.48 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.011e-05/0.5458, allocations: 16 kB / 466.1 MB, free: 14.46 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006849/0.5526, allocations: 2.525 MB / 468.6 MB, free: 11.84 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/0.5545, allocations: 0.5451 MB / 469.1 MB, free: 11.28 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/0.5555, allocations: 330.1 kB / 469.4 MB, free: 10.95 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.59e-05/0.5556, allocations: 4.906 kB / 469.5 MB, free: 10.95 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009227/0.5566, allocations: 337.4 kB / 469.8 MB, free: 10.6 MB / 363.1 MB Notification: Performance of pre-optimization done (n=57): time 6.071e-06/0.5566, allocations: 3.984 kB / 469.8 MB, free: 10.6 MB / 363.1 MB Notification: Performance of matching and sorting (n=57): time 0.001561/0.5582, allocations: 0.4923 MB / 470.3 MB, free: 10.09 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.676e-05/0.5583, allocations: 115.4 kB / 470.4 MB, free: 9.953 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007736/0.5591, allocations: 365.1 kB / 470.7 MB, free: 9.59 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001304/0.5593, allocations: 33.7 kB / 470.8 MB, free: 9.551 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003622/0.5596, allocations: 358.5 kB / 471.1 MB, free: 9.199 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002798/0.5599, allocations: 173.6 kB / 471.3 MB, free: 9.027 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/0.56, allocations: 0 / 471.3 MB, free: 9.027 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.5602, allocations: 338.8 kB / 471.6 MB, free: 8.688 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005277/0.5607, allocations: 181.5 kB / 471.8 MB, free: 8.512 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006726/0.5614, allocations: 327.9 kB / 472.1 MB, free: 8.129 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000575/0.562, allocations: 194 kB / 472.3 MB, free: 7.941 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.868e-06/0.5621, allocations: 4 kB / 472.3 MB, free: 7.938 MB / 363.1 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001791/0.5639, allocations: 0.5938 MB / 472.9 MB, free: 7.332 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008048/0.5647, allocations: 1.575 MB / 474.5 MB, free: 5.633 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/0.5648, allocations: 4 kB / 474.5 MB, free: 5.629 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008716/0.5657, allocations: 161.6 kB / 474.7 MB, free: 5.465 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007497/0.5664, allocations: 99.83 kB / 474.7 MB, free: 5.367 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005654/0.5721, allocations: 3.484 MB / 478.2 MB, free: 1.652 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009344/0.5731, allocations: 79.55 kB / 478.3 MB, free: 1.574 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.051e-05/0.5732, allocations: 20 kB / 478.3 MB, free: 1.555 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.5733, allocations: 7.953 kB / 478.3 MB, free: 1.547 MB / 363.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001639/0.5749, allocations: 0.5339 MB / 478.9 MB, free: 1.008 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.575, allocations: 4 kB / 478.9 MB, free: 1.004 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006734/0.5757, allocations: 150.1 kB / 479 MB, free: 0.8516 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006912/0.5764, allocations: 91.95 kB / 479.1 MB, free: 0.7617 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005438/0.5819, allocations: 3.476 MB / 482.6 MB, free: 13.06 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006735/0.5826, allocations: 59.62 kB / 482.6 MB, free: 13 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.507e-05/0.5827, allocations: 32.95 kB / 482.7 MB, free: 12.97 MB / 379.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003029/0.583, allocations: 138.2 kB / 482.8 MB, free: 12.83 MB / 379.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/0.5832, allocations: 59.3 kB / 482.9 MB, free: 12.77 MB / 379.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/0.5835, allocations: 61.58 kB / 482.9 MB, free: 12.71 MB / 379.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.5835, allocations: 8 kB / 482.9 MB, free: 12.7 MB / 379.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.5835, allocations: 0 / 482.9 MB, free: 12.7 MB / 379.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.5835, allocations: 3.984 kB / 482.9 MB, free: 12.7 MB / 379.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00337/0.5869, allocations: 1.246 MB / 484.2 MB, free: 11.4 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.587, allocations: 4 kB / 484.2 MB, free: 11.39 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005065/0.5875, allocations: 51.91 kB / 484.2 MB, free: 11.34 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007457/0.5883, allocations: 153.5 kB / 484.4 MB, free: 11.19 MB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.357e-05/0.5884, allocations: 7.984 kB / 484.4 MB, free: 11.18 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005349/0.5937, allocations: 3.391 MB / 487.8 MB, free: 7.555 MB / 379.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.5938, allocations: 0 / 487.8 MB, free: 7.555 MB / 379.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002449/0.5962, allocations: 0.8789 MB / 488.7 MB, free: 6.652 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004648/0.5968, allocations: 172.5 kB / 488.8 MB, free: 6.465 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/0.5969, allocations: 11.94 kB / 488.9 MB, free: 6.453 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006542/0.5976, allocations: 31.97 kB / 488.9 MB, free: 6.422 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003054/0.5979, allocations: 72.45 kB / 489 MB, free: 6.352 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.39e-05/0.598, allocations: 19.98 kB / 489 MB, free: 6.332 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.0005332/0.5986, allocations: 275 kB / 489.2 MB, free: 6.062 MB / 379.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5986, allocations: 0 / 489.2 MB, free: 6.062 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.001953/0.6005, allocations: 307 kB / 489.5 MB, free: 5.762 MB / 379.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 20 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000339/0.6009, allocations: 132.3 kB / 489.7 MB, free: 5.621 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.00327/0.6042, allocations: 1.281 MB / 491 MB, free: 4.305 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 9.228e-06/0.6043, allocations: 4.375 kB / 491 MB, free: 4.301 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001228/0.6055, allocations: 0.5051 MB / 491.5 MB, free: 3.777 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009441/0.6065, allocations: 78.03 kB / 491.5 MB, free: 3.703 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003354/0.6099, allocations: 0.9513 MB / 492.5 MB, free: 2.719 MB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008227/0.6108, allocations: 0.9426 MB / 493.4 MB, free: 1.746 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002545/0.6111, allocations: 39.44 kB / 493.5 MB, free: 1.707 MB / 379.1 MB Notification: Performance of SimCode: time 9.52e-07/0.6111, allocations: 4 kB / 493.5 MB, free: 1.703 MB / 379.1 MB Notification: Performance of Templates: time 0.03989/0.651, allocations: 13.15 MB / 0.4947 GB, free: 4.574 MB / 395.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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/RectifierBridge2Pulse/ThyristorBridge2Pulse_RL/ThyristorBridge2Pulse_RL.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches