Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,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_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,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_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001623/0.001623, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.279/1.279, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008605/0.0008602, allocations: 98.39 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.291e-05/1.295e-05, allocations: 0 / 343.7 MB, free: 8.266 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08652/0.08655, allocations: 51.48 MB / 395.2 MB, free: 4.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2863/0.3729, allocations: 89.09 MB / 484.3 MB, free: 4.168 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.3731, allocations: 89.8 kB / 484.4 MB, free: 4.121 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02732/0.4005, allocations: 11.45 MB / 495.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4005, allocations: 4 kB / 495.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.199e-05/0.4005, allocations: 12 kB / 495.8 MB, free: 10.68 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001615/0.4022, allocations: 0.8905 MB / 496.7 MB, free: 9.785 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.4022, allocations: 8.031 kB / 496.7 MB, free: 9.777 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003449/0.4026, allocations: 103 kB / 496.8 MB, free: 9.676 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008019/0.4034, allocations: 0.4903 MB / 497.3 MB, free: 9.234 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.446e-05/0.4035, allocations: 27.59 kB / 497.3 MB, free: 9.211 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.086e-05/0.4036, allocations: 43.12 kB / 497.4 MB, free: 9.172 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008209/0.4044, allocations: 479.6 kB / 497.9 MB, free: 8.883 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.4054, allocations: 0.602 MB / 498.5 MB, free: 8.422 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.4055, allocations: 4 kB / 498.5 MB, free: 8.418 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.33e-05/0.4055, allocations: 0 / 498.5 MB, free: 8.418 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.4055, allocations: 16 kB / 498.5 MB, free: 8.402 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00358/0.4091, allocations: 2.557 MB / 0.4893 GB, free: 6.297 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007771/0.4099, allocations: 0.4897 MB / 0.4898 GB, free: 6.008 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003462/0.4103, allocations: 259.4 kB / 0.49 GB, free: 5.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-05/0.4103, allocations: 12.42 kB / 0.49 GB, free: 5.828 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004957/0.4108, allocations: 323.3 kB / 0.4903 GB, free: 5.578 MB / 362.7 MB Notification: Performance of pre-optimization done (n=57): time 1.894e-06/0.4108, allocations: 0 / 0.4903 GB, free: 5.578 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.0008091/0.4117, allocations: 0.4924 MB / 0.4908 GB, free: 5.211 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.702e-05/0.4117, allocations: 145.1 kB / 0.491 GB, free: 5.039 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004526/0.4122, allocations: 382.2 kB / 0.4913 GB, free: 4.754 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.9e-05/0.4123, allocations: 33.64 kB / 0.4913 GB, free: 4.715 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.4125, allocations: 325.8 kB / 0.4917 GB, free: 4.473 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.4126, allocations: 160.7 kB / 0.4918 GB, free: 4.332 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/0.4127, allocations: 0 / 0.4918 GB, free: 4.332 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.4128, allocations: 365.7 kB / 0.4922 GB, free: 3.988 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000276/0.4131, allocations: 174.8 kB / 0.4923 GB, free: 3.895 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003587/0.4135, allocations: 330.9 kB / 0.4926 GB, free: 3.594 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/0.4138, allocations: 199.2 kB / 0.4928 GB, free: 3.465 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.4138, allocations: 0 / 0.4928 GB, free: 3.465 MB / 362.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0009078/0.4147, allocations: 0.5979 MB / 0.4934 GB, free: 3.023 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005096/0.4152, allocations: 1.577 MB / 0.495 GB, free: 1.352 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.4152, allocations: 4 kB / 0.495 GB, free: 1.348 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004414/0.4157, allocations: 151.4 kB / 0.4951 GB, free: 1.238 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000352/0.4161, allocations: 87.02 kB / 0.4952 GB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/0.4185, allocations: 2.245 MB / 0.4974 GB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004607/0.419, allocations: 79.53 kB / 0.4975 GB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/0.4191, allocations: 26.77 kB / 0.4975 GB, free: 15.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.4191, allocations: 5.719 kB / 0.4975 GB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00076/0.4198, allocations: 0.5039 MB / 0.498 GB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4199, allocations: 4 kB / 0.498 GB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003373/0.4202, allocations: 149.2 kB / 0.4981 GB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003003/0.4205, allocations: 87.14 kB / 0.4982 GB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.4229, allocations: 2.248 MB / 0.5004 GB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003964/0.4233, allocations: 55.83 kB / 0.5005 GB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/0.4233, allocations: 28 kB / 0.5005 GB, free: 12.39 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: 27 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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,rectifier.diode_n1.off,rectifier.diode_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.0001712/0.4235, allocations: 135.9 kB / 0.5006 GB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.293e-05/0.4236, allocations: 59.33 kB / 0.5007 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.4237, allocations: 57.67 kB / 0.5007 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.4238, allocations: 4 kB / 0.5007 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.4238, allocations: 0 / 0.5007 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.4238, allocations: 3.984 kB / 0.5007 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.4256, allocations: 1.249 MB / 0.502 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.4256, allocations: 3.953 kB / 0.502 GB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.4259, allocations: 47.91 kB / 0.502 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003573/0.4262, allocations: 138.5 kB / 0.5021 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.521e-05/0.4263, allocations: 8 kB / 0.5021 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002352/0.4286, allocations: 2.225 MB / 0.5043 GB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.4287, allocations: 4 kB / 0.5043 GB, free: 8.297 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.4299, allocations: 0.8624 MB / 0.5052 GB, free: 7.418 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002191/0.4301, allocations: 184.3 kB / 0.5053 GB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.928e-05/0.4302, allocations: 7.938 kB / 0.5053 GB, free: 7.211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/0.4306, allocations: 39.97 kB / 0.5054 GB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.4307, allocations: 56.47 kB / 0.5054 GB, free: 7.117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/0.4308, allocations: 17.88 kB / 0.5055 GB, free: 7.102 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003031/0.4311, allocations: 283 kB / 0.5057 GB, free: 6.828 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4311, allocations: 3.938 kB / 0.5057 GB, free: 6.824 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001051/0.4321, allocations: 311 kB / 0.506 GB, free: 6.52 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.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * 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: 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.0001919/0.4323, allocations: 129.4 kB / 0.5061 GB, free: 6.383 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001639/0.434, allocations: 1.102 MB / 0.5072 GB, free: 5.262 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.434, allocations: 4 kB / 0.5072 GB, free: 5.258 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005785/0.4346, allocations: 424.4 kB / 0.5076 GB, free: 4.836 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005246/0.4351, allocations: 89.72 kB / 0.5077 GB, free: 4.754 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.437, allocations: 0.8839 MB / 0.5086 GB, free: 3.848 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005844/0.4376, allocations: 0.9589 MB / 0.5095 GB, free: 2.859 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004206/0.438, allocations: 112.6 kB / 0.5096 GB, free: 2.746 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.122e-05/0.4381, allocations: 39.44 kB / 0.5097 GB, free: 2.707 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4381, allocations: 0 / 0.5097 GB, free: 2.707 MB / 378.7 MB Notification: Performance of Templates: time 0.01746/0.4556, allocations: 9.698 MB / 0.5191 GB, free: 9.23 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/HalfControlledBridge2Pulse/HalfControlledBridge2Pulse.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches