Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.4 MB / 223.1 MB, free: 9.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007954/0.0007951, allocations: 88.11 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000258/0.0002583, allocations: 4 kB / 328.4 MB, free: 15.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3025, allocations: 47.57 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1149/0.4175, allocations: 83.34 MB / 459.3 MB, free: 13.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003331/0.4179, allocations: 87.94 kB / 459.3 MB, free: 13.21 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03657/0.4545, allocations: 13.49 MB / 472.8 MB, free: 15.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.4545, allocations: 0 / 472.8 MB, free: 15.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.711e-05/0.4546, allocations: 20 kB / 472.9 MB, free: 15.6 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002396/0.457, allocations: 1.042 MB / 473.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.457, allocations: 12.03 kB / 473.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002746/0.4573, allocations: 114.4 kB / 474 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000257/0.4576, allocations: 90.88 kB / 474.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.4588, allocations: 0.6148 MB / 474.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.541e-05/0.4589, allocations: 49.31 kB / 474.8 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.459, allocations: 71.91 kB / 474.8 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.4606, allocations: 0.9036 MB / 475.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.87e-05/0.4606, allocations: 4 kB / 475.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.542e-05/0.4607, allocations: 27.95 kB / 475.8 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.174e-05/0.4608, allocations: 33.3 kB / 475.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.4621, allocations: 0.7663 MB / 476.6 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004532/0.4667, allocations: 2.82 MB / 479.4 MB, free: 8.812 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009988/0.4677, allocations: 0.7457 MB / 480.1 MB, free: 8.008 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.947e-05/0.4678, allocations: 8.328 kB / 480.2 MB, free: 8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006312/0.4684, allocations: 385 kB / 480.5 MB, free: 7.605 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 2.906e-06/0.4684, allocations: 8 kB / 480.5 MB, free: 7.598 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.002595/0.471, allocations: 1.194 MB / 481.7 MB, free: 6.375 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.043e-05/0.4711, allocations: 85.11 kB / 481.8 MB, free: 6.273 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007/0.4718, allocations: 0.5127 MB / 482.3 MB, free: 5.754 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.985e-05/0.4719, allocations: 33.7 kB / 482.4 MB, free: 5.715 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/0.4721, allocations: 356.1 kB / 482.7 MB, free: 5.363 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.4723, allocations: 134 kB / 482.8 MB, free: 5.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/0.4723, allocations: 12 kB / 482.8 MB, free: 5.219 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.4725, allocations: 362.8 kB / 483.2 MB, free: 4.855 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000373/0.4729, allocations: 225 kB / 483.4 MB, free: 4.637 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004541/0.4733, allocations: 356 kB / 483.8 MB, free: 4.234 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004273/0.4738, allocations: 252 kB / 484 MB, free: 3.988 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.4738, allocations: 0 / 484 MB, free: 3.988 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001243/0.475, allocations: 0.7508 MB / 484.8 MB, free: 3.227 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.4751, allocations: 8.438 kB / 484.8 MB, free: 3.219 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.4751, allocations: 4 kB / 484.8 MB, free: 3.215 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005889/0.4757, allocations: 204.7 kB / 485 MB, free: 3.012 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003311/0.476, allocations: 71.84 kB / 485 MB, free: 2.941 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003247/0.4793, allocations: 2.74 MB / 487.8 MB, free: 72 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004521/0.4797, allocations: 59.58 kB / 487.8 MB, free: 12 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.325e-05/0.4798, allocations: 20.03 kB / 487.9 MB, free: 15.99 MB / 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: 12 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked 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.0005706/0.4804, allocations: 325.4 kB / 488.2 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.4806, allocations: 55.34 kB / 488.2 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/0.4808, allocations: 69.28 kB / 488.3 MB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.4808, allocations: 8 kB / 488.3 MB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.4808, allocations: 3.984 kB / 488.3 MB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4808, allocations: 0 / 488.3 MB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002501/0.4833, allocations: 1.538 MB / 489.9 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.4833, allocations: 0 / 489.9 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.4836, allocations: 51.86 kB / 489.9 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004236/0.484, allocations: 196.7 kB / 490.1 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.398e-05/0.4841, allocations: 4 kB / 490.1 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003015/0.4871, allocations: 2.713 MB / 492.8 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4871, allocations: 0 / 492.8 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/0.4888, allocations: 1.125 MB / 493.9 MB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003818/0.4892, allocations: 192.3 kB / 494.1 MB, free: 9.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.724e-05/0.4893, allocations: 8 kB / 494.1 MB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003134/0.4897, allocations: 31.97 kB / 494.2 MB, free: 9.441 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.4898, allocations: 35.94 kB / 494.2 MB, free: 9.406 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.678e-05/0.4898, allocations: 23.94 kB / 494.2 MB, free: 9.383 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005568/0.4904, allocations: 406.8 kB / 494.6 MB, free: 8.988 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4904, allocations: 0 / 494.6 MB, free: 8.988 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008017/0.4912, allocations: 211.3 kB / 494.8 MB, free: 8.781 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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * 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.001984/0.4932, allocations: 1.681 MB / 496.5 MB, free: 7.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001332/0.4946, allocations: 0.7413 MB / 497.3 MB, free: 6.316 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4946, allocations: 4.125 kB / 497.3 MB, free: 6.312 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006665/0.4952, allocations: 475.2 kB / 497.7 MB, free: 5.836 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006821/0.4959, allocations: 135.6 kB / 497.9 MB, free: 5.707 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005505/0.5015, allocations: 4.515 MB / 0.4906 GB, free: 1.078 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1913/0.6928, allocations: 1.082 MB / 0.4916 GB, free: 106.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006207/0.6934, allocations: 97.89 kB / 0.4917 GB, free: 106.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004882/0.6939, allocations: 239 kB / 0.492 GB, free: 106.8 MB / 378.7 MB Notification: Performance of SimCode: time 1.152e-06/0.694, allocations: 0 / 0.492 GB, free: 106.8 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03072/0.7247, allocations: 14.65 MB / 0.5063 GB, free: 104.1 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/0.7249, allocations: 260.4 kB / 0.5065 GB, free: 103.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.216/2.94, allocations: 0 / 0.5065 GB, free: 103.7 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat does not exist to compare? outputFormat=mat