Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001135/0.001135, allocations: 196.1 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.354/1.354, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007963/0.0007963, allocations: 88.7 kB / 292.1 MB, free: 6.004 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.57e-05/2.579e-05, allocations: 4 kB / 350.7 MB, free: 2.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1053, allocations: 51.48 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3521/0.4574, allocations: 85.18 MB / 487.3 MB, free: 4.273 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.4577, allocations: 86.25 kB / 487.4 MB, free: 4.227 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03374/0.4915, allocations: 13.93 MB / 0.4896 GB, free: 7.949 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4915, allocations: 0 / 0.4896 GB, free: 7.949 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.645e-05/0.4916, allocations: 20.16 kB / 0.4896 GB, free: 7.93 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001612/0.4932, allocations: 0.9607 MB / 0.4905 GB, free: 6.926 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.4932, allocations: 14.38 kB / 0.4905 GB, free: 6.914 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001408/0.4934, allocations: 110.5 kB / 0.4906 GB, free: 6.797 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003958/0.4938, allocations: 138.5 kB / 0.4908 GB, free: 6.664 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.4948, allocations: 0.6109 MB / 0.4914 GB, free: 6.012 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.747e-05/0.4949, allocations: 49.31 kB / 0.4914 GB, free: 5.965 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.495, allocations: 64 kB / 0.4915 GB, free: 5.902 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.4964, allocations: 0.8842 MB / 0.4923 GB, free: 4.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.4964, allocations: 4 kB / 0.4924 GB, free: 4.977 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.962e-05/0.4965, allocations: 27.98 kB / 0.4924 GB, free: 4.949 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.124e-05/0.4965, allocations: 29.31 kB / 0.4924 GB, free: 4.918 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.4977, allocations: 0.7235 MB / 0.4931 GB, free: 4.191 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004337/0.5021, allocations: 2.837 MB / 0.4959 GB, free: 1.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.5031, allocations: 0.7237 MB / 0.4966 GB, free: 476 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005/0.5036, allocations: 325.3 kB / 0.4969 GB, free: 148 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-05/0.5037, allocations: 12.31 kB / 0.4969 GB, free: 136 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005317/0.5042, allocations: 358.6 kB / 0.4973 GB, free: 15.76 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.414e-06/0.5042, allocations: 0 / 0.4973 GB, free: 15.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.001129/0.5053, allocations: 0.6487 MB / 0.4979 GB, free: 15.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.294e-05/0.5054, allocations: 113.1 kB / 0.498 GB, free: 14.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006655/0.5061, allocations: 0.5154 MB / 0.4985 GB, free: 14.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.643e-05/0.5062, allocations: 37.7 kB / 0.4985 GB, free: 14.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002909/0.5065, allocations: 352 kB / 0.4989 GB, free: 14.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.5066, allocations: 142 kB / 0.499 GB, free: 13.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/0.5066, allocations: 16.03 kB / 0.499 GB, free: 13.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.5068, allocations: 358.8 kB / 0.4994 GB, free: 13.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002929/0.5071, allocations: 201 kB / 0.4996 GB, free: 13.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003838/0.5075, allocations: 342.3 kB / 0.4999 GB, free: 12.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003337/0.5079, allocations: 223.7 kB / 0.5001 GB, free: 12.74 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.5079, allocations: 7.953 kB / 0.5001 GB, free: 12.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001026/0.5089, allocations: 0.6981 MB / 0.5008 GB, free: 12.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.5089, allocations: 8 kB / 0.5008 GB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.5089, allocations: 4.469 kB / 0.5008 GB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000493/0.5094, allocations: 204.7 kB / 0.501 GB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.5098, allocations: 75.89 kB / 0.5011 GB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002753/0.5125, allocations: 2.672 MB / 0.5037 GB, free: 8.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003714/0.5129, allocations: 55.64 kB / 0.5037 GB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/0.513, allocations: 16 kB / 0.5037 GB, free: 8.855 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.5131, allocations: 128.9 kB / 0.5039 GB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.101e-05/0.5132, allocations: 67.28 kB / 0.5039 GB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001731/0.5134, allocations: 73.12 kB / 0.504 GB, free: 8.586 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.5134, allocations: 4 kB / 0.504 GB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5134, allocations: 0 / 0.504 GB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.5134, allocations: 3.984 kB / 0.504 GB, free: 8.578 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002285/0.5157, allocations: 1.606 MB / 0.5056 GB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.5157, allocations: 0 / 0.5056 GB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/0.516, allocations: 47.91 kB / 0.5056 GB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003984/0.5164, allocations: 188.7 kB / 0.5058 GB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.663e-05/0.5164, allocations: 15.98 kB / 0.5058 GB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002638/0.5191, allocations: 2.646 MB / 0.5084 GB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.5191, allocations: 0 / 0.5084 GB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.5205, allocations: 1.057 MB / 0.5094 GB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002594/0.5208, allocations: 192.3 kB / 0.5096 GB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.611e-05/0.5208, allocations: 8 kB / 0.5096 GB, free: 2.566 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/0.5211, allocations: 27.97 kB / 0.5097 GB, free: 2.539 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.5213, allocations: 47.94 kB / 0.5097 GB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.034e-05/0.5213, allocations: 15.98 kB / 0.5097 GB, free: 2.477 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004772/0.5218, allocations: 417.5 kB / 0.5101 GB, free: 2.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5218, allocations: 0 / 0.5101 GB, free: 2.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006878/0.5225, allocations: 207.2 kB / 0.5103 GB, free: 1.867 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.00176/0.5242, allocations: 1.687 MB / 0.512 GB, free: 148 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.5253, allocations: 0.6851 MB / 0.5126 GB, free: 15.45 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.5254, allocations: 4 kB / 0.5126 GB, free: 15.45 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005908/0.526, allocations: 458.5 kB / 0.5131 GB, free: 14.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006121/0.5266, allocations: 147 kB / 0.5132 GB, free: 14.85 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.5289, allocations: 1.305 MB / 0.5145 GB, free: 13.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006587/0.5296, allocations: 1.086 MB / 0.5155 GB, free: 12.39 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000266/0.5299, allocations: 92.72 kB / 0.5156 GB, free: 12.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003183/0.5302, allocations: 244.8 kB / 0.5159 GB, free: 12.06 MB / 394.7 MB Notification: Performance of SimCode: time 5.31e-07/0.5302, allocations: 3.938 kB / 0.5159 GB, free: 12.05 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02975/0.56, allocations: 14.97 MB / 0.5305 GB, free: 13.48 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/0.5602, allocations: 233.2 kB / 0.5307 GB, free: 13.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.194/2.754, allocations: 6.672 kB / 0.5307 GB, free: 13.16 MB / 410.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat does not exist to compare? outputFormat=mat