Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001494/0.001494, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.552/1.552, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007884/0.0007885, allocations: 95.81 kB / 286.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.747e-05/1.743e-05, allocations: 4 kB / 343.8 MB, free: 8.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.108, allocations: 51.48 MB / 395.3 MB, free: 4.645 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.319/0.427, allocations: 85.22 MB / 480.5 MB, free: 7.938 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.4273, allocations: 85.28 kB / 480.6 MB, free: 7.891 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05021/0.4776, allocations: 21.44 MB / 0.4903 GB, free: 6.207 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.4776, allocations: 0 / 0.4903 GB, free: 6.207 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.77e-05/0.4777, allocations: 32.16 kB / 0.4903 GB, free: 6.176 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002567/0.4803, allocations: 1.395 MB / 0.4916 GB, free: 4.812 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.4803, allocations: 8.031 kB / 0.4917 GB, free: 4.805 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007321/0.481, allocations: 230 kB / 0.4919 GB, free: 4.578 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.4826, allocations: 0.9462 MB / 0.4928 GB, free: 3.797 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.807e-05/0.4826, allocations: 39.95 kB / 0.4928 GB, free: 3.758 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.4828, allocations: 60 kB / 0.4929 GB, free: 3.699 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001754/0.4845, allocations: 1.208 MB / 0.4941 GB, free: 2.969 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001972/0.4865, allocations: 1.33 MB / 0.4954 GB, free: 1.977 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.4865, allocations: 7.938 kB / 0.4954 GB, free: 1.969 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.552e-05/0.4866, allocations: 3.938 kB / 0.4954 GB, free: 1.965 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.83e-05/0.4867, allocations: 46.03 kB / 0.4954 GB, free: 1.918 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007017/0.4937, allocations: 4.803 MB / 0.5001 GB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.4952, allocations: 1.376 MB / 0.5015 GB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/0.4963, allocations: 0.6727 MB / 0.5021 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.91e-05/0.4964, allocations: 12.52 kB / 0.5021 GB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008215/0.4972, allocations: 0.5501 MB / 0.5027 GB, free: 10.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 2.024e-06/0.4972, allocations: 4 kB / 0.5027 GB, free: 10.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.001854/0.4991, allocations: 1.121 MB / 0.5038 GB, free: 9.227 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.962e-05/0.4991, allocations: 93.86 kB / 0.5039 GB, free: 9.117 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.5003, allocations: 0.7696 MB / 0.5046 GB, free: 8.344 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.76e-05/0.5003, allocations: 29.7 kB / 0.5046 GB, free: 8.309 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000509/0.5008, allocations: 0.523 MB / 0.5051 GB, free: 7.777 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/0.5011, allocations: 220.7 kB / 0.5054 GB, free: 7.559 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/0.5011, allocations: 0 / 0.5054 GB, free: 7.559 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.5013, allocations: 330 kB / 0.5057 GB, free: 7.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005013/0.5018, allocations: 365.4 kB / 0.506 GB, free: 6.867 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006038/0.5024, allocations: 0.4894 MB / 0.5065 GB, free: 6.328 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005472/0.5029, allocations: 397.9 kB / 0.5069 GB, free: 5.941 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.5029, allocations: 0 / 0.5069 GB, free: 5.941 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001783/0.5047, allocations: 1.143 MB / 0.508 GB, free: 4.789 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.5048, allocations: 4.438 kB / 0.508 GB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.5048, allocations: 4 kB / 0.508 GB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008483/0.5056, allocations: 403.2 kB / 0.5084 GB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005027/0.5061, allocations: 115.8 kB / 0.5085 GB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004936/0.5111, allocations: 4.007 MB / 0.5124 GB, free: 144 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006588/0.5118, allocations: 75.44 kB / 0.5125 GB, free: 68 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.335e-05/0.5118, allocations: 26.56 kB / 0.5125 GB, free: 44 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 15 ($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_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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 {6 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002101/0.5121, allocations: 122.7 kB / 0.5126 GB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001732/0.5138, allocations: 1.136 MB / 0.5137 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.5139, allocations: 90.95 kB / 0.5138 GB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003127/0.5142, allocations: 112.6 kB / 0.5139 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.5143, allocations: 8 kB / 0.5139 GB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.5143, allocations: 0 / 0.5139 GB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.5143, allocations: 3.984 kB / 0.5139 GB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003326/0.5176, allocations: 2.327 MB / 0.5162 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.5176, allocations: 4 kB / 0.5162 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004202/0.5181, allocations: 88 kB / 0.5163 GB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007345/0.5188, allocations: 380.6 kB / 0.5167 GB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.535e-05/0.5189, allocations: 11.95 kB / 0.5167 GB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004686/0.5236, allocations: 3.965 MB / 0.5205 GB, free: 7.613 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.5236, allocations: 7.984 kB / 0.5206 GB, free: 7.605 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002466/0.526, allocations: 1.787 MB / 0.5223 GB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004462/0.5265, allocations: 279.9 kB / 0.5226 GB, free: 5.508 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.5266, allocations: 0 / 0.5226 GB, free: 5.508 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004329/0.5271, allocations: 43.94 kB / 0.5226 GB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/0.5273, allocations: 72.67 kB / 0.5227 GB, free: 5.395 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-05/0.5273, allocations: 23.98 kB / 0.5227 GB, free: 5.371 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008278/0.5282, allocations: 0.6006 MB / 0.5233 GB, free: 4.773 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5282, allocations: 0 / 0.5233 GB, free: 4.773 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001001/0.5292, allocations: 322.8 kB / 0.5236 GB, free: 4.457 MB / 394.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: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.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 (45): * Single equations (assignments): 41 * 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 {6 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.002627/0.5318, allocations: 2.365 MB / 0.5259 GB, free: 2.062 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.5336, allocations: 1.147 MB / 0.527 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5336, allocations: 0 / 0.527 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009683/0.5346, allocations: 0.7348 MB / 0.5277 GB, free: 168 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009081/0.5355, allocations: 204.4 kB / 0.5279 GB, free: 15.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003852/0.5394, allocations: 2.217 MB / 0.5301 GB, free: 13.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/0.5404, allocations: 1.411 MB / 0.5315 GB, free: 12.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004754/0.5409, allocations: 167 kB / 0.5316 GB, free: 12.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005374/0.5414, allocations: 415.3 kB / 0.532 GB, free: 11.69 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5414, allocations: 0 / 0.532 GB, free: 11.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05166/0.5931, allocations: 23.37 MB / 0.5549 GB, free: 4.57 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/0.5933, allocations: 202 kB / 0.5551 GB, free: 4.305 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.469/3.062, allocations: 0 / 0.5551 GB, free: 4.305 MB / 426.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat does not exist to compare? outputFormat=mat