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.001505/0.001505, allocations: 187.9 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.879/1.879, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001095/0.001095, allocations: 90.86 kB / 270.9 MB, free: 8.312 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003948/0.0003945, allocations: 12 kB / 327 MB, free: 128 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3412, allocations: 47.57 MB / 374.5 MB, free: 45.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1353/0.4765, allocations: 87.64 MB / 462.2 MB, free: 9.105 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003324/0.4769, allocations: 87.94 kB / 462.3 MB, free: 9.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05399/0.531, allocations: 13.63 MB / 475.9 MB, free: 11.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.531, allocations: 0 / 475.9 MB, free: 11.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.859e-05/0.5311, allocations: 20 kB / 475.9 MB, free: 11.3 MB / 362.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.00244/0.5335, allocations: 0.9301 MB / 476.9 MB, free: 10.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.5336, allocations: 12.03 kB / 476.9 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002185/0.5338, allocations: 90.97 kB / 477 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.5349, allocations: 497.9 kB / 477.4 MB, free: 9.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-05/0.535, allocations: 53.3 kB / 477.5 MB, free: 9.625 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.5351, allocations: 64 kB / 477.6 MB, free: 9.562 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/0.537, allocations: 0.6942 MB / 478.2 MB, free: 8.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.321e-05/0.537, allocations: 4 kB / 478.3 MB, free: 8.836 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.5371, allocations: 27.98 kB / 478.3 MB, free: 8.809 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.5372, allocations: 16 kB / 478.3 MB, free: 8.793 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/0.5388, allocations: 0.5243 MB / 478.8 MB, free: 8.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005641/0.5445, allocations: 2.608 MB / 481.4 MB, free: 5.547 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.5463, allocations: 0.5829 MB / 482 MB, free: 4.953 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.612e-05/0.5464, allocations: 8.391 kB / 482 MB, free: 4.945 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008488/0.5473, allocations: 349.7 kB / 482.4 MB, free: 4.586 MB / 362.7 MB Notification: Performance of pre-optimization done (n=55): time 3.095e-06/0.5473, allocations: 4 kB / 482.4 MB, free: 4.582 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.004118/0.5514, allocations: 0.973 MB / 483.3 MB, free: 3.582 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.184e-05/0.5515, allocations: 115.4 kB / 483.4 MB, free: 3.445 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008799/0.5524, allocations: 453 kB / 483.9 MB, free: 2.996 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.883e-05/0.5525, allocations: 41.69 kB / 483.9 MB, free: 2.949 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003149/0.5528, allocations: 350.9 kB / 484.3 MB, free: 2.605 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.553, allocations: 161.7 kB / 484.4 MB, free: 2.445 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.862e-05/0.5531, allocations: 16 kB / 484.4 MB, free: 2.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.5532, allocations: 326.8 kB / 484.8 MB, free: 2.102 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006498/0.5539, allocations: 209.2 kB / 485 MB, free: 1.895 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007869/0.5547, allocations: 360.8 kB / 485.3 MB, free: 1.484 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006816/0.5554, allocations: 222.1 kB / 485.5 MB, free: 1.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.5554, allocations: 0 / 485.5 MB, free: 1.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001884/0.5573, allocations: 0.6635 MB / 486.2 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006063/0.5579, allocations: 1.575 MB / 487.8 MB, free: 14.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.558, allocations: 4 kB / 487.8 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007785/0.5588, allocations: 152.7 kB / 487.9 MB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005996/0.5594, allocations: 87.83 kB / 488 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004362/0.5637, allocations: 2.402 MB / 490.4 MB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008413/0.5646, allocations: 91.53 kB / 490.5 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-05/0.5647, allocations: 20 kB / 490.5 MB, free: 12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.5647, allocations: 5.094 kB / 490.5 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001637/0.5664, allocations: 0.5995 MB / 491.1 MB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.5664, allocations: 4 kB / 491.1 MB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006298/0.567, allocations: 153.2 kB / 491.3 MB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005221/0.5676, allocations: 79.91 kB / 491.4 MB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004184/0.5718, allocations: 2.375 MB / 493.7 MB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005582/0.5723, allocations: 67.7 kB / 493.8 MB, free: 8.586 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.153e-05/0.5724, allocations: 24 kB / 493.8 MB, free: 8.562 MB / 378.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 () * Number of clocked 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.0005898/0.573, allocations: 309.4 kB / 494.1 MB, free: 8.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.5732, allocations: 59.25 kB / 494.2 MB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002683/0.5735, allocations: 77.5 kB / 494.3 MB, free: 8.113 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.5735, allocations: 8 kB / 494.3 MB, free: 8.105 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.517e-06/0.5736, allocations: 7.891 kB / 494.3 MB, free: 8.098 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.5736, allocations: 0 / 494.3 MB, free: 8.098 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003891/0.5775, allocations: 1.362 MB / 495.6 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.912e-06/0.5775, allocations: 0 / 495.6 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004035/0.5779, allocations: 43.91 kB / 495.7 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006784/0.5786, allocations: 146.8 kB / 495.8 MB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-05/0.5787, allocations: 12 kB / 495.8 MB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004211/0.5829, allocations: 2.307 MB / 498.1 MB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.583, allocations: 96 / 498.1 MB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002405/0.5854, allocations: 0.917 MB / 499.1 MB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003362/0.5857, allocations: 192.2 kB / 499.3 MB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.5859, allocations: 12 kB / 499.3 MB, free: 2.895 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005929/0.5865, allocations: 43.95 kB / 499.3 MB, free: 2.852 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002554/0.5867, allocations: 72.45 kB / 499.4 MB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.404e-05/0.5868, allocations: 16 kB / 499.4 MB, free: 2.766 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006928/0.5875, allocations: 342.9 kB / 499.7 MB, free: 2.434 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5875, allocations: 0 / 499.7 MB, free: 2.434 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001422/0.5889, allocations: 327.2 kB / 0.4883 GB, free: 2.113 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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) * Number of clocked states: 0 () * 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.0002506/0.5892, allocations: 137.4 kB / 0.4885 GB, free: 1.969 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003005/0.5922, allocations: 1.201 MB / 0.4896 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.5923, allocations: 0 / 0.4896 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.5933, allocations: 454.4 kB / 0.4901 GB, free: 296 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008222/0.5942, allocations: 119.2 kB / 0.4902 GB, free: 176 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2563/0.8504, allocations: 1.444 MB / 0.4916 GB, free: 105.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006429/0.8511, allocations: 0.9379 MB / 0.4925 GB, free: 104.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002893/0.8514, allocations: 40.5 kB / 0.4925 GB, free: 104.3 MB / 378.7 MB Notification: Performance of SimCode: time 2.124e-06/0.8515, allocations: 0 / 0.4925 GB, free: 104.3 MB / 378.7 MB Notification: Performance of Templates: time 0.02339/0.8749, allocations: 10.52 MB / 0.5028 GB, free: 103.9 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