Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.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.Rectifier1Pulse.Thyristor1Pulse_R,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00157/0.00157, 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.459/1.459, allocations: 225.6 MB / 234.8 MB, free: 3.238 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009373/0.0009375, allocations: 97.45 kB / 286.7 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.084e-05/2.087e-05, allocations: 0 / 343.8 MB, free: 8.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1149, allocations: 51.48 MB / 395.3 MB, free: 4.617 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3512/0.4662, allocations: 85.94 MB / 481.2 MB, free: 7.027 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/0.4666, allocations: 81.83 kB / 481.3 MB, free: 6.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02581/0.4924, allocations: 10.43 MB / 491.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4924, allocations: 0 / 491.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.891e-05/0.4925, allocations: 16 kB / 491.7 MB, free: 14.35 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001271/0.4938, allocations: 0.7138 MB / 492.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.4938, allocations: 8.031 kB / 492.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000236/0.4941, allocations: 71.33 kB / 492.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000548/0.4946, allocations: 377.9 kB / 492.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.4947, allocations: 19.59 kB / 492.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.336e-05/0.4947, allocations: 31.12 kB / 493 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004954/0.4952, allocations: 306.2 kB / 493.3 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006335/0.4959, allocations: 411.9 kB / 493.7 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.4959, allocations: 4 kB / 493.7 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.831e-05/0.496, allocations: 0 / 493.7 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.496, allocations: 12 kB / 493.7 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002374/0.4984, allocations: 1.562 MB / 495.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005056/0.4989, allocations: 273.3 kB / 495.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.499, allocations: 97.02 kB / 495.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.4991, allocations: 7.938 kB / 495.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003267/0.4994, allocations: 230.7 kB / 495.8 MB, free: 10.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.553e-06/0.4994, allocations: 0 / 495.8 MB, free: 10.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005553/0.5, allocations: 290.6 kB / 496.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.919e-05/0.5001, allocations: 144.3 kB / 496.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.5004, allocations: 292.8 kB / 496.5 MB, free: 10.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.5004, allocations: 29.7 kB / 496.6 MB, free: 10.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.5006, allocations: 253 kB / 496.8 MB, free: 9.988 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.721e-05/0.5007, allocations: 89.12 kB / 496.9 MB, free: 9.914 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.818e-05/0.5007, allocations: 0 / 496.9 MB, free: 9.914 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5008, allocations: 349 kB / 497.2 MB, free: 9.578 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.501, allocations: 107.5 kB / 497.4 MB, free: 9.512 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.5013, allocations: 262.4 kB / 497.6 MB, free: 9.242 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.5015, allocations: 129.6 kB / 497.7 MB, free: 9.156 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.5015, allocations: 0 / 497.7 MB, free: 9.156 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005819/0.5021, allocations: 388 kB / 498.1 MB, free: 8.855 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007752/0.5029, allocations: 1.658 MB / 499.8 MB, free: 7.098 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.5029, allocations: 4 kB / 499.8 MB, free: 7.094 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002264/0.5031, allocations: 47.78 kB / 499.8 MB, free: 7.055 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.5034, allocations: 79.27 kB / 499.9 MB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.5046, allocations: 1.441 MB / 0.4896 GB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004017/0.5051, allocations: 71.72 kB / 0.4897 GB, free: 5.441 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.5051, allocations: 15.25 kB / 0.4897 GB, free: 5.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.877e-06/0.5051, allocations: 4 kB / 0.4897 GB, free: 5.426 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004792/0.5056, allocations: 315 kB / 0.49 GB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.5056, allocations: 7.984 kB / 0.49 GB, free: 5.188 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001282/0.5058, allocations: 40.09 kB / 0.49 GB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.506, allocations: 63.16 kB / 0.4901 GB, free: 5.094 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.5071, allocations: 1.447 MB / 0.4915 GB, free: 3.625 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002991/0.5074, allocations: 59.72 kB / 0.4916 GB, free: 3.566 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/0.5074, allocations: 18.06 kB / 0.4916 GB, free: 3.555 MB / 362.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: 21 ($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,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_n,$PRE.idealthyristor.off,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001877/0.5076, allocations: 135.8 kB / 0.4917 GB, free: 3.418 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005097/0.5082, allocations: 287.3 kB / 0.492 GB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.714e-05/0.5082, allocations: 39.58 kB / 0.492 GB, free: 3.148 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.5083, allocations: 34.44 kB / 0.492 GB, free: 3.129 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.5084, allocations: 4 kB / 0.492 GB, free: 3.125 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.5084, allocations: 7.984 kB / 0.4921 GB, free: 3.117 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.5084, allocations: 0 / 0.4921 GB, free: 3.117 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.5095, allocations: 0.7988 MB / 0.4928 GB, free: 2.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.5095, allocations: 0 / 0.4928 GB, free: 2.445 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.5097, allocations: 31.48 kB / 0.4929 GB, free: 2.418 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001164/0.5098, allocations: 40.02 kB / 0.4929 GB, free: 2.383 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.5098, allocations: 7.312 kB / 0.4929 GB, free: 2.379 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/0.511, allocations: 1.353 MB / 0.4942 GB, free: 1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.511, allocations: 0 / 0.4942 GB, free: 1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007196/0.5117, allocations: 0.5131 MB / 0.4947 GB, free: 0.5859 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.5119, allocations: 142.1 kB / 0.4949 GB, free: 452 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.421e-05/0.512, allocations: 7.938 kB / 0.4949 GB, free: 448 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.5122, allocations: 36.03 kB / 0.4949 GB, free: 412 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.5124, allocations: 31.78 kB / 0.4949 GB, free: 384 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.5124, allocations: 15.73 kB / 0.495 GB, free: 372 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000242/0.5126, allocations: 214.5 kB / 0.4952 GB, free: 204 kB / 362.7 MB Notification: Performance of sort global known variables: time 2.124e-06/0.5126, allocations: 0 / 0.4952 GB, free: 204 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008824/0.5135, allocations: 194.5 kB / 0.4953 GB, free: 12 kB / 362.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: 15 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_n,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,idealthyristor.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 21 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001291/0.5148, allocations: 1.075 MB / 0.4964 GB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.5159, allocations: 0.6749 MB / 0.4971 GB, free: 14.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.5159, allocations: 6 kB / 0.4971 GB, free: 14.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002697/0.5162, allocations: 227.8 kB / 0.4973 GB, free: 14.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.5166, allocations: 53.2 kB / 0.4973 GB, free: 14.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.5184, allocations: 0.6934 MB / 0.498 GB, free: 13.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005224/0.519, allocations: 0.8607 MB / 0.4988 GB, free: 12.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003316/0.5193, allocations: 95.56 kB / 0.4989 GB, free: 12.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.5195, allocations: 144.8 kB / 0.4991 GB, free: 12.6 MB / 378.7 MB Notification: Performance of SimCode: time 4.81e-07/0.5195, allocations: 0 / 0.4991 GB, free: 12.6 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03/0.5495, allocations: 8.116 MB / 0.507 GB, free: 4.586 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/0.5498, allocations: 176 kB / 0.5072 GB, free: 4.398 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.24/2.79, allocations: 2.25 kB / 0.5072 GB, free: 4.398 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_res.mat does not exist to compare? outputFormat=mat