Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.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_Characteristic,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R_Characteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002019/0.002019, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001156/0.001156, allocations: 94.2 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.169e-05/3.212e-05, allocations: 8.219 kB / 350.7 MB, free: 2.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.103, allocations: 51.48 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4038/0.5068, allocations: 86.79 MB / 488.9 MB, free: 2.73 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/0.5071, allocations: 85.02 kB / 489 MB, free: 2.684 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02964/0.5367, allocations: 10.66 MB / 499.7 MB, free: 9.656 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5368, allocations: 0 / 499.7 MB, free: 9.656 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.97e-05/0.5368, allocations: 12 kB / 499.7 MB, free: 9.645 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001712/0.5386, allocations: 0.7322 MB / 0.4887 GB, free: 8.871 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.5386, allocations: 16.03 kB / 0.4887 GB, free: 8.855 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001835/0.5388, allocations: 78.53 kB / 0.4888 GB, free: 8.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002903/0.5391, allocations: 71.33 kB / 0.4888 GB, free: 8.699 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007368/0.5399, allocations: 392 kB / 0.4892 GB, free: 8.285 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.61e-05/0.5399, allocations: 37 kB / 0.4893 GB, free: 8.246 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.658e-05/0.54, allocations: 44 kB / 0.4893 GB, free: 8.203 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009195/0.5409, allocations: 483.9 kB / 0.4898 GB, free: 7.711 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.541, allocations: 3.906 kB / 0.4898 GB, free: 7.707 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.133e-05/0.541, allocations: 22.34 kB / 0.4898 GB, free: 7.688 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.5411, allocations: 8 kB / 0.4898 GB, free: 7.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006399/0.5417, allocations: 327.8 kB / 0.4901 GB, free: 7.359 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002963/0.5447, allocations: 1.676 MB / 0.4917 GB, free: 5.594 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009432/0.5457, allocations: 387 kB / 0.4921 GB, free: 5.207 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.5459, allocations: 120.8 kB / 0.4922 GB, free: 5.086 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.5459, allocations: 2.5 kB / 0.4922 GB, free: 5.086 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004284/0.5463, allocations: 256 kB / 0.4925 GB, free: 4.816 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 2.575e-06/0.5464, allocations: 0 / 0.4925 GB, free: 4.816 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007476/0.5471, allocations: 339.2 kB / 0.4928 GB, free: 4.477 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.896e-05/0.5472, allocations: 140.5 kB / 0.4929 GB, free: 4.309 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003921/0.5476, allocations: 303.4 kB / 0.4932 GB, free: 4.008 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.355e-05/0.5477, allocations: 45.7 kB / 0.4933 GB, free: 3.957 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.5479, allocations: 244.1 kB / 0.4935 GB, free: 3.711 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.59e-05/0.548, allocations: 102.6 kB / 0.4936 GB, free: 3.609 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.894e-05/0.548, allocations: 8 kB / 0.4936 GB, free: 3.602 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.5482, allocations: 350.8 kB / 0.4939 GB, free: 3.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.5484, allocations: 116.8 kB / 0.494 GB, free: 3.137 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003447/0.5488, allocations: 270.4 kB / 0.4943 GB, free: 2.805 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.549, allocations: 135.9 kB / 0.4944 GB, free: 2.672 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.5491, allocations: 3.953 kB / 0.4944 GB, free: 2.668 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007359/0.5498, allocations: 450.5 kB / 0.4949 GB, free: 2.219 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007197/0.5505, allocations: 1.658 MB / 0.4965 GB, free: 444 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.5505, allocations: 4 kB / 0.4965 GB, free: 440 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000224/0.5508, allocations: 40.84 kB / 0.4965 GB, free: 396 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003277/0.5511, allocations: 83.83 kB / 0.4966 GB, free: 312 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/0.5527, allocations: 1.499 MB / 0.4981 GB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004967/0.5532, allocations: 75.61 kB / 0.4981 GB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/0.5533, allocations: 20 kB / 0.4982 GB, free: 14.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.5533, allocations: 4 kB / 0.4982 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006213/0.5539, allocations: 372.3 kB / 0.4985 GB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.485e-06/0.5539, allocations: 4.938 kB / 0.4985 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001442/0.5541, allocations: 44.83 kB / 0.4986 GB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002711/0.5544, allocations: 80.38 kB / 0.4987 GB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00129/0.5557, allocations: 1.491 MB / 0.5001 GB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003818/0.5561, allocations: 59.72 kB / 0.5002 GB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/0.5561, allocations: 20 kB / 0.5002 GB, free: 12.38 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: 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 (49): * Single equations (assignments): 48 * 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.0001938/0.5563, allocations: 149.5 kB / 0.5003 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.848e-05/0.5564, allocations: 43.53 kB / 0.5004 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.5565, allocations: 44.19 kB / 0.5004 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.5565, allocations: 4 kB / 0.5004 GB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.5565, allocations: 4.609 kB / 0.5004 GB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.371e-06/0.5566, allocations: 0 / 0.5004 GB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/0.558, allocations: 0.9129 MB / 0.5013 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.558, allocations: 0 / 0.5013 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/0.5583, allocations: 51.89 kB / 0.5014 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001375/0.5584, allocations: 36.84 kB / 0.5014 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/0.5585, allocations: 11.89 kB / 0.5014 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001244/0.5597, allocations: 1.415 MB / 0.5028 GB, free: 9.504 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.5597, allocations: 5.516 kB / 0.5028 GB, free: 9.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008565/0.5606, allocations: 0.5731 MB / 0.5034 GB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/0.5608, allocations: 144.6 kB / 0.5035 GB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.598e-05/0.5609, allocations: 11.95 kB / 0.5035 GB, free: 8.738 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003293/0.5612, allocations: 47.95 kB / 0.5035 GB, free: 8.691 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.5613, allocations: 35.95 kB / 0.5036 GB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.5614, allocations: 11.98 kB / 0.5036 GB, free: 8.645 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002506/0.5616, allocations: 226.2 kB / 0.5038 GB, free: 8.422 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5616, allocations: 0 / 0.5038 GB, free: 8.422 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007893/0.5624, allocations: 211.2 kB / 0.504 GB, free: 8.215 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: 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 (30): * Single equations (assignments): 24 * 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.001205/0.5636, allocations: 1.15 MB / 0.5051 GB, free: 7.039 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001201/0.5648, allocations: 0.7348 MB / 0.5058 GB, free: 6.281 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.5649, allocations: 1.969 kB / 0.5059 GB, free: 6.281 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003917/0.5653, allocations: 274.4 kB / 0.5061 GB, free: 6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.5656, allocations: 54.02 kB / 0.5062 GB, free: 5.949 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.5673, allocations: 0.7587 MB / 0.5069 GB, free: 5.148 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004585/0.5677, allocations: 0.867 MB / 0.5078 GB, free: 4.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003297/0.5681, allocations: 95.56 kB / 0.5078 GB, free: 4.156 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.5683, allocations: 139.4 kB / 0.508 GB, free: 4.023 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.5683, allocations: 4 kB / 0.508 GB, free: 4.02 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0261/0.5944, allocations: 9.327 MB / 0.5171 GB, free: 11.05 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002766/0.5947, allocations: 235.5 kB / 0.5173 GB, free: 10.73 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.349/2.943, allocations: 8.688 kB / 0.5173 GB, free: 10.73 MB / 394.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R_Characteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R_Characteristic.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic_res.mat does not exist to compare? outputFormat=mat