Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.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_RL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001449/0.001449, allocations: 198.1 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 225.6 MB / 234.8 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000894/0.0008941, allocations: 93.45 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.965e-05/1.949e-05, allocations: 4 kB / 343.8 MB, free: 8.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.102, allocations: 51.48 MB / 395.3 MB, free: 4.617 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3495/0.4516, allocations: 88.85 MB / 484.1 MB, free: 4.363 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.4519, allocations: 85.44 kB / 484.2 MB, free: 4.316 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.034/0.4859, allocations: 13.76 MB / 498 MB, free: 8.953 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.486, allocations: 0 / 498 MB, free: 8.953 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.88e-05/0.486, allocations: 23.94 kB / 498 MB, free: 8.93 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.001831/0.4879, allocations: 0.8683 MB / 498.9 MB, free: 8.055 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.4879, allocations: 8.031 kB / 498.9 MB, free: 8.047 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004831/0.4884, allocations: 113.7 kB / 499 MB, free: 7.941 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.4895, allocations: 489.8 kB / 499.5 MB, free: 7.504 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.365e-05/0.4895, allocations: 23.98 kB / 499.5 MB, free: 7.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.4896, allocations: 46.94 kB / 499.5 MB, free: 7.438 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007453/0.4904, allocations: 415.6 kB / 499.9 MB, free: 7.191 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009289/0.4913, allocations: 0.5523 MB / 0.4888 GB, free: 6.766 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/0.4914, allocations: 7.984 kB / 0.4888 GB, free: 6.758 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.451e-05/0.4914, allocations: 3.062 kB / 0.4888 GB, free: 6.758 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.4914, allocations: 19.95 kB / 0.4888 GB, free: 6.738 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003467/0.4949, allocations: 2.25 MB / 0.491 GB, free: 4.852 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006039/0.4955, allocations: 400.2 kB / 0.4914 GB, free: 4.609 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004086/0.496, allocations: 239.1 kB / 0.4916 GB, free: 4.445 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.41e-05/0.496, allocations: 4 kB / 0.4916 GB, free: 4.441 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004528/0.4965, allocations: 303.3 kB / 0.4919 GB, free: 4.191 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 2.745e-06/0.4965, allocations: 0 / 0.4919 GB, free: 4.191 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.0007428/0.4972, allocations: 414.4 kB / 0.4923 GB, free: 3.879 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.914e-05/0.4973, allocations: 158.7 kB / 0.4924 GB, free: 3.688 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004486/0.4978, allocations: 372.8 kB / 0.4928 GB, free: 3.406 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.35e-05/0.4979, allocations: 45.31 kB / 0.4928 GB, free: 3.359 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002157/0.4981, allocations: 324.8 kB / 0.4932 GB, free: 3.113 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.4982, allocations: 142.4 kB / 0.4933 GB, free: 2.992 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/0.4982, allocations: 0 / 0.4933 GB, free: 2.992 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4984, allocations: 362.8 kB / 0.4936 GB, free: 2.648 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/0.4986, allocations: 149.5 kB / 0.4938 GB, free: 2.566 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000324/0.499, allocations: 314.6 kB / 0.4941 GB, free: 2.266 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.4992, allocations: 171.9 kB / 0.4942 GB, free: 2.156 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.4992, allocations: 1.688 kB / 0.4942 GB, free: 2.156 MB / 362.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007766/0.5, allocations: 0.5183 MB / 0.4947 GB, free: 1.754 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005307/0.5006, allocations: 1.653 MB / 0.4964 GB, free: 4 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-05/0.5006, allocations: 15.98 kB / 0.4964 GB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002847/0.5009, allocations: 74.97 kB / 0.4964 GB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/0.5013, allocations: 94.83 kB / 0.4965 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001529/0.5028, allocations: 1.692 MB / 0.4982 GB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004542/0.5033, allocations: 75.61 kB / 0.4983 GB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.143e-05/0.5034, allocations: 23.88 kB / 0.4983 GB, free: 14.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.686e-06/0.5034, allocations: 4.625 kB / 0.4983 GB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006536/0.504, allocations: 437.3 kB / 0.4987 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.5041, allocations: 4 kB / 0.4987 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000197/0.5043, allocations: 79.94 kB / 0.4988 GB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/0.5046, allocations: 100.3 kB / 0.4989 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/0.5061, allocations: 1.696 MB / 0.5005 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003996/0.5065, allocations: 59.56 kB / 0.5006 GB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/0.5066, allocations: 19.94 kB / 0.5006 GB, free: 12 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 (63): * Single equations (assignments): 62 * 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.0001674/0.5067, allocations: 139.8 kB / 0.5007 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005858/0.5073, allocations: 411.8 kB / 0.5011 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.456e-05/0.5074, allocations: 59.3 kB / 0.5012 GB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.5076, allocations: 55.92 kB / 0.5013 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.5076, allocations: 4 kB / 0.5013 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.5076, allocations: 0 / 0.5013 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.5076, allocations: 0 / 0.5013 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/0.5092, allocations: 1.186 MB / 0.5024 GB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.5092, allocations: 4.062 kB / 0.5024 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.5094, allocations: 51.84 kB / 0.5025 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001959/0.5097, allocations: 87.02 kB / 0.5026 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/0.5097, allocations: 3.953 kB / 0.5026 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001275/0.511, allocations: 1.584 MB / 0.5041 GB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.511, allocations: 0 / 0.5041 GB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009904/0.512, allocations: 0.7595 MB / 0.5048 GB, free: 7.711 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/0.5122, allocations: 168.4 kB / 0.505 GB, free: 7.527 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.917e-05/0.5123, allocations: 4 kB / 0.505 GB, free: 7.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000329/0.5126, allocations: 35.97 kB / 0.505 GB, free: 7.488 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.5127, allocations: 52.36 kB / 0.5051 GB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/0.5128, allocations: 19.98 kB / 0.5051 GB, free: 7.418 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003151/0.5131, allocations: 278.9 kB / 0.5054 GB, free: 7.148 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5131, allocations: 0 / 0.5054 GB, free: 7.148 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009177/0.514, allocations: 271 kB / 0.5056 GB, free: 6.883 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 (41): * Single equations (assignments): 35 * 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.001313/0.5153, allocations: 1.398 MB / 0.507 GB, free: 5.449 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001191/0.5165, allocations: 0.8938 MB / 0.5079 GB, free: 4.539 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5166, allocations: 0 / 0.5079 GB, free: 4.539 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000379/0.5169, allocations: 343.1 kB / 0.5082 GB, free: 4.195 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004536/0.5174, allocations: 73.11 kB / 0.5083 GB, free: 4.129 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.5192, allocations: 0.9776 MB / 0.5092 GB, free: 3.109 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/0.5197, allocations: 0.9344 MB / 0.5101 GB, free: 2.145 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004026/0.5201, allocations: 124.3 kB / 0.5103 GB, free: 2.023 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/0.5204, allocations: 215.4 kB / 0.5105 GB, free: 1.816 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.5204, allocations: 0 / 0.5105 GB, free: 1.816 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03285/0.5532, allocations: 11.82 MB / 0.522 GB, free: 6.172 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002845/0.5536, allocations: 206.3 kB / 0.5222 GB, free: 5.883 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.404/2.958, allocations: 0 / 0.5222 GB, free: 5.883 MB / 394.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat does not exist to compare? outputFormat=mat