Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",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.001062/0.001062, allocations: 171.9 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.376/1.376, allocations: 205.2 MB / 219.8 MB, free: 14.21 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.0007927/0.0007928, allocations: 86.7 kB / 268 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.503e-05/2.505e-05, allocations: 4 kB / 322.6 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07535/0.07538, allocations: 47.58 MB / 370.1 MB, free: 1.605 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2633/0.3387, allocations: 80.73 MB / 450.9 MB, free: 12.57 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/0.339, allocations: 85.58 kB / 450.9 MB, free: 12.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0175/0.3565, allocations: 7.11 MB / 458.1 MB, free: 6.492 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3565, allocations: 0 / 458.1 MB, free: 6.492 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.923e-05/0.3565, allocations: 8 kB / 458.1 MB, free: 6.484 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0008981/0.3574, allocations: 0.6524 MB / 458.7 MB, free: 5.816 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.3575, allocations: 12.03 kB / 458.7 MB, free: 5.805 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.239e-05/0.3576, allocations: 75.28 kB / 458.8 MB, free: 5.746 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.426e-05/0.3577, allocations: 54.91 kB / 458.9 MB, free: 5.695 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/0.3581, allocations: 358.8 kB / 459.2 MB, free: 5.348 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.3581, allocations: 33.56 kB / 459.2 MB, free: 5.328 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.181e-05/0.3582, allocations: 41.69 kB / 459.3 MB, free: 5.301 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006214/0.3588, allocations: 437.5 kB / 459.7 MB, free: 4.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.3589, allocations: 0 / 459.7 MB, free: 4.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.027e-05/0.3589, allocations: 17.12 kB / 459.7 MB, free: 4.977 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.3589, allocations: 12 kB / 459.7 MB, free: 4.965 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000466/0.3594, allocations: 299.2 kB / 460 MB, free: 4.734 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002099/0.3615, allocations: 1.854 MB / 461.9 MB, free: 2.773 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006456/0.3622, allocations: 0.5865 MB / 462.5 MB, free: 2.125 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005012/0.3627, allocations: 283 kB / 462.7 MB, free: 1.848 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.3627, allocations: 8.328 kB / 462.8 MB, free: 1.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003774/0.3631, allocations: 265.1 kB / 463 MB, free: 1.562 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 1.933e-06/0.3631, allocations: 0 / 463 MB, free: 1.562 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.0008342/0.364, allocations: 445.7 kB / 463.5 MB, free: 1.117 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.364, allocations: 85.11 kB / 463.5 MB, free: 1.016 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.3643, allocations: 282.6 kB / 463.8 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.3643, allocations: 37.7 kB / 463.8 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.3645, allocations: 212.4 kB / 464.1 MB, free: 496 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.847e-05/0.3646, allocations: 134.1 kB / 464.2 MB, free: 360 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.659e-05/0.3646, allocations: 4 kB / 464.2 MB, free: 356 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.3647, allocations: 346.8 kB / 464.5 MB, free: 0 / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.3649, allocations: 109.2 kB / 464.6 MB, free: 15.89 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.3651, allocations: 239.9 kB / 464.9 MB, free: 15.61 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.3653, allocations: 136.3 kB / 465 MB, free: 15.47 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3654, allocations: 3.938 kB / 465 MB, free: 15.47 MB / 346.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007043/0.3661, allocations: 497.3 kB / 465.5 MB, free: 14.97 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3661, allocations: 4 kB / 465.5 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.3661, allocations: 4.438 kB / 465.5 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004012/0.3665, allocations: 156.7 kB / 465.7 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.3667, allocations: 59.91 kB / 465.7 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0023/0.3691, allocations: 2.304 MB / 468 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.3693, allocations: 43.59 kB / 468.1 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.3693, allocations: 16 kB / 468.1 MB, free: 12.25 MB / 346.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: 13 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.3695, allocations: 136.7 kB / 468.2 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.347e-05/0.3695, allocations: 43.52 kB / 468.2 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.3696, allocations: 48.08 kB / 468.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3696, allocations: 4 kB / 468.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.3697, allocations: 0 / 468.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.3697, allocations: 0 / 468.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.3709, allocations: 1.004 MB / 469.3 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.3709, allocations: 7.984 kB / 469.3 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.3711, allocations: 31.98 kB / 469.3 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003422/0.3714, allocations: 140.7 kB / 469.5 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.3715, allocations: 8 kB / 469.5 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002248/0.3737, allocations: 2.303 MB / 471.8 MB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3738, allocations: 0 / 471.8 MB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009378/0.3747, allocations: 0.6978 MB / 472.5 MB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.3749, allocations: 148.6 kB / 472.6 MB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.849e-05/0.3749, allocations: 8 kB / 472.6 MB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.3752, allocations: 19.98 kB / 472.7 MB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.249e-05/0.3753, allocations: 39.84 kB / 472.7 MB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.3753, allocations: 19.98 kB / 472.7 MB, free: 7.352 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002044/0.3755, allocations: 214.1 kB / 472.9 MB, free: 7.148 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3755, allocations: 4 kB / 472.9 MB, free: 7.145 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005845/0.3761, allocations: 147.7 kB / 473.1 MB, free: 7 MB / 346.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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (26): * Single equations (assignments): 22 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.001209/0.3773, allocations: 1.312 MB / 474.4 MB, free: 5.652 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000828/0.3782, allocations: 0.522 MB / 474.9 MB, free: 5.117 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3782, allocations: 0 / 474.9 MB, free: 5.117 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004409/0.3786, allocations: 354.4 kB / 475.3 MB, free: 4.758 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.379, allocations: 73.92 kB / 475.3 MB, free: 4.684 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.3804, allocations: 0.6913 MB / 476 MB, free: 3.953 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.3808, allocations: 0.836 MB / 476.9 MB, free: 3.09 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001396/0.3809, allocations: 47.23 kB / 476.9 MB, free: 3.039 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.3811, allocations: 135.4 kB / 477 MB, free: 2.906 MB / 346.7 MB Notification: Performance of SimCode: time 5.51e-07/0.3811, allocations: 0 / 477 MB, free: 2.906 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02169/0.4028, allocations: 9.598 MB / 486.6 MB, free: 9.297 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/0.403, allocations: 228.8 kB / 486.9 MB, free: 9.066 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.008/2.411, allocations: 0 / 486.9 MB, free: 9.066 MB / 362.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat does not exist to compare? outputFormat=mat