Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic,fileNamePrefix="Modelica_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001934/0.001934, allocations: 177.7 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008453/0.0008451, allocations: 90.34 kB / 262.5 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.725e-05/1.728e-05, allocations: 8 kB / 315.6 MB, free: 22.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08933/0.08936, allocations: 47.58 MB / 363.2 MB, free: 6.953 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3092/0.3986, allocations: 84.2 MB / 447.4 MB, free: 11.17 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/0.3989, allocations: 87.69 kB / 447.5 MB, free: 11.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02489/0.4238, allocations: 9.67 MB / 457.1 MB, free: 3.047 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4238, allocations: 0 / 457.1 MB, free: 3.047 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.834e-05/0.4239, allocations: 12 kB / 457.2 MB, free: 3.035 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.001116/0.425, allocations: 0.7053 MB / 457.9 MB, free: 2.312 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.425, allocations: 12.03 kB / 457.9 MB, free: 2.301 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.4251, allocations: 55.34 kB / 457.9 MB, free: 2.246 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004889/0.4256, allocations: 378 kB / 458.3 MB, free: 1.891 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/0.4257, allocations: 12 kB / 458.3 MB, free: 1.879 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.89e-05/0.4258, allocations: 27.94 kB / 458.3 MB, free: 1.852 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004575/0.4262, allocations: 275.1 kB / 458.6 MB, free: 1.684 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006401/0.4269, allocations: 388.5 kB / 459 MB, free: 1.395 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.4269, allocations: 0 / 459 MB, free: 1.395 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.122e-05/0.4269, allocations: 3.984 kB / 459 MB, free: 1.391 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.427, allocations: 12 kB / 459 MB, free: 1.379 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002205/0.4292, allocations: 1.498 MB / 460.5 MB, free: 88 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007101/0.4299, allocations: 330.6 kB / 460.8 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.4301, allocations: 103 kB / 460.9 MB, free: 15.78 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.4301, allocations: 12.16 kB / 460.9 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003766/0.4305, allocations: 229.3 kB / 461.2 MB, free: 15.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 1.573e-06/0.4305, allocations: 0 / 461.2 MB, free: 15.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.0005643/0.4311, allocations: 291.8 kB / 461.4 MB, free: 15.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.4311, allocations: 114.8 kB / 461.6 MB, free: 15.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.4314, allocations: 260.4 kB / 461.8 MB, free: 14.99 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.4315, allocations: 36.94 kB / 461.8 MB, free: 14.95 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.4316, allocations: 232.5 kB / 462.1 MB, free: 14.77 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.802e-05/0.4317, allocations: 96.95 kB / 462.2 MB, free: 14.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.686e-05/0.4317, allocations: 0 / 462.2 MB, free: 14.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.4318, allocations: 345 kB / 462.5 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.432, allocations: 99.3 kB / 462.6 MB, free: 14.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/0.4322, allocations: 247.2 kB / 462.8 MB, free: 14.03 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.4324, allocations: 109.5 kB / 462.9 MB, free: 13.96 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.4324, allocations: 4 kB / 463 MB, free: 13.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005122/0.4329, allocations: 363.8 kB / 463.3 MB, free: 13.67 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005892/0.4335, allocations: 1.66 MB / 465 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.4335, allocations: 7.984 kB / 465 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002115/0.4338, allocations: 43.78 kB / 465 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.4341, allocations: 79.83 kB / 465.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.4353, allocations: 1.446 MB / 466.5 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003239/0.4356, allocations: 63.64 kB / 466.6 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.4357, allocations: 16 kB / 466.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.542e-06/0.4357, allocations: 0 / 466.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004381/0.4361, allocations: 300.2 kB / 466.9 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4362, allocations: 4 kB / 466.9 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001095/0.4363, allocations: 47.7 kB / 467 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.4365, allocations: 71.86 kB / 467 MB, free: 9.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001021/0.4376, allocations: 1.454 MB / 468.5 MB, free: 8.438 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002801/0.4378, allocations: 47.72 kB / 468.5 MB, free: 8.391 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.4379, allocations: 12 kB / 468.5 MB, free: 8.379 MB / 346.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$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 (47): * Single equations (assignments): 46 * 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.0001475/0.438, allocations: 138.9 kB / 468.7 MB, free: 8.242 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000526/0.4386, allocations: 298.6 kB / 469 MB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.084e-05/0.4386, allocations: 35.53 kB / 469 MB, free: 7.969 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.964e-05/0.4387, allocations: 34.94 kB / 469 MB, free: 7.949 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.4387, allocations: 4 kB / 469 MB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.4387, allocations: 0 / 469 MB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.884e-06/0.4388, allocations: 7.938 kB / 469.1 MB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009692/0.4397, allocations: 0.7652 MB / 469.8 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.4397, allocations: 0 / 469.8 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/0.44, allocations: 43.28 kB / 469.9 MB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001127/0.4401, allocations: 42.95 kB / 469.9 MB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.4401, allocations: 4 kB / 469.9 MB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009267/0.4411, allocations: 1.36 MB / 471.3 MB, free: 5.828 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.4411, allocations: 8.031 kB / 471.3 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005881/0.4417, allocations: 0.4952 MB / 471.8 MB, free: 5.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.4418, allocations: 134 kB / 471.9 MB, free: 5.293 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.885e-05/0.4419, allocations: 7.438 kB / 471.9 MB, free: 5.289 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/0.4422, allocations: 43.95 kB / 472 MB, free: 5.246 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.776e-05/0.4423, allocations: 32.97 kB / 472 MB, free: 5.219 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.4423, allocations: 18.11 kB / 472 MB, free: 5.203 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001996/0.4425, allocations: 198.8 kB / 472.2 MB, free: 5.047 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4425, allocations: 0 / 472.2 MB, free: 5.047 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007091/0.4432, allocations: 178.7 kB / 472.4 MB, free: 4.875 MB / 346.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,rootMeanSquareVoltage.mean.y,meanCurrent.y,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 (28): * Single equations (assignments): 22 * 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.0009337/0.4442, allocations: 1.063 MB / 473.4 MB, free: 3.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008597/0.445, allocations: 0.6613 MB / 474.1 MB, free: 3.367 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.445, allocations: 0 / 474.1 MB, free: 3.367 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002634/0.4453, allocations: 240 kB / 474.3 MB, free: 3.168 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.4456, allocations: 44.14 kB / 474.4 MB, free: 3.137 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.447, allocations: 0.6596 MB / 475 MB, free: 2.512 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.4474, allocations: 0.8532 MB / 475.9 MB, free: 1.637 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002845/0.4477, allocations: 79.77 kB / 476 MB, free: 1.559 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.4479, allocations: 135.6 kB / 476.1 MB, free: 1.523 MB / 346.7 MB Notification: Performance of SimCode: time 5.21e-07/0.4479, allocations: 0 / 476.1 MB, free: 1.523 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02793/0.4758, allocations: 7.853 MB / 483.9 MB, free: 9.676 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/0.4761, allocations: 204.3 kB / 484.1 MB, free: 9.406 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.045/2.521, allocations: 3.953 kB / 484.2 MB, free: 9.402 MB / 362.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R_Characteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R_Characteristic.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic_res.mat does not exist to compare? outputFormat=mat