Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002278/0.002283, allocations: 180.3 kB / 13.66 MB, free: 1.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.053/2.053, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001113/0.001113, allocations: 97.97 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.201e-05/4.215e-05, allocations: 4 kB / 321.6 MB, free: 17.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09916/0.09924, allocations: 47.58 MB / 369.2 MB, free: 2.082 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4227/0.522, allocations: 84.52 MB / 453.7 MB, free: 8.73 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003245/0.5224, allocations: 86.3 kB / 453.8 MB, free: 8.684 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08871/0.6111, allocations: 20.45 MB / 474.3 MB, free: 5.902 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.6112, allocations: 0 / 474.3 MB, free: 5.902 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001335/0.6113, allocations: 31.94 kB / 474.3 MB, free: 5.871 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.004561/0.6159, allocations: 1.288 MB / 475.6 MB, free: 4.531 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/0.616, allocations: 8.031 kB / 475.6 MB, free: 4.523 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005519/0.6165, allocations: 152.2 kB / 475.7 MB, free: 4.367 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004695/0.617, allocations: 138.4 kB / 475.9 MB, free: 4.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006978/0.624, allocations: 1.655 MB / 477.5 MB, free: 2.531 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.935e-05/0.6242, allocations: 78 kB / 477.6 MB, free: 2.457 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003336/0.6245, allocations: 108 kB / 477.7 MB, free: 2.352 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004098/0.6286, allocations: 1.392 MB / 479.1 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.458e-05/0.6287, allocations: 0 / 479.1 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001757/0.6289, allocations: 40 kB / 479.1 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.363e-05/0.629, allocations: 42 kB / 479.2 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0036/0.6326, allocations: 1.179 MB / 480.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0116/0.6443, allocations: 4.332 MB / 484.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003143/0.6475, allocations: 1.945 MB / 486.6 MB, free: 9.035 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002133/0.6497, allocations: 0.7317 MB / 487.4 MB, free: 8.301 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.236e-05/0.6498, allocations: 12.77 kB / 487.4 MB, free: 8.289 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001503/0.6513, allocations: 0.5762 MB / 488 MB, free: 7.691 MB / 362.7 MB Notification: Performance of pre-optimization done (n=75): time 4.518e-06/0.6514, allocations: 0 / 488 MB, free: 7.691 MB / 362.7 MB Notification: Performance of matching and sorting (n=75): time 0.003624/0.655, allocations: 1.222 MB / 489.2 MB, free: 6.461 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.6551, allocations: 111.6 kB / 489.3 MB, free: 6.324 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/0.6569, allocations: 0.7302 MB / 490 MB, free: 5.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001977/0.6571, allocations: 41.7 kB / 490.1 MB, free: 5.543 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005568/0.6577, allocations: 494.3 kB / 490.5 MB, free: 5.055 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000356/0.6581, allocations: 240.5 kB / 490.8 MB, free: 4.816 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.41e-05/0.6581, allocations: 12 kB / 490.8 MB, free: 4.805 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.6583, allocations: 342.8 kB / 491.1 MB, free: 4.461 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009549/0.6593, allocations: 373.4 kB / 491.5 MB, free: 4.098 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/0.6604, allocations: 0.5152 MB / 492 MB, free: 3.527 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.6615, allocations: 419 kB / 492.4 MB, free: 3.117 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.6615, allocations: 4 kB / 492.4 MB, free: 3.113 MB / 362.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003082/0.6646, allocations: 1.198 MB / 493.6 MB, free: 1.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/0.6647, allocations: 15.39 kB / 493.6 MB, free: 1.898 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.6647, allocations: 4 kB / 493.6 MB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001879/0.6666, allocations: 468.7 kB / 494.1 MB, free: 1.434 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007596/0.6674, allocations: 91.83 kB / 494.2 MB, free: 1.344 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/0.6792, allocations: 5.092 MB / 499.3 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/0.6803, allocations: 95.47 kB / 499.4 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.6804, allocations: 31.94 kB / 499.4 MB, free: 11.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: 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.0002983/0.6808, allocations: 146.7 kB / 499.5 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002402/0.681, allocations: 86.97 kB / 499.6 MB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003894/0.6814, allocations: 112.5 kB / 499.7 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.6815, allocations: 12 kB / 499.7 MB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.6815, allocations: 0 / 499.7 MB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.6815, allocations: 3.984 kB / 499.8 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007405/0.6889, allocations: 2.58 MB / 0.4906 GB, free: 8.977 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.689, allocations: 0 / 0.4906 GB, free: 8.977 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000646/0.6896, allocations: 67.91 kB / 0.4906 GB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001874/0.6915, allocations: 456.7 kB / 0.4911 GB, free: 8.461 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001499/0.6917, allocations: 19.94 kB / 0.4911 GB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0114/0.7031, allocations: 5.044 MB / 0.496 GB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.7032, allocations: 4 kB / 0.496 GB, free: 3.254 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004737/0.708, allocations: 1.857 MB / 0.4978 GB, free: 1.375 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009149/0.7089, allocations: 279.8 kB / 0.4981 GB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002247/0.7092, allocations: 16 kB / 0.4981 GB, free: 1.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00083/0.71, allocations: 47.95 kB / 0.4982 GB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003285/0.7104, allocations: 68.67 kB / 0.4982 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.053e-05/0.7105, allocations: 23.98 kB / 0.4982 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001347/0.7118, allocations: 0.5733 MB / 0.4988 GB, free: 368 kB / 378.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.7119, allocations: 4 kB / 0.4988 GB, free: 364 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.001785/0.7137, allocations: 351 kB / 0.4991 GB, free: 12 kB / 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.005269/0.719, allocations: 2.434 MB / 0.5015 GB, free: 13.55 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003496/0.7226, allocations: 1.228 MB / 0.5027 GB, free: 12.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.7226, allocations: 0 / 0.5027 GB, free: 12.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002275/0.7249, allocations: 0.7884 MB / 0.5035 GB, free: 11.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/0.727, allocations: 259.8 kB / 0.5037 GB, free: 11.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007353/0.7344, allocations: 2.121 MB / 0.5058 GB, free: 9.082 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001474/0.7359, allocations: 1.315 MB / 0.5071 GB, free: 7.734 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009163/0.7369, allocations: 383.3 kB / 0.5075 GB, free: 7.359 MB / 394.7 MB Notification: Performance of SimCode: time 1.012e-06/0.7369, allocations: 0 / 0.5075 GB, free: 7.359 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.426/4.163, allocations: 25.71 MB / 0.5326 GB, free: 122.5 MB / 410.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse.fmu > Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat does not exist to compare? outputFormat=mat