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.0009101/0.00091, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.3 MB / 214.4 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008681/0.000868, allocations: 82.7 kB / 262.4 MB, free: 1.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.04e-05/2.065e-05, allocations: 4 kB / 315.6 MB, free: 22.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08638/0.08642, allocations: 47.58 MB / 363.2 MB, free: 6.949 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3084/0.3948, allocations: 82.82 MB / 446 MB, free: 12.55 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.3951, allocations: 96.61 kB / 446.1 MB, free: 12.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03343/0.4286, allocations: 13.36 MB / 459.5 MB, free: 1.418 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.4286, allocations: 4 kB / 459.5 MB, free: 1.414 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.154e-05/0.4286, allocations: 20 kB / 459.5 MB, free: 1.395 MB / 330.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.001486/0.4301, allocations: 0.9404 MB / 460.4 MB, free: 472 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.4302, allocations: 12.02 kB / 460.4 MB, free: 460 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.4303, allocations: 94.95 kB / 460.5 MB, free: 364 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000884/0.4312, allocations: 0.6146 MB / 461.1 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.4313, allocations: 20 kB / 461.2 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-05/0.4314, allocations: 39.88 kB / 461.2 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009333/0.4323, allocations: 0.6738 MB / 461.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.4334, allocations: 0.7883 MB / 462.7 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.4334, allocations: 0 / 462.7 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.076e-05/0.4335, allocations: 15.7 kB / 462.7 MB, free: 14.74 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.022e-05/0.4335, allocations: 25.31 kB / 462.7 MB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003384/0.4369, allocations: 2.691 MB / 465.4 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006691/0.4376, allocations: 0.7011 MB / 466.1 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004347/0.4381, allocations: 318 kB / 466.4 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/0.4381, allocations: 4.328 kB / 466.4 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004378/0.4386, allocations: 336.8 kB / 466.7 MB, free: 11.46 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 1.723e-06/0.4386, allocations: 0 / 466.7 MB, free: 11.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.0009062/0.4395, allocations: 0.6052 MB / 467.3 MB, free: 11.01 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.4395, allocations: 118.3 kB / 467.5 MB, free: 10.88 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004899/0.44, allocations: 466.9 kB / 467.9 MB, free: 10.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.4401, allocations: 29.7 kB / 467.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.4403, allocations: 352.5 kB / 468.3 MB, free: 10.22 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.958e-05/0.4404, allocations: 133 kB / 468.4 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.156e-05/0.4404, allocations: 0 / 468.4 MB, free: 10.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.4406, allocations: 362.6 kB / 468.8 MB, free: 9.766 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/0.4408, allocations: 190.9 kB / 469 MB, free: 9.648 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003279/0.4411, allocations: 320.8 kB / 469.3 MB, free: 9.363 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/0.4414, allocations: 222.7 kB / 469.5 MB, free: 9.215 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.4414, allocations: 0 / 469.5 MB, free: 9.215 MB / 346.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000878/0.4423, allocations: 0.657 MB / 470.1 MB, free: 8.715 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.4423, allocations: 7.938 kB / 470.1 MB, free: 8.707 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.4424, allocations: 8 kB / 470.2 MB, free: 8.699 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004547/0.4428, allocations: 214.7 kB / 470.4 MB, free: 8.543 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/0.4431, allocations: 67.47 kB / 470.4 MB, free: 8.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0027/0.4458, allocations: 2.689 MB / 473.1 MB, free: 6.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003347/0.4462, allocations: 43.7 kB / 473.2 MB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.4462, allocations: 12 kB / 473.2 MB, free: 6.195 MB / 346.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.0001375/0.4464, allocations: 128.6 kB / 473.3 MB, free: 6.066 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008393/0.4472, allocations: 0.6094 MB / 473.9 MB, free: 5.609 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.985e-05/0.4473, allocations: 51.44 kB / 474 MB, free: 5.559 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00018/0.4475, allocations: 63.97 kB / 474 MB, free: 5.523 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.4475, allocations: 8 kB / 474 MB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.4475, allocations: 0 / 474 MB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.4475, allocations: 0 / 474 MB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002233/0.4497, allocations: 1.604 MB / 475.6 MB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.4498, allocations: 7.984 kB / 475.6 MB, free: 4.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/0.45, allocations: 55.91 kB / 475.7 MB, free: 4.195 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003736/0.4504, allocations: 184.8 kB / 475.9 MB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/0.4504, allocations: 7.938 kB / 475.9 MB, free: 4.059 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002614/0.4531, allocations: 2.554 MB / 478.4 MB, free: 1.473 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.4531, allocations: 0 / 478.4 MB, free: 1.473 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.4545, allocations: 1.057 MB / 479.5 MB, free: 392 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002598/0.4548, allocations: 184.5 kB / 479.7 MB, free: 188 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.084e-05/0.4548, allocations: 4 kB / 479.7 MB, free: 184 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002779/0.4551, allocations: 23.97 kB / 479.7 MB, free: 160 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.4552, allocations: 47.88 kB / 479.8 MB, free: 112 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/0.4553, allocations: 15.98 kB / 479.8 MB, free: 96 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004602/0.4557, allocations: 371 kB / 480.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4558, allocations: 3.938 kB / 480.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007152/0.4565, allocations: 187.2 kB / 480.3 MB, free: 15.54 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.001684/0.4582, allocations: 1.672 MB / 482 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009815/0.4592, allocations: 0.6618 MB / 482.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4592, allocations: 0 / 482.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005262/0.4597, allocations: 442.1 kB / 483.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005788/0.4603, allocations: 121.9 kB / 483.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.4625, allocations: 1.257 MB / 484.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005946/0.4631, allocations: 1.082 MB / 485.5 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002532/0.4634, allocations: 92.64 kB / 485.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002848/0.4637, allocations: 239.4 kB / 485.9 MB, free: 9.859 MB / 362.7 MB Notification: Performance of SimCode: time 4.1e-07/0.4637, allocations: 3.938 kB / 485.9 MB, free: 9.855 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03267/0.4963, allocations: 13.2 MB / 499.1 MB, free: 12.64 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/0.4966, allocations: 204.7 kB / 499.3 MB, free: 12.43 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.135/2.632, allocations: 4 kB / 499.3 MB, free: 12.43 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