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_R.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_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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002428/0.002428, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.034/2.034, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 86.64 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.291e-05/3.308e-05, allocations: 4 kB / 321.5 MB, free: 17.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09094/0.091, allocations: 47.57 MB / 369.1 MB, free: 2.184 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4058/0.4968, allocations: 87.53 MB / 456.6 MB, free: 5.715 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003154/0.4972, allocations: 94.38 kB / 456.7 MB, free: 5.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0551/0.5523, allocations: 13.6 MB / 470.3 MB, free: 9.879 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5524, allocations: 0 / 470.3 MB, free: 9.879 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.871e-05/0.5525, allocations: 19.94 kB / 470.4 MB, free: 9.859 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.002252/0.5547, allocations: 0.8715 MB / 471.2 MB, free: 8.934 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.5548, allocations: 8.031 kB / 471.2 MB, free: 8.926 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002156/0.555, allocations: 83.06 kB / 471.3 MB, free: 8.844 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.5562, allocations: 0.4901 MB / 471.8 MB, free: 8.309 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.944e-05/0.5563, allocations: 49.31 kB / 471.9 MB, free: 8.262 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.5564, allocations: 68 kB / 471.9 MB, free: 8.195 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.5582, allocations: 0.6631 MB / 472.6 MB, free: 7.504 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/0.5582, allocations: 0 / 472.6 MB, free: 7.504 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.993e-05/0.5583, allocations: 31.92 kB / 472.6 MB, free: 7.473 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/0.5584, allocations: 16 kB / 472.6 MB, free: 7.457 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.5598, allocations: 485.1 kB / 473.1 MB, free: 6.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00582/0.5656, allocations: 2.612 MB / 475.7 MB, free: 4.254 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/0.5674, allocations: 0.5679 MB / 476.3 MB, free: 3.672 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008957/0.5683, allocations: 310.4 kB / 476.6 MB, free: 3.363 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.797e-05/0.5684, allocations: 4.438 kB / 476.6 MB, free: 3.359 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008115/0.5692, allocations: 341.7 kB / 476.9 MB, free: 3.008 MB / 346.7 MB Notification: Performance of pre-optimization done (n=55): time 3.236e-06/0.5692, allocations: 0 / 476.9 MB, free: 3.008 MB / 346.7 MB Notification: Performance of matching and sorting (n=55): time 0.001452/0.5707, allocations: 0.507 MB / 477.4 MB, free: 2.492 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.991e-05/0.5708, allocations: 115.8 kB / 477.5 MB, free: 2.352 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007935/0.5716, allocations: 427.7 kB / 478 MB, free: 1.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.866e-05/0.5717, allocations: 41.7 kB / 478 MB, free: 1.883 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/0.572, allocations: 346.9 kB / 478.3 MB, free: 1.543 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/0.5722, allocations: 169.7 kB / 478.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.5723, allocations: 12 kB / 478.5 MB, free: 1.363 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.5724, allocations: 338.8 kB / 478.9 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005067/0.573, allocations: 177.5 kB / 479 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006617/0.5736, allocations: 338.3 kB / 479.4 MB, free: 472 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005317/0.5742, allocations: 191.2 kB / 479.5 MB, free: 284 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.5742, allocations: 0 / 479.5 MB, free: 284 kB / 346.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001621/0.5758, allocations: 0.6164 MB / 480.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006605/0.5765, allocations: 1.578 MB / 481.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.5765, allocations: 7.938 kB / 481.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007845/0.5773, allocations: 156.7 kB / 481.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006048/0.578, allocations: 95.83 kB / 482 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004244/0.5822, allocations: 2.339 MB / 484.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008407/0.5831, allocations: 95.44 kB / 484.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.451e-05/0.5832, allocations: 24 kB / 484.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.5832, allocations: 4 kB / 484.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001528/0.5847, allocations: 0.5643 MB / 485 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.5848, allocations: 7.938 kB / 485 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006363/0.5854, allocations: 153.2 kB / 485.2 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005209/0.5859, allocations: 75.91 kB / 485.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004038/0.59, allocations: 2.326 MB / 487.6 MB, free: 7.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005529/0.5906, allocations: 67.7 kB / 487.6 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.166e-05/0.5907, allocations: 20 kB / 487.7 MB, free: 7.754 MB / 362.7 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 (61): * Single equations (assignments): 60 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002734/0.5909, allocations: 161.2 kB / 487.8 MB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.5911, allocations: 63.25 kB / 487.9 MB, free: 7.527 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.5914, allocations: 77.28 kB / 488 MB, free: 7.453 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.5914, allocations: 4 kB / 488 MB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.5914, allocations: 3.953 kB / 488 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.5914, allocations: 3.984 kB / 488 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003134/0.5946, allocations: 1.333 MB / 489.3 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.5946, allocations: 0 / 489.3 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003724/0.595, allocations: 47.91 kB / 489.3 MB, free: 5.996 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006676/0.5957, allocations: 140.8 kB / 489.5 MB, free: 5.855 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.684e-05/0.5958, allocations: 8 kB / 489.5 MB, free: 5.848 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004927/0.6007, allocations: 2.264 MB / 491.8 MB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.6007, allocations: 0 / 491.8 MB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002326/0.6031, allocations: 0.8883 MB / 492.6 MB, free: 2.539 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003711/0.6035, allocations: 188.3 kB / 492.8 MB, free: 2.336 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.6036, allocations: 12 kB / 492.8 MB, free: 2.324 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006107/0.6042, allocations: 39.97 kB / 492.9 MB, free: 2.285 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002741/0.6045, allocations: 76.33 kB / 492.9 MB, free: 2.211 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.445e-05/0.6046, allocations: 23.94 kB / 493 MB, free: 2.188 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006106/0.6052, allocations: 329.5 kB / 493.3 MB, free: 1.867 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6052, allocations: 0 / 493.3 MB, free: 1.867 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001406/0.6067, allocations: 319.2 kB / 493.6 MB, free: 1.555 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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_n1.off,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002803/0.607, allocations: 143.8 kB / 493.7 MB, free: 1.406 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00286/0.6098, allocations: 1.144 MB / 494.9 MB, free: 244 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/0.6099, allocations: 0 / 494.9 MB, free: 244 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.6109, allocations: 446 kB / 495.3 MB, free: 15.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008894/0.6118, allocations: 114 kB / 495.4 MB, free: 15.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002821/0.6147, allocations: 0.9119 MB / 496.3 MB, free: 14.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007341/0.6154, allocations: 0.9352 MB / 497.3 MB, free: 13.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/0.6157, allocations: 43.42 kB / 497.3 MB, free: 13.72 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.6157, allocations: 0 / 497.3 MB, free: 13.72 MB / 378.7 MB Notification: Performance of Templates: time 0.02247/0.6381, allocations: 10.52 MB / 0.4959 GB, free: 3.188 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R_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_R/ThyristorBridge2Pulse_R.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches