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.001173/0.001173, 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.437/1.437, allocations: 225.4 MB / 240.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009015/0.0009015, allocations: 87.81 kB / 292.1 MB, free: 6.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.088e-05/3.099e-05, allocations: 4 kB / 350.7 MB, free: 2.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1083, allocations: 51.49 MB / 402.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3261/0.4345, allocations: 85.89 MB / 488 MB, free: 3.559 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001953/0.4347, allocations: 88.23 kB / 488.1 MB, free: 3.512 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05326/0.488, allocations: 21.66 MB / 0.4978 GB, free: 15.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.488, allocations: 0 / 0.4978 GB, free: 15.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.539e-05/0.4881, allocations: 46.5 kB / 0.4979 GB, free: 15.39 MB / 378.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.002537/0.4907, allocations: 1.396 MB / 0.4992 GB, free: 13.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.4907, allocations: 8.031 kB / 0.4992 GB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002137/0.4909, allocations: 168.6 kB / 0.4994 GB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006948/0.4916, allocations: 222.1 kB / 0.4996 GB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001636/0.4933, allocations: 0.9494 MB / 0.5005 GB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.382e-05/0.4934, allocations: 78.02 kB / 0.5006 GB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/0.4935, allocations: 112 kB / 0.5007 GB, free: 12.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002185/0.4957, allocations: 1.467 MB / 0.5022 GB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.211e-05/0.4958, allocations: 7.938 kB / 0.5022 GB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.4959, allocations: 48 kB / 0.5022 GB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.452e-05/0.4959, allocations: 42.03 kB / 0.5022 GB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/0.4979, allocations: 1.285 MB / 0.5035 GB, free: 9.434 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007079/0.505, allocations: 5.003 MB / 0.5084 GB, free: 4.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.5066, allocations: 1.412 MB / 0.5098 GB, free: 2.719 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/0.5077, allocations: 0.7 MB / 0.5104 GB, free: 2.016 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.415e-05/0.5078, allocations: 8.562 kB / 0.5105 GB, free: 2.008 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008624/0.5087, allocations: 0.5829 MB / 0.511 GB, free: 1.402 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 2.785e-06/0.5087, allocations: 0 / 0.511 GB, free: 1.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.002149/0.5108, allocations: 1.18 MB / 0.5122 GB, free: 216 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.117e-05/0.5109, allocations: 89.89 kB / 0.5123 GB, free: 104 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.5121, allocations: 0.8362 MB / 0.5131 GB, free: 15.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.627e-05/0.5122, allocations: 45.69 kB / 0.5131 GB, free: 15.2 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004978/0.5127, allocations: 0.5208 MB / 0.5136 GB, free: 14.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/0.5129, allocations: 228.7 kB / 0.5138 GB, free: 14.45 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.513, allocations: 16 kB / 0.5139 GB, free: 14.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.5132, allocations: 337.9 kB / 0.5142 GB, free: 14.1 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005396/0.5137, allocations: 377.4 kB / 0.5145 GB, free: 13.73 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006551/0.5144, allocations: 0.5065 MB / 0.515 GB, free: 13.17 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005968/0.515, allocations: 407.1 kB / 0.5154 GB, free: 12.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.515, allocations: 4 kB / 0.5154 GB, free: 12.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001823/0.5168, allocations: 1.214 MB / 0.5166 GB, free: 11.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.5168, allocations: 11.94 kB / 0.5166 GB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.5169, allocations: 4 kB / 0.5166 GB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000946/0.5178, allocations: 399.2 kB / 0.517 GB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005023/0.5183, allocations: 111.9 kB / 0.5171 GB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005437/0.5238, allocations: 4.13 MB / 0.5212 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008605/0.5247, allocations: 83.45 kB / 0.5212 GB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.754e-05/0.5247, allocations: 24 kB / 0.5213 GB, free: 6.664 MB / 394.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.0002253/0.525, allocations: 158.5 kB / 0.5214 GB, free: 6.504 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.5251, allocations: 94.91 kB / 0.5215 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003344/0.5255, allocations: 122.5 kB / 0.5216 GB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.5255, allocations: 11.95 kB / 0.5216 GB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5255, allocations: 0 / 0.5216 GB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.5255, allocations: 3.984 kB / 0.5216 GB, free: 6.27 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004015/0.5295, allocations: 2.533 MB / 0.5241 GB, free: 3.676 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.5296, allocations: 0 / 0.5241 GB, free: 3.676 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004315/0.53, allocations: 91.88 kB / 0.5242 GB, free: 3.586 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008213/0.5308, allocations: 388.7 kB / 0.5246 GB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.386e-05/0.5309, allocations: 15.98 kB / 0.5246 GB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005132/0.536, allocations: 4.086 MB / 0.5286 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.5361, allocations: 0 / 0.5286 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00293/0.539, allocations: 1.853 MB / 0.5304 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006146/0.5396, allocations: 291.8 kB / 0.5307 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.5398, allocations: 16 kB / 0.5307 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004654/0.5402, allocations: 43.95 kB / 0.5307 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002444/0.5405, allocations: 84.66 kB / 0.5308 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.121e-05/0.5405, allocations: 19.98 kB / 0.5308 GB, free: 12.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001084/0.5416, allocations: 0.6592 MB / 0.5315 GB, free: 11.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5416, allocations: 0 / 0.5315 GB, free: 11.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00115/0.5428, allocations: 350.9 kB / 0.5318 GB, free: 11.63 MB / 410.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.003139/0.546, allocations: 2.442 MB / 0.5342 GB, free: 9.156 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002081/0.5481, allocations: 1.203 MB / 0.5354 GB, free: 7.938 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.5481, allocations: 0 / 0.5354 GB, free: 7.938 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00119/0.5493, allocations: 0.7607 MB / 0.5361 GB, free: 7.164 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.5504, allocations: 231.7 kB / 0.5363 GB, free: 6.941 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004414/0.5548, allocations: 2.284 MB / 0.5385 GB, free: 4.621 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/0.5559, allocations: 1.411 MB / 0.5399 GB, free: 3.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004982/0.5564, allocations: 175.1 kB / 0.5401 GB, free: 3.004 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005583/0.557, allocations: 419.3 kB / 0.5405 GB, free: 2.594 MB / 410.7 MB Notification: Performance of SimCode: time 1.403e-06/0.557, allocations: 0 / 0.5405 GB, free: 2.594 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0506/0.6076, allocations: 25.96 MB / 0.5658 GB, free: 9.031 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/0.6078, allocations: 234.5 kB / 0.5661 GB, free: 8.719 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.508/3.115, allocations: 3.516 kB / 0.5661 GB, free: 8.719 MB / 442.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