Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.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,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001147/0.001147, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009159/0.0009156, allocations: 92.03 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.651e-05/3.677e-05, allocations: 7.984 kB / 350.7 MB, free: 2.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1245, allocations: 51.48 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4043/0.5288, allocations: 86.6 MB / 488.7 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.5291, allocations: 89.75 kB / 488.8 MB, free: 2.836 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0284/0.5575, allocations: 10.51 MB / 499.3 MB, free: 9.953 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5576, allocations: 0 / 499.3 MB, free: 9.953 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.965e-05/0.5577, allocations: 12 kB / 499.4 MB, free: 9.941 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001646/0.5593, allocations: 0.7222 MB / 0.4884 GB, free: 9.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.5594, allocations: 8.031 kB / 0.4884 GB, free: 9.172 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001845/0.5596, allocations: 78.53 kB / 0.4884 GB, free: 9.086 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003047/0.5599, allocations: 71.33 kB / 0.4885 GB, free: 9.016 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008135/0.5607, allocations: 385.1 kB / 0.4889 GB, free: 8.605 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.76e-05/0.5608, allocations: 40.94 kB / 0.4889 GB, free: 8.562 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.984e-05/0.5609, allocations: 40 kB / 0.489 GB, free: 8.523 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009301/0.5618, allocations: 468 kB / 0.4894 GB, free: 8.047 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/0.5619, allocations: 3.984 kB / 0.4894 GB, free: 8.043 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.59e-05/0.562, allocations: 24 kB / 0.4894 GB, free: 8.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.562, allocations: 10.34 kB / 0.4894 GB, free: 8.012 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006558/0.5627, allocations: 323.8 kB / 0.4897 GB, free: 7.695 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003315/0.566, allocations: 1.645 MB / 0.4914 GB, free: 5.961 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007084/0.5668, allocations: 284 kB / 0.4916 GB, free: 5.676 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/0.5669, allocations: 112.8 kB / 0.4917 GB, free: 5.562 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.567, allocations: 4 kB / 0.4917 GB, free: 5.559 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003997/0.5674, allocations: 236.9 kB / 0.492 GB, free: 5.309 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 2.274e-06/0.5674, allocations: 0 / 0.492 GB, free: 5.309 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.0007129/0.5681, allocations: 325.8 kB / 0.4923 GB, free: 4.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.749e-05/0.5682, allocations: 140.5 kB / 0.4924 GB, free: 4.812 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004273/0.5687, allocations: 319.5 kB / 0.4927 GB, free: 4.492 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.445e-05/0.5687, allocations: 37.69 kB / 0.4927 GB, free: 4.449 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.569, allocations: 256.4 kB / 0.493 GB, free: 4.191 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.5691, allocations: 90.8 kB / 0.4931 GB, free: 4.102 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.976e-05/0.5691, allocations: 8 kB / 0.4931 GB, free: 4.094 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.5693, allocations: 350.7 kB / 0.4934 GB, free: 3.742 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.5695, allocations: 120.8 kB / 0.4935 GB, free: 3.621 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003061/0.5698, allocations: 267.7 kB / 0.4938 GB, free: 3.289 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002612/0.5701, allocations: 127.9 kB / 0.4939 GB, free: 3.164 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.5701, allocations: 3.953 kB / 0.4939 GB, free: 3.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007221/0.5708, allocations: 435.1 kB / 0.4943 GB, free: 2.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007882/0.5716, allocations: 1.658 MB / 0.496 GB, free: 0.9453 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.5716, allocations: 4 kB / 0.496 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002505/0.5719, allocations: 50.23 kB / 0.496 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.5722, allocations: 75.84 kB / 0.4961 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/0.5737, allocations: 1.491 MB / 0.4975 GB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004696/0.5742, allocations: 79.55 kB / 0.4976 GB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.5742, allocations: 24.06 kB / 0.4976 GB, free: 15.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.5743, allocations: 4 kB / 0.4976 GB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006308/0.5749, allocations: 369.5 kB / 0.498 GB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.5749, allocations: 8.031 kB / 0.498 GB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001302/0.5751, allocations: 40.84 kB / 0.498 GB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.5753, allocations: 67.84 kB / 0.4981 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.5766, allocations: 1.495 MB / 0.4996 GB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/0.5769, allocations: 55.81 kB / 0.4996 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.577, allocations: 16 kB / 0.4996 GB, free: 12.91 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 (48): * Single equations (assignments): 47 * 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.0001818/0.5772, allocations: 158.2 kB / 0.4998 GB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.995e-05/0.5773, allocations: 35.53 kB / 0.4998 GB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.552e-05/0.5774, allocations: 45.44 kB / 0.4999 GB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.5774, allocations: 0 / 0.4999 GB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.5774, allocations: 7.953 kB / 0.4999 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.5774, allocations: 0 / 0.4999 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.5788, allocations: 0.8854 MB / 0.5007 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.5788, allocations: 3.984 kB / 0.5007 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.579, allocations: 23.98 kB / 0.5008 GB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001342/0.5791, allocations: 40.78 kB / 0.5008 GB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.5791, allocations: 4 kB / 0.5008 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/0.5803, allocations: 1.41 MB / 0.5022 GB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.5804, allocations: 4.031 kB / 0.5022 GB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007777/0.5811, allocations: 0.5437 MB / 0.5027 GB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001765/0.5813, allocations: 144.6 kB / 0.5028 GB, free: 9.371 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.651e-05/0.5814, allocations: 13.72 kB / 0.5029 GB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002831/0.5817, allocations: 39.95 kB / 0.5029 GB, free: 9.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.5818, allocations: 35.95 kB / 0.5029 GB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.5818, allocations: 11.94 kB / 0.5029 GB, free: 9.273 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002976/0.5821, allocations: 246.2 kB / 0.5032 GB, free: 9.031 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5821, allocations: 0 / 0.5032 GB, free: 9.031 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008026/0.583, allocations: 211.3 kB / 0.5034 GB, free: 8.824 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 (27): * Single equations (assignments): 21 * 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.001156/0.5841, allocations: 1.103 MB / 0.5045 GB, free: 7.695 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.5852, allocations: 0.7184 MB / 0.5052 GB, free: 6.957 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5853, allocations: 0 / 0.5052 GB, free: 6.957 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000318/0.5856, allocations: 258.4 kB / 0.5054 GB, free: 6.691 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.586, allocations: 56.36 kB / 0.5055 GB, free: 6.641 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.5877, allocations: 0.7188 MB / 0.5062 GB, free: 5.883 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005336/0.5883, allocations: 0.8574 MB / 0.507 GB, free: 4.996 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003543/0.5886, allocations: 100.8 kB / 0.5071 GB, free: 4.902 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/0.5888, allocations: 147.4 kB / 0.5072 GB, free: 4.758 MB / 378.7 MB Notification: Performance of SimCode: time 4.2e-07/0.5889, allocations: 0 / 0.5072 GB, free: 4.758 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0279/0.6168, allocations: 9.106 MB / 0.5161 GB, free: 12 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002187/0.617, allocations: 216.7 kB / 0.5163 GB, free: 11.78 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.246/2.863, allocations: 0 / 0.5163 GB, free: 11.78 MB / 394.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_res.mat does not exist to compare? outputFormat=mat