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.001379/0.001379, allocations: 181.4 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.4 MB / 223.1 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008612/0.0008613, allocations: 90.16 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002456/0.0002456, allocations: 8 kB / 328.4 MB, free: 15.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2138, allocations: 47.57 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08959/0.3034, allocations: 84.71 MB / 460.6 MB, free: 11.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/0.3037, allocations: 87.94 kB / 460.7 MB, free: 11.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02418/0.3279, allocations: 9.777 MB / 470.5 MB, free: 2.035 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3279, allocations: 0 / 470.5 MB, free: 2.035 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.713e-05/0.328, allocations: 12 kB / 470.5 MB, free: 2.023 MB / 346.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.001209/0.3292, allocations: 0.7544 MB / 471.3 MB, free: 1.223 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.3292, allocations: 8.031 kB / 471.3 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.351e-05/0.3293, allocations: 78.52 kB / 471.4 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.143e-05/0.3294, allocations: 55.34 kB / 471.4 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005219/0.3299, allocations: 379 kB / 471.8 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.083e-05/0.33, allocations: 37 kB / 471.8 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.446e-05/0.3301, allocations: 40 kB / 471.9 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008/0.3309, allocations: 482.9 kB / 472.3 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.3309, allocations: 11.84 kB / 472.3 MB, free: 96 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.91e-05/0.331, allocations: 16 kB / 472.4 MB, free: 80 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.128e-06/0.331, allocations: 12 kB / 472.4 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007084/0.3317, allocations: 371.8 kB / 472.7 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002263/0.334, allocations: 1.589 MB / 474.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009303/0.3349, allocations: 415.3 kB / 474.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.3349, allocations: 8.219 kB / 474.7 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004852/0.3354, allocations: 281.1 kB / 475 MB, free: 13.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 1.733e-06/0.3355, allocations: 0 / 475 MB, free: 13.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.001365/0.3368, allocations: 0.616 MB / 475.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/0.3369, allocations: 118.8 kB / 475.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/0.3372, allocations: 279.6 kB / 476 MB, free: 12.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.3372, allocations: 45.69 kB / 476.1 MB, free: 12.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.3374, allocations: 232.2 kB / 476.3 MB, free: 11.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.983e-05/0.3375, allocations: 94.64 kB / 476.4 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.715e-05/0.3375, allocations: 8 kB / 476.4 MB, free: 11.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.3376, allocations: 350.8 kB / 476.7 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002904/0.3379, allocations: 140.8 kB / 476.9 MB, free: 11.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003684/0.3383, allocations: 294.8 kB / 477.1 MB, free: 11.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003125/0.3386, allocations: 159.9 kB / 477.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3386, allocations: 0 / 477.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008105/0.3394, allocations: 490.2 kB / 477.8 MB, free: 10.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004861/0.3399, allocations: 1.67 MB / 479.5 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.3399, allocations: 4 kB / 479.5 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001998/0.3401, allocations: 44.83 kB / 479.5 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/0.3404, allocations: 83.83 kB / 479.6 MB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.3416, allocations: 1.502 MB / 481.1 MB, free: 6.801 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/0.3419, allocations: 63.66 kB / 481.1 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.342, allocations: 32.16 kB / 481.2 MB, free: 6.707 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.774e-06/0.342, allocations: 7.953 kB / 481.2 MB, free: 6.699 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006658/0.3427, allocations: 400.5 kB / 481.6 MB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3427, allocations: 4.281 kB / 481.6 MB, free: 6.301 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001134/0.3428, allocations: 48.83 kB / 481.6 MB, free: 6.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.343, allocations: 76.17 kB / 481.7 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009937/0.344, allocations: 1.495 MB / 483.2 MB, free: 4.543 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002725/0.3443, allocations: 59.75 kB / 483.3 MB, free: 4.484 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.3444, allocations: 16 kB / 483.3 MB, free: 4.469 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,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 () * Number of clocked 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.0002395/0.3446, allocations: 283.2 kB / 483.5 MB, free: 4.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.3447, allocations: 35.53 kB / 483.6 MB, free: 4.145 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.16e-05/0.3447, allocations: 40.08 kB / 483.6 MB, free: 4.102 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3448, allocations: 7.938 kB / 483.6 MB, free: 4.094 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.3448, allocations: 4 kB / 483.6 MB, free: 4.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.3448, allocations: 7.984 kB / 483.6 MB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.346, allocations: 0.9255 MB / 484.6 MB, free: 3.098 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3461, allocations: 0 / 484.6 MB, free: 3.098 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/0.3463, allocations: 35.97 kB / 484.6 MB, free: 3.062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001159/0.3464, allocations: 44.83 kB / 484.6 MB, free: 3.016 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.3464, allocations: 8 kB / 484.7 MB, free: 3.008 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009616/0.3474, allocations: 1.429 MB / 486.1 MB, free: 1.449 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3474, allocations: 4 kB / 486.1 MB, free: 1.445 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.3484, allocations: 0.6441 MB / 486.7 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.3486, allocations: 132.7 kB / 486.9 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.797e-05/0.3486, allocations: 12 kB / 486.9 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.3489, allocations: 47.95 kB / 486.9 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.619e-05/0.349, allocations: 31.94 kB / 487 MB, free: 0.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.349, allocations: 15.98 kB / 487 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002091/0.3493, allocations: 223 kB / 487.2 MB, free: 320 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3493, allocations: 4 kB / 487.2 MB, free: 316 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006721/0.35, allocations: 191.3 kB / 487.4 MB, free: 124 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,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) * Number of clocked states: 0 () * 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.001393/0.3514, allocations: 1.201 MB / 488.6 MB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001311/0.3527, allocations: 0.8042 MB / 489.4 MB, free: 14.06 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3527, allocations: 0 / 489.4 MB, free: 14.06 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004396/0.3531, allocations: 290.6 kB / 489.7 MB, free: 13.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.3535, allocations: 49.88 kB / 489.7 MB, free: 13.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/0.356, allocations: 4.135 MB / 493.8 MB, free: 9.453 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.3563, allocations: 0.8473 MB / 494.7 MB, free: 8.578 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002282/0.3566, allocations: 74.91 kB / 494.8 MB, free: 8.504 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.3567, allocations: 139.4 kB / 494.9 MB, free: 8.367 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.3568, allocations: 3.938 kB / 494.9 MB, free: 8.363 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01966/0.3764, allocations: 8.242 MB / 0.4914 GB, free: 144 kB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.1392/0.5156, allocations: 267.8 kB / 0.4916 GB, free: 114.9 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.046/2.562, allocations: 0 / 0.4916 GB, free: 114.9 MB / 378.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