Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",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.001242/0.001242, 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.344/1.344, allocations: 205.3 MB / 214.4 MB, free: 1.668 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.0008397/0.0008396, allocations: 87.95 kB / 262.4 MB, free: 1.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.474e-05/1.483e-05, allocations: 4 kB / 315.6 MB, free: 22.58 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08394/0.08397, allocations: 47.57 MB / 363.2 MB, free: 6.949 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3038/0.3879, allocations: 84.11 MB / 447.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/0.3882, allocations: 90.69 kB / 447.4 MB, free: 11.24 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0513/0.4395, allocations: 20.22 MB / 467.6 MB, free: 10.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4396, allocations: 0 / 467.6 MB, free: 10.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.89e-05/0.4397, allocations: 31.94 kB / 467.6 MB, free: 10.48 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002459/0.4421, allocations: 1.288 MB / 468.9 MB, free: 9.223 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.4422, allocations: 12.03 kB / 468.9 MB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002478/0.4425, allocations: 138.4 kB / 469.1 MB, free: 9.074 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003753/0.4462, allocations: 1.656 MB / 470.7 MB, free: 7.746 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.106e-05/0.4463, allocations: 32 kB / 470.8 MB, free: 7.715 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.4464, allocations: 63.92 kB / 470.8 MB, free: 7.652 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001642/0.4481, allocations: 1.12 MB / 471.9 MB, free: 6.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.4499, allocations: 1.253 MB / 473.2 MB, free: 6.062 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/0.45, allocations: 7.984 kB / 473.2 MB, free: 6.055 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-05/0.4501, allocations: 0 / 473.2 MB, free: 6.055 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.053e-05/0.4501, allocations: 41.98 kB / 473.2 MB, free: 6.012 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005696/0.4558, allocations: 4.158 MB / 477.4 MB, free: 2.836 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.4577, allocations: 1.901 MB / 479.3 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00077/0.4585, allocations: 0.6069 MB / 479.9 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.887e-05/0.4585, allocations: 12.78 kB / 479.9 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007987/0.4593, allocations: 0.5512 MB / 480.5 MB, free: 15.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=75): time 2.364e-06/0.4593, allocations: 0 / 480.5 MB, free: 15.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=75): time 0.001878/0.4612, allocations: 1.167 MB / 481.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/0.4613, allocations: 111.6 kB / 481.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000866/0.4622, allocations: 0.6521 MB / 482.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.362e-05/0.4622, allocations: 33.7 kB / 482.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004325/0.4627, allocations: 479.7 kB / 482.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/0.4629, allocations: 232.6 kB / 483.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.4629, allocations: 0 / 483.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.4631, allocations: 390.7 kB / 483.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004839/0.4636, allocations: 357.4 kB / 483.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006112/0.4642, allocations: 0.4942 MB / 484.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005538/0.4648, allocations: 409.8 kB / 484.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4648, allocations: 0 / 484.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001782/0.4666, allocations: 1.17 MB / 485.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.4666, allocations: 4 kB / 485.9 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.4666, allocations: 4 kB / 485.9 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/0.4677, allocations: 468.7 kB / 486.4 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003762/0.4681, allocations: 95.83 kB / 486.5 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006417/0.4745, allocations: 4.966 MB / 491.4 MB, free: 4.418 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006705/0.4752, allocations: 63.48 kB / 491.5 MB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.147e-05/0.4753, allocations: 24.06 kB / 491.5 MB, free: 4.332 MB / 362.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,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 (54): * Single equations (assignments): 53 * 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 30} Notification: Performance of prepare postOptimizeDAE: time 0.0002211/0.4755, allocations: 130.5 kB / 491.7 MB, free: 4.199 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001798/0.4773, allocations: 1.16 MB / 492.8 MB, free: 3.027 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.4774, allocations: 83.05 kB / 492.9 MB, free: 2.945 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002837/0.4777, allocations: 104.4 kB / 493 MB, free: 2.836 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.4777, allocations: 19.89 kB / 493 MB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.4778, allocations: 0 / 493 MB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.4778, allocations: 7.969 kB / 493 MB, free: 2.809 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003435/0.4812, allocations: 2.374 MB / 495.4 MB, free: 392 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4812, allocations: 0 / 495.4 MB, free: 392 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002939/0.4815, allocations: 67.91 kB / 495.5 MB, free: 324 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009214/0.4825, allocations: 444.9 kB / 495.9 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.7e-05/0.4825, allocations: 11.98 kB / 495.9 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006094/0.4886, allocations: 4.962 MB / 0.4891 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.4887, allocations: 0 / 0.4891 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002638/0.4913, allocations: 1.779 MB / 0.4909 GB, free: 8.988 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004587/0.4918, allocations: 267.9 kB / 0.4911 GB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.4919, allocations: 8 kB / 0.4911 GB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004366/0.4924, allocations: 35.95 kB / 0.4912 GB, free: 8.664 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002075/0.4926, allocations: 72.66 kB / 0.4912 GB, free: 8.594 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.871e-05/0.4927, allocations: 20 kB / 0.4913 GB, free: 8.574 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008054/0.4935, allocations: 0.5186 MB / 0.4918 GB, free: 8.059 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4935, allocations: 0 / 0.4918 GB, free: 8.059 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001148/0.4946, allocations: 311 kB / 0.4921 GB, free: 7.754 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: 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,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 (40): * Single equations (assignments): 36 * 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 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.002855/0.4975, allocations: 2.355 MB / 0.4944 GB, free: 5.359 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001944/0.4994, allocations: 1.166 MB / 0.4955 GB, free: 4.184 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.4995, allocations: 0 / 0.4955 GB, free: 4.184 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001144/0.5006, allocations: 0.763 MB / 0.4962 GB, free: 3.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.5018, allocations: 223.9 kB / 0.4965 GB, free: 3.195 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004026/0.5058, allocations: 2.05 MB / 0.4985 GB, free: 1.102 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/0.5069, allocations: 1.341 MB / 0.4998 GB, free: 15.73 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004427/0.5074, allocations: 138.9 kB / 0.4999 GB, free: 15.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004625/0.5079, allocations: 371.3 kB / 0.5003 GB, free: 15.23 MB / 394.7 MB Notification: Performance of SimCode: time 5.91e-07/0.5079, allocations: 0 / 0.5003 GB, free: 15.23 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05008/0.558, allocations: 23.8 MB / 0.5235 GB, free: 7.395 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/0.5582, allocations: 183.8 kB / 0.5237 GB, free: 7.207 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.514/3.072, allocations: 0 / 0.5237 GB, free: 7.207 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat does not exist to compare? outputFormat=mat