Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic,fileNamePrefix="Modelica_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 221.5 MB / 230.3 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009962/0.0009962, allocations: 94.42 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.788e-05/1.798e-05, allocations: 0 / 337.2 MB, free: 9.934 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1031, allocations: 50.43 MB / 387.6 MB, free: 7.469 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3654/0.4686, allocations: 85.31 MB / 472.9 MB, free: 9.406 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/0.4689, allocations: 83.95 kB / 473 MB, free: 9.324 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02841/0.4974, allocations: 10.42 MB / 483.4 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4974, allocations: 0 / 483.4 MB, free: 14.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.046e-05/0.4975, allocations: 8 kB / 483.4 MB, free: 14.87 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.001352/0.4988, allocations: 0.7272 MB / 484.1 MB, free: 14.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/0.4989, allocations: 12.02 kB / 484.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.499, allocations: 55.34 kB / 484.2 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006372/0.4997, allocations: 392.8 kB / 484.6 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.113e-05/0.4997, allocations: 16 kB / 484.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-05/0.4998, allocations: 24 kB / 484.6 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005818/0.5004, allocations: 306.5 kB / 484.9 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007189/0.5011, allocations: 429.9 kB / 485.3 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.5012, allocations: 0 / 485.3 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.392e-05/0.5012, allocations: 3.984 kB / 485.3 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.5012, allocations: 15.98 kB / 485.4 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002599/0.5038, allocations: 1.58 MB / 486.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008067/0.5047, allocations: 371 kB / 487.3 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.5048, allocations: 116.8 kB / 487.4 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.5049, allocations: 4 kB / 487.4 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004098/0.5053, allocations: 239.1 kB / 487.6 MB, free: 10.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 1.884e-06/0.5053, allocations: 0 / 487.6 MB, free: 10.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006621/0.506, allocations: 323.5 kB / 488 MB, free: 10.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.473e-05/0.5061, allocations: 136.5 kB / 488.1 MB, free: 9.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003274/0.5064, allocations: 269.1 kB / 488.4 MB, free: 9.645 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.535e-05/0.5065, allocations: 33.7 kB / 488.4 MB, free: 9.605 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.5066, allocations: 240 kB / 488.6 MB, free: 9.367 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.882e-05/0.5067, allocations: 102.6 kB / 488.7 MB, free: 9.266 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.774e-05/0.5068, allocations: 0 / 488.7 MB, free: 9.266 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.5069, allocations: 346.8 kB / 489.1 MB, free: 8.918 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.5071, allocations: 108.8 kB / 489.2 MB, free: 8.812 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.5074, allocations: 267 kB / 489.4 MB, free: 8.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.5076, allocations: 123.9 kB / 489.6 MB, free: 8.359 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.5076, allocations: 8 kB / 489.6 MB, free: 8.352 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005836/0.5082, allocations: 382.2 kB / 489.9 MB, free: 7.969 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006799/0.5089, allocations: 1.655 MB / 491.6 MB, free: 6.184 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.5089, allocations: 4 kB / 491.6 MB, free: 6.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002203/0.5091, allocations: 52.83 kB / 491.6 MB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.5094, allocations: 79.83 kB / 491.7 MB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.5107, allocations: 1.451 MB / 493.2 MB, free: 4.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003411/0.5111, allocations: 71.61 kB / 493.2 MB, free: 4.406 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.215e-05/0.5111, allocations: 20 kB / 493.3 MB, free: 4.387 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.803e-06/0.5112, allocations: 4 kB / 493.3 MB, free: 4.383 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004899/0.5116, allocations: 325 kB / 493.6 MB, free: 4.062 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.5117, allocations: 4 kB / 493.6 MB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001076/0.5118, allocations: 44.84 kB / 493.6 MB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.512, allocations: 79.97 kB / 493.7 MB, free: 3.934 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/0.5132, allocations: 1.443 MB / 495.2 MB, free: 2.379 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002991/0.5136, allocations: 55.81 kB / 495.2 MB, free: 2.324 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.5136, allocations: 16 kB / 495.2 MB, free: 2.309 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 (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.0001775/0.5138, allocations: 136 kB / 495.4 MB, free: 2.168 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005378/0.5143, allocations: 322 kB / 495.7 MB, free: 1.844 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.508e-05/0.5144, allocations: 35.62 kB / 495.7 MB, free: 1.809 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.5145, allocations: 44.38 kB / 495.7 MB, free: 1.762 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.5145, allocations: 4 kB / 495.8 MB, free: 1.758 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.5145, allocations: 0 / 495.8 MB, free: 1.758 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.5145, allocations: 3.953 kB / 495.8 MB, free: 1.754 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.5158, allocations: 0.8119 MB / 496.6 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.5158, allocations: 0 / 496.6 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/0.516, allocations: 51.91 kB / 496.6 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001114/0.5161, allocations: 40.83 kB / 496.7 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.5162, allocations: 4 kB / 496.7 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/0.5173, allocations: 1.35 MB / 498 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.5173, allocations: 3.984 kB / 498 MB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007429/0.5181, allocations: 0.5476 MB / 498.6 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.5182, allocations: 144.6 kB / 498.7 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.127e-05/0.5183, allocations: 8.188 kB / 498.7 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003226/0.5186, allocations: 47.95 kB / 498.8 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.839e-05/0.5187, allocations: 35.91 kB / 498.8 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/0.5188, allocations: 15.98 kB / 498.8 MB, free: 14.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002086/0.519, allocations: 208.6 kB / 499 MB, free: 14.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.519, allocations: 0 / 499 MB, free: 14.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000819/0.5198, allocations: 175.4 kB / 499.2 MB, free: 14.12 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.001133/0.521, allocations: 1.116 MB / 0.4886 GB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009958/0.522, allocations: 0.6785 MB / 0.4892 GB, free: 12.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.522, allocations: 4 kB / 0.4892 GB, free: 12.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003027/0.5223, allocations: 254.2 kB / 0.4895 GB, free: 12.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.5227, allocations: 68.08 kB / 0.4896 GB, free: 11.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.5243, allocations: 0.7023 MB / 0.4902 GB, free: 11.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004641/0.5247, allocations: 0.863 MB / 0.4911 GB, free: 10.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003303/0.5251, allocations: 91.2 kB / 0.4912 GB, free: 10.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002067/0.5253, allocations: 140.9 kB / 0.4913 GB, free: 10.1 MB / 378.7 MB Notification: Performance of SimCode: time 8.82e-07/0.5253, allocations: 3.938 kB / 0.4913 GB, free: 10.09 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03049/0.5558, allocations: 8.24 MB / 0.4994 GB, free: 1.922 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002332/0.5561, allocations: 202.5 kB / 0.4995 GB, free: 1.656 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.107/2.663, allocations: 0 / 0.4995 GB, free: 1.656 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R_Characteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R_Characteristic.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic_res.mat does not exist to compare? outputFormat=mat