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.001479/0.001479, allocations: 177.1 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 221.3 MB / 235.5 MB, free: 2.945 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.0008757/0.0008757, allocations: 95.66 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.266e-05/3.27e-05, allocations: 4 kB / 343.9 MB, free: 4.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1086, allocations: 50.41 MB / 394.4 MB, free: 1.758 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3439/0.4525, allocations: 85.98 MB / 480.3 MB, free: 1.504 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/0.4529, allocations: 79.94 kB / 480.4 MB, free: 1.426 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0284/0.4813, allocations: 10.51 MB / 490.9 MB, free: 6.891 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4813, allocations: 0 / 490.9 MB, free: 6.891 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.981e-05/0.4814, allocations: 8 kB / 490.9 MB, free: 6.883 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.001311/0.4827, allocations: 0.7307 MB / 491.7 MB, free: 6.102 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.4827, allocations: 8.031 kB / 491.7 MB, free: 6.094 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000102/0.4829, allocations: 82.52 kB / 491.8 MB, free: 6.004 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.483, allocations: 59.34 kB / 491.8 MB, free: 5.945 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005864/0.4836, allocations: 380.6 kB / 492.2 MB, free: 5.531 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.539e-05/0.4837, allocations: 33 kB / 492.2 MB, free: 5.496 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-05/0.4837, allocations: 51.98 kB / 492.3 MB, free: 5.445 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008323/0.4846, allocations: 479.8 kB / 492.7 MB, free: 4.961 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.4846, allocations: 0 / 492.7 MB, free: 4.961 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.002e-05/0.4847, allocations: 20 kB / 492.8 MB, free: 4.941 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.4847, allocations: 12 kB / 492.8 MB, free: 4.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005593/0.4853, allocations: 327.8 kB / 493.1 MB, free: 4.605 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002614/0.4879, allocations: 1.67 MB / 494.8 MB, free: 2.844 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008569/0.4888, allocations: 397.4 kB / 495.1 MB, free: 2.449 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.489, allocations: 116.8 kB / 495.3 MB, free: 2.332 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.287e-05/0.489, allocations: 4 kB / 495.3 MB, free: 2.328 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004277/0.4894, allocations: 247.5 kB / 495.5 MB, free: 2.066 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 1.703e-06/0.4894, allocations: 0 / 495.5 MB, free: 2.066 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007088/0.4902, allocations: 343.1 kB / 495.8 MB, free: 1.723 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.941e-05/0.4903, allocations: 148.5 kB / 496 MB, free: 1.547 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003302/0.4906, allocations: 286.6 kB / 496.3 MB, free: 1.258 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.287e-05/0.4907, allocations: 37.7 kB / 496.3 MB, free: 1.215 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.4908, allocations: 248 kB / 496.5 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.303e-05/0.4909, allocations: 98.61 kB / 496.6 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.083e-05/0.491, allocations: 8 kB / 496.6 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.4911, allocations: 350.7 kB / 497 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.4913, allocations: 116.8 kB / 497.1 MB, free: 408 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003351/0.4916, allocations: 271.7 kB / 497.4 MB, free: 64 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/0.4919, allocations: 135.9 kB / 497.5 MB, free: 15.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4919, allocations: 0 / 497.5 MB, free: 15.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0006641/0.4926, allocations: 433.7 kB / 497.9 MB, free: 15.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007224/0.4933, allocations: 1.663 MB / 499.6 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.4933, allocations: 7.938 kB / 499.6 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002281/0.4936, allocations: 44.92 kB / 499.6 MB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/0.4939, allocations: 91.81 kB / 499.7 MB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.4953, allocations: 1.495 MB / 0.4895 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003788/0.4957, allocations: 67.66 kB / 0.4895 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.4957, allocations: 27.94 kB / 0.4896 GB, free: 11.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.4958, allocations: 4 kB / 0.4896 GB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005731/0.4963, allocations: 376.3 kB / 0.4899 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.4964, allocations: 4.531 kB / 0.4899 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001255/0.4965, allocations: 48.84 kB / 0.49 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/0.4967, allocations: 71.83 kB / 0.4901 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/0.4979, allocations: 1.487 MB / 0.4915 GB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003136/0.4982, allocations: 59.73 kB / 0.4916 GB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.4983, allocations: 16.12 kB / 0.4916 GB, free: 9.641 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.0001797/0.4985, allocations: 160.1 kB / 0.4917 GB, free: 9.477 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.788e-05/0.4985, allocations: 35.53 kB / 0.4918 GB, free: 9.441 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.4986, allocations: 40.08 kB / 0.4918 GB, free: 9.402 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.4987, allocations: 4 kB / 0.4918 GB, free: 9.398 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4987, allocations: 3.984 kB / 0.4918 GB, free: 9.395 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.4987, allocations: 0 / 0.4918 GB, free: 9.395 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/0.5, allocations: 0.9087 MB / 0.4927 GB, free: 8.426 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.5, allocations: 4 kB / 0.4927 GB, free: 8.422 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.5002, allocations: 43.97 kB / 0.4927 GB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001239/0.5004, allocations: 40.78 kB / 0.4928 GB, free: 8.336 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/0.5004, allocations: 7.984 kB / 0.4928 GB, free: 8.328 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001125/0.5015, allocations: 1.406 MB / 0.4942 GB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5016, allocations: 0 / 0.4942 GB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007955/0.5024, allocations: 0.5855 MB / 0.4947 GB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/0.5025, allocations: 144.6 kB / 0.4949 GB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.808e-05/0.5026, allocations: 11.94 kB / 0.4949 GB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003059/0.5029, allocations: 47.95 kB / 0.4949 GB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.993e-05/0.503, allocations: 35.95 kB / 0.495 GB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.503, allocations: 11.98 kB / 0.495 GB, free: 5.914 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002444/0.5033, allocations: 226.1 kB / 0.4952 GB, free: 5.695 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5033, allocations: 0 / 0.4952 GB, free: 5.695 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000873/0.5042, allocations: 207.4 kB / 0.4954 GB, free: 5.488 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.001125/0.5053, allocations: 1.14 MB / 0.4965 GB, free: 4.316 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001155/0.5065, allocations: 0.7385 MB / 0.4972 GB, free: 3.555 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5065, allocations: 3.938 kB / 0.4972 GB, free: 3.551 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003346/0.5068, allocations: 271.7 kB / 0.4975 GB, free: 3.273 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.5072, allocations: 57.12 kB / 0.4975 GB, free: 3.219 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.5089, allocations: 0.7485 MB / 0.4983 GB, free: 2.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005242/0.5094, allocations: 0.863 MB / 0.4991 GB, free: 1.539 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003236/0.5097, allocations: 95.47 kB / 0.4992 GB, free: 1.445 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002066/0.51, allocations: 139.4 kB / 0.4993 GB, free: 1.309 MB / 378.7 MB Notification: Performance of SimCode: time 7.81e-07/0.51, allocations: 0 / 0.4993 GB, free: 1.309 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02511/0.5351, allocations: 9.143 MB / 0.5083 GB, free: 8.465 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002079/0.5353, allocations: 235.7 kB / 0.5085 GB, free: 8.152 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.14/2.675, allocations: 0 / 0.5085 GB, free: 8.152 MB / 394.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