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.001055/0.001055, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.237/1.237, allocations: 227.2 MB / 245 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000879/0.0008791, allocations: 100.5 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001924/0.0001924, allocations: 4 kB / 358 MB, free: 9.195 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.195, allocations: 51.49 MB / 409.5 MB, free: 26.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1025/0.2976, allocations: 86.86 MB / 496.4 MB, free: 3.695 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.2979, allocations: 87.94 kB / 496.5 MB, free: 3.609 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02735/0.3252, allocations: 10.68 MB / 0.4953 GB, free: 8.891 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3253, allocations: 0 / 0.4953 GB, free: 8.891 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.797e-05/0.3253, allocations: 15.98 kB / 0.4953 GB, free: 8.875 MB / 378.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.001353/0.3267, allocations: 0.7894 MB / 0.496 GB, free: 8.031 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3267, allocations: 8.031 kB / 0.4961 GB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000104/0.3268, allocations: 86.52 kB / 0.4961 GB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001995/0.327, allocations: 71.33 kB / 0.4962 GB, free: 7.859 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005083/0.3276, allocations: 383.6 kB / 0.4966 GB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/0.3276, allocations: 41 kB / 0.4966 GB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.506e-05/0.3277, allocations: 44 kB / 0.4966 GB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008463/0.3285, allocations: 0.5114 MB / 0.4971 GB, free: 6.832 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.3286, allocations: 0 / 0.4971 GB, free: 6.832 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.502e-05/0.3286, allocations: 20 kB / 0.4972 GB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.3286, allocations: 12 kB / 0.4972 GB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007679/0.3294, allocations: 399.8 kB / 0.4976 GB, free: 6.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002353/0.3318, allocations: 1.681 MB / 0.4992 GB, free: 4.637 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000968/0.3327, allocations: 460.9 kB / 0.4996 GB, free: 4.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.3328, allocations: 4 kB / 0.4996 GB, free: 4.176 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005012/0.3333, allocations: 295.8 kB / 0.4999 GB, free: 3.867 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.823e-06/0.3333, allocations: 0 / 0.4999 GB, free: 3.867 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.001394/0.3347, allocations: 0.6524 MB / 0.5006 GB, free: 3.188 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.948e-05/0.3348, allocations: 148.5 kB / 0.5007 GB, free: 3.012 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000346/0.3351, allocations: 304.7 kB / 0.501 GB, free: 2.711 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.3352, allocations: 41.69 kB / 0.501 GB, free: 2.664 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.3354, allocations: 248 kB / 0.5013 GB, free: 2.418 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.837e-05/0.3354, allocations: 94.7 kB / 0.5014 GB, free: 2.324 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.3355, allocations: 8 kB / 0.5014 GB, free: 2.316 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3356, allocations: 346.8 kB / 0.5017 GB, free: 1.969 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/0.3359, allocations: 160.7 kB / 0.5019 GB, free: 1.812 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004198/0.3364, allocations: 311.7 kB / 0.5022 GB, free: 1.441 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003372/0.3367, allocations: 175 kB / 0.5023 GB, free: 1.273 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3367, allocations: 0 / 0.5023 GB, free: 1.273 MB / 378.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008717/0.3376, allocations: 0.5178 MB / 0.5028 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.168/0.5056, allocations: 1.655 MB / 0.5044 GB, free: 92.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/0.5057, allocations: 5.719 kB / 0.5044 GB, free: 92.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002734/0.506, allocations: 46.98 kB / 0.5045 GB, free: 92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003793/0.5063, allocations: 82.84 kB / 0.5046 GB, free: 92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/0.5075, allocations: 1.506 MB / 0.506 GB, free: 90.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004369/0.508, allocations: 78.36 kB / 0.5061 GB, free: 90.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.856e-05/0.508, allocations: 17.66 kB / 0.5061 GB, free: 90.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.075e-06/0.508, allocations: 4.5 kB / 0.5061 GB, free: 90.67 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000829/0.5089, allocations: 424.1 kB / 0.5065 GB, free: 90.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.5089, allocations: 4.844 kB / 0.5065 GB, free: 90.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001248/0.509, allocations: 45.33 kB / 0.5066 GB, free: 90.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.5093, allocations: 75.58 kB / 0.5067 GB, free: 90.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008976/0.5102, allocations: 1.513 MB / 0.5081 GB, free: 89.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/0.5106, allocations: 57.39 kB / 0.5082 GB, free: 89.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.188e-05/0.5106, allocations: 19.22 kB / 0.5082 GB, free: 89.33 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 () * Number of clocked 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.0003321/0.5109, allocations: 287.8 kB / 0.5085 GB, free: 89.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.67e-05/0.511, allocations: 37.97 kB / 0.5085 GB, free: 89.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.346e-05/0.5111, allocations: 48.06 kB / 0.5086 GB, free: 89.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.5111, allocations: 3.906 kB / 0.5086 GB, free: 89.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.5111, allocations: 0 / 0.5086 GB, free: 89.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.5112, allocations: 2.922 kB / 0.5086 GB, free: 89.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.5126, allocations: 0.9756 MB / 0.5095 GB, free: 88.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.5126, allocations: 5.078 kB / 0.5095 GB, free: 88.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/0.5129, allocations: 52.39 kB / 0.5096 GB, free: 88.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001217/0.513, allocations: 42.47 kB / 0.5096 GB, free: 88.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.513, allocations: 9.906 kB / 0.5096 GB, free: 88.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008164/0.5139, allocations: 1.425 MB / 0.511 GB, free: 87.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.5139, allocations: 1.906 kB / 0.511 GB, free: 87.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.515, allocations: 0.6784 MB / 0.5117 GB, free: 87.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/0.5151, allocations: 154 kB / 0.5118 GB, free: 87.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.989e-05/0.5152, allocations: 8.844 kB / 0.5118 GB, free: 87.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003003/0.5155, allocations: 53.42 kB / 0.5119 GB, free: 87.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.452e-05/0.5156, allocations: 32.67 kB / 0.5119 GB, free: 87.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.5156, allocations: 13.05 kB / 0.5119 GB, free: 87.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002253/0.5159, allocations: 232.1 kB / 0.5122 GB, free: 87.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5159, allocations: 0 / 0.5122 GB, free: 87.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007689/0.5166, allocations: 210.6 kB / 0.5124 GB, free: 87.19 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) * Number of clocked states: 0 () * 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.001386/0.518, allocations: 1.255 MB / 0.5136 GB, free: 86.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00146/0.5195, allocations: 0.8379 MB / 0.5144 GB, free: 86.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5195, allocations: 2.438 kB / 0.5144 GB, free: 86.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003859/0.5199, allocations: 316.5 kB / 0.5147 GB, free: 86.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.5202, allocations: 53.06 kB / 0.5148 GB, free: 86.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.5222, allocations: 4.222 MB / 0.5189 GB, free: 82.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.5225, allocations: 0.8663 MB / 0.5197 GB, free: 81.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002308/0.5227, allocations: 79.14 kB / 0.5198 GB, free: 81.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.5229, allocations: 142.3 kB / 0.5199 GB, free: 81.43 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5229, allocations: 0 / 0.5199 GB, free: 81.43 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01897/0.5418, allocations: 8.806 MB / 0.5285 GB, free: 79.81 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001522/0.542, allocations: 257.1 kB / 0.5288 GB, free: 79.46 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.081/2.623, allocations: 3.609 kB / 0.5288 GB, free: 79.46 MB / 378.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