Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.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: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001043/0.001043, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007434/0.0007435, allocations: 97.44 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.789e-05/1.791e-05, allocations: 4 kB / 343.8 MB, free: 8.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09965/0.09969, allocations: 51.48 MB / 395.3 MB, free: 4.691 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3304/0.4301, allocations: 89.15 MB / 484.4 MB, free: 4.109 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/0.4304, allocations: 81.94 kB / 484.5 MB, free: 4.062 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03457/0.465, allocations: 14.05 MB / 498.6 MB, free: 8.465 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.465, allocations: 0 / 498.6 MB, free: 8.465 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.001e-05/0.4651, allocations: 20 kB / 498.6 MB, free: 8.445 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.001502/0.4666, allocations: 0.8857 MB / 499.5 MB, free: 7.555 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.4666, allocations: 8.031 kB / 499.5 MB, free: 7.547 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003535/0.467, allocations: 114.5 kB / 499.6 MB, free: 7.438 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007158/0.4677, allocations: 492.5 kB / 0.4883 GB, free: 7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.792e-05/0.4678, allocations: 23.98 kB / 0.4884 GB, free: 6.977 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.071e-05/0.4679, allocations: 43.91 kB / 0.4884 GB, free: 6.934 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007174/0.4686, allocations: 429.3 kB / 0.4888 GB, free: 6.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009231/0.4695, allocations: 0.5733 MB / 0.4894 GB, free: 6.238 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.4695, allocations: 0 / 0.4894 GB, free: 6.238 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.163e-05/0.4696, allocations: 7.984 kB / 0.4894 GB, free: 6.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.4696, allocations: 12.34 kB / 0.4894 GB, free: 6.219 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00317/0.4728, allocations: 2.307 MB / 0.4917 GB, free: 4.293 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005735/0.4734, allocations: 402.7 kB / 0.492 GB, free: 4.051 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004239/0.4738, allocations: 251.3 kB / 0.4923 GB, free: 3.875 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/0.4739, allocations: 4 kB / 0.4923 GB, free: 3.871 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004277/0.4743, allocations: 300.4 kB / 0.4926 GB, free: 3.625 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 1.854e-06/0.4743, allocations: 0 / 0.4926 GB, free: 3.625 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.0006818/0.475, allocations: 426.4 kB / 0.493 GB, free: 3.301 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.345e-05/0.4751, allocations: 165.8 kB / 0.4931 GB, free: 3.105 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004025/0.4755, allocations: 375.6 kB / 0.4935 GB, free: 2.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.548e-05/0.4756, allocations: 33.02 kB / 0.4935 GB, free: 2.785 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.4758, allocations: 331.6 kB / 0.4938 GB, free: 2.535 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.4759, allocations: 145.6 kB / 0.494 GB, free: 2.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.447e-05/0.4759, allocations: 0 / 0.494 GB, free: 2.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.4761, allocations: 359.2 kB / 0.4943 GB, free: 2.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/0.4763, allocations: 154.3 kB / 0.4945 GB, free: 1.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003471/0.4767, allocations: 320.6 kB / 0.4948 GB, free: 1.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.4769, allocations: 170.6 kB / 0.4949 GB, free: 1.574 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.4769, allocations: 8 kB / 0.4949 GB, free: 1.566 MB / 362.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000737/0.4777, allocations: 0.5089 MB / 0.4954 GB, free: 1.172 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006641/0.4784, allocations: 1.66 MB / 0.4971 GB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.4784, allocations: 8 kB / 0.4971 GB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002884/0.4787, allocations: 80.06 kB / 0.4971 GB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003558/0.479, allocations: 103.2 kB / 0.4972 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.4806, allocations: 1.694 MB / 0.4989 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004204/0.481, allocations: 79.61 kB / 0.499 GB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.481, allocations: 22.56 kB / 0.499 GB, free: 13.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.003e-06/0.481, allocations: 4 kB / 0.499 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006457/0.4817, allocations: 441.1 kB / 0.4994 GB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4817, allocations: 4.062 kB / 0.4994 GB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001933/0.4819, allocations: 77.77 kB / 0.4995 GB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003112/0.4822, allocations: 95.25 kB / 0.4996 GB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001512/0.4838, allocations: 1.693 MB / 0.5012 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003781/0.4842, allocations: 55.66 kB / 0.5013 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.628e-05/0.4842, allocations: 25.25 kB / 0.5013 GB, free: 11.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($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_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.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 (64): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001934/0.4844, allocations: 135.1 kB / 0.5014 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006477/0.4851, allocations: 429.9 kB / 0.5019 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.436e-05/0.4851, allocations: 59.31 kB / 0.5019 GB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.4853, allocations: 52.03 kB / 0.502 GB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.4853, allocations: 4 kB / 0.502 GB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4853, allocations: 4 kB / 0.502 GB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.4853, allocations: 3.984 kB / 0.502 GB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/0.4871, allocations: 1.203 MB / 0.5032 GB, free: 9.676 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.4871, allocations: 7.938 kB / 0.5032 GB, free: 9.668 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002578/0.4874, allocations: 51.91 kB / 0.5032 GB, free: 9.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001966/0.4876, allocations: 76.81 kB / 0.5033 GB, free: 9.539 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.062e-05/0.4876, allocations: 7.984 kB / 0.5033 GB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/0.4891, allocations: 1.58 MB / 0.5048 GB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4891, allocations: 0 / 0.5048 GB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.4901, allocations: 0.7479 MB / 0.5056 GB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/0.4903, allocations: 180.4 kB / 0.5057 GB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.711e-05/0.4904, allocations: 4 kB / 0.5057 GB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003204/0.4907, allocations: 38.88 kB / 0.5058 GB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.4909, allocations: 56.34 kB / 0.5058 GB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.4909, allocations: 20 kB / 0.5058 GB, free: 6.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000311/0.4912, allocations: 275 kB / 0.5061 GB, free: 6.484 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4912, allocations: 4 kB / 0.5061 GB, free: 6.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009425/0.4922, allocations: 279 kB / 0.5064 GB, free: 6.207 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 18 (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_p.off,rectifier.thyristor_n.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_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 36 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001389/0.4936, allocations: 1.398 MB / 0.5077 GB, free: 4.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001354/0.4949, allocations: 0.9024 MB / 0.5086 GB, free: 3.852 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.495, allocations: 4 kB / 0.5086 GB, free: 3.848 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004086/0.4954, allocations: 335.1 kB / 0.509 GB, free: 3.512 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004657/0.4959, allocations: 78.86 kB / 0.509 GB, free: 3.438 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.4978, allocations: 0.9975 MB / 0.51 GB, free: 2.398 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005088/0.4983, allocations: 0.9419 MB / 0.5109 GB, free: 1.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004109/0.4988, allocations: 119.5 kB / 0.511 GB, free: 1.316 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002673/0.499, allocations: 231.4 kB / 0.5113 GB, free: 1.09 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.499, allocations: 0 / 0.5113 GB, free: 1.09 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03436/0.5334, allocations: 11.97 MB / 0.5229 GB, free: 5.289 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002432/0.5337, allocations: 207.5 kB / 0.5231 GB, free: 5 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.328/2.862, allocations: 4 kB / 0.5231 GB, free: 4.996 MB / 394.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat does not exist to compare? outputFormat=mat