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.001283/0.001283, allocations: 172.6 kB / 14.1 MB, free: 1.223 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.524/1.524, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0007805/0.0007805, allocations: 90.56 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.843e-05/2.852e-05, allocations: 4 kB / 322.6 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09262/0.09267, allocations: 47.58 MB / 370.1 MB, free: 1.605 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3135/0.4063, allocations: 83.23 MB / 453.4 MB, free: 10.08 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/0.4066, allocations: 85.64 kB / 453.5 MB, free: 10.03 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03616/0.4427, allocations: 13.52 MB / 467 MB, free: 13.88 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4428, allocations: 0 / 467 MB, free: 13.88 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.936e-05/0.4429, allocations: 20 kB / 467 MB, free: 13.86 MB / 346.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.002372/0.4452, allocations: 0.9334 MB / 467.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/0.4453, allocations: 12.03 kB / 467.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002849/0.4456, allocations: 114.5 kB / 468 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002625/0.4459, allocations: 90.95 kB / 468.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.4471, allocations: 0.607 MB / 468.7 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.889e-05/0.4472, allocations: 49.31 kB / 468.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.4473, allocations: 60 kB / 468.8 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.4488, allocations: 0.888 MB / 469.7 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.4488, allocations: 0 / 469.7 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.251e-05/0.4489, allocations: 35.89 kB / 469.8 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-05/0.449, allocations: 29.3 kB / 469.8 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.4501, allocations: 0.7157 MB / 470.5 MB, free: 10.19 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004441/0.4546, allocations: 2.819 MB / 473.3 MB, free: 7.262 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009514/0.4556, allocations: 0.726 MB / 474.1 MB, free: 6.473 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006233/0.4562, allocations: 325.4 kB / 474.4 MB, free: 6.152 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.563e-05/0.4563, allocations: 8.312 kB / 474.4 MB, free: 6.145 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005852/0.4568, allocations: 365.9 kB / 474.7 MB, free: 5.766 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 2.865e-06/0.4569, allocations: 0 / 474.7 MB, free: 5.766 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.001064/0.4579, allocations: 0.6339 MB / 475.4 MB, free: 5.121 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/0.458, allocations: 118.8 kB / 475.5 MB, free: 4.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006104/0.4586, allocations: 0.5037 MB / 476 MB, free: 4.473 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.4587, allocations: 37.7 kB / 476 MB, free: 4.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002465/0.4589, allocations: 348 kB / 476.4 MB, free: 4.086 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.4591, allocations: 138.1 kB / 476.5 MB, free: 3.949 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.038e-05/0.4591, allocations: 4 kB / 476.5 MB, free: 3.945 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.4592, allocations: 366.8 kB / 476.9 MB, free: 3.578 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/0.4595, allocations: 197 kB / 477.1 MB, free: 3.387 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003747/0.4599, allocations: 332.9 kB / 477.4 MB, free: 3.004 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003195/0.4602, allocations: 231.6 kB / 477.6 MB, free: 2.777 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.4603, allocations: 3.938 kB / 477.6 MB, free: 2.773 MB / 346.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001036/0.4613, allocations: 0.7159 MB / 478.3 MB, free: 2.047 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.4613, allocations: 4 kB / 478.3 MB, free: 2.043 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.4613, allocations: 7.984 kB / 478.3 MB, free: 2.035 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004851/0.4618, allocations: 206.1 kB / 478.5 MB, free: 1.832 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/0.4621, allocations: 80.11 kB / 478.6 MB, free: 1.754 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003166/0.4653, allocations: 2.771 MB / 481.4 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003399/0.4657, allocations: 63.61 kB / 481.5 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.096e-05/0.4657, allocations: 16 kB / 481.5 MB, free: 14.77 MB / 362.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,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001315/0.4659, allocations: 132.9 kB / 481.6 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.86e-05/0.466, allocations: 55.34 kB / 481.7 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/0.4661, allocations: 65.06 kB / 481.7 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.4661, allocations: 11.95 kB / 481.7 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4662, allocations: 7.984 kB / 481.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.4662, allocations: 0 / 481.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002528/0.4687, allocations: 1.721 MB / 483.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.4687, allocations: 4 kB / 483.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.469, allocations: 55.91 kB / 483.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004122/0.4694, allocations: 193.6 kB / 483.7 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.512e-05/0.4694, allocations: 15.94 kB / 483.7 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002976/0.4724, allocations: 2.631 MB / 486.4 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4724, allocations: 0 / 486.4 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/0.4739, allocations: 1.096 MB / 487.5 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002632/0.4742, allocations: 192.4 kB / 487.6 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.581e-05/0.4743, allocations: 11.95 kB / 487.7 MB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002973/0.4746, allocations: 35.97 kB / 487.7 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.4747, allocations: 35.94 kB / 487.7 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.253e-05/0.4748, allocations: 19.98 kB / 487.7 MB, free: 8.246 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000494/0.4753, allocations: 405.5 kB / 488.1 MB, free: 7.852 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4753, allocations: 3.938 kB / 488.1 MB, free: 7.848 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006842/0.476, allocations: 215.2 kB / 488.3 MB, free: 7.637 MB / 362.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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.001861/0.4778, allocations: 1.711 MB / 490.1 MB, free: 5.887 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.479, allocations: 0.6851 MB / 490.7 MB, free: 5.188 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.479, allocations: 0.9375 kB / 490.7 MB, free: 5.188 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006093/0.4796, allocations: 462.5 kB / 491.2 MB, free: 4.723 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006171/0.4802, allocations: 134.6 kB / 491.3 MB, free: 4.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.4825, allocations: 1.294 MB / 492.6 MB, free: 3.254 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006532/0.4831, allocations: 1.082 MB / 493.7 MB, free: 2.145 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002706/0.4834, allocations: 96.67 kB / 493.8 MB, free: 2.047 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003133/0.4837, allocations: 243.3 kB / 494 MB, free: 1.809 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4837, allocations: 0 / 494 MB, free: 1.809 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03099/0.5147, allocations: 14.83 MB / 0.4969 GB, free: 2.953 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002274/0.515, allocations: 227.2 kB / 0.4972 GB, free: 2.672 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.173/2.688, allocations: 0 / 0.4972 GB, free: 2.672 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