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.001212/0.001212, allocations: 181.2 kB / 17.01 MB, free: 5.125 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.228/1.228, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.0008151/0.000815, allocations: 100 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002257/0.0002257, allocations: 8 kB / 328.4 MB, free: 15.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2177, allocations: 47.57 MB / 375.9 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09556/0.3133, allocations: 80.83 MB / 456.8 MB, free: 15.81 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003662/0.3137, allocations: 83.94 kB / 456.8 MB, free: 15.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01852/0.3323, allocations: 7.112 MB / 464 MB, free: 8.566 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3323, allocations: 0 / 464 MB, free: 8.566 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.236e-05/0.3323, allocations: 8 kB / 464 MB, free: 8.559 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001189/0.3335, allocations: 0.7012 MB / 464.7 MB, free: 7.812 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.3336, allocations: 8.031 kB / 464.7 MB, free: 7.805 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001069/0.3337, allocations: 86.52 kB / 464.8 MB, free: 7.711 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.588e-05/0.3338, allocations: 55.34 kB / 464.8 MB, free: 7.656 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005048/0.3343, allocations: 359 kB / 465.2 MB, free: 7.266 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/0.3344, allocations: 33 kB / 465.2 MB, free: 7.234 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.373e-05/0.3344, allocations: 44 kB / 465.2 MB, free: 7.191 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007248/0.3352, allocations: 445.6 kB / 465.7 MB, free: 6.734 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.3352, allocations: 3.938 kB / 465.7 MB, free: 6.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.159e-05/0.3352, allocations: 16 kB / 465.7 MB, free: 6.715 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.3353, allocations: 8 kB / 465.7 MB, free: 6.707 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005598/0.3358, allocations: 319.8 kB / 466 MB, free: 6.395 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002261/0.3381, allocations: 1.856 MB / 467.9 MB, free: 4.434 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007653/0.3389, allocations: 0.6017 MB / 468.5 MB, free: 3.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.3389, allocations: 4.328 kB / 468.5 MB, free: 3.766 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004342/0.3394, allocations: 277.1 kB / 468.7 MB, free: 3.477 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 3.997e-06/0.3394, allocations: 0 / 468.7 MB, free: 3.477 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.00224/0.3416, allocations: 0.8432 MB / 469.6 MB, free: 2.605 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.261e-05/0.3417, allocations: 85.11 kB / 469.7 MB, free: 2.504 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003031/0.342, allocations: 279.7 kB / 469.9 MB, free: 2.223 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.3421, allocations: 41.64 kB / 470 MB, free: 2.176 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.3422, allocations: 212.4 kB / 470.2 MB, free: 1.965 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.3423, allocations: 134.1 kB / 470.3 MB, free: 1.832 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-05/0.3424, allocations: 8 kB / 470.3 MB, free: 1.824 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3425, allocations: 346.8 kB / 470.7 MB, free: 1.477 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.3427, allocations: 121.1 kB / 470.8 MB, free: 1.359 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002927/0.343, allocations: 247.8 kB / 471 MB, free: 1.062 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/0.3433, allocations: 140.3 kB / 471.2 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.3433, allocations: 8 kB / 471.2 MB, free: 0.918 MB / 346.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008144/0.3441, allocations: 0.4989 MB / 471.7 MB, free: 420 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.3442, allocations: 10.02 kB / 471.7 MB, free: 412 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.3442, allocations: 4 kB / 471.7 MB, free: 408 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004412/0.3446, allocations: 144.7 kB / 471.8 MB, free: 260 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.3449, allocations: 63.84 kB / 471.9 MB, free: 196 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002553/0.3474, allocations: 2.35 MB / 474.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002574/0.3477, allocations: 35.73 kB / 474.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-05/0.3477, allocations: 23.98 kB / 474.3 MB, free: 13.65 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: 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 () * Number of clocked 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.0002233/0.348, allocations: 178.4 kB / 474.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.35e-05/0.348, allocations: 39.53 kB / 474.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.388e-05/0.3481, allocations: 48.3 kB / 474.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.3481, allocations: 4 kB / 474.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.3482, allocations: 3.953 kB / 474.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3482, allocations: 3.984 kB / 474.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.3495, allocations: 1.011 MB / 475.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.3495, allocations: 4 kB / 475.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.3497, allocations: 35.97 kB / 475.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003597/0.3501, allocations: 136.8 kB / 475.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.3501, allocations: 15.98 kB / 475.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002354/0.3525, allocations: 2.332 MB / 478.1 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3525, allocations: 0 / 478.1 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.3536, allocations: 0.7078 MB / 478.8 MB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/0.3537, allocations: 152.5 kB / 479 MB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.856e-05/0.3538, allocations: 8 kB / 479 MB, free: 8.738 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.354, allocations: 27.92 kB / 479 MB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.157e-05/0.3541, allocations: 35.91 kB / 479 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.3542, allocations: 15.98 kB / 479 MB, free: 8.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002039/0.3544, allocations: 215.1 kB / 479.3 MB, free: 8.453 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3544, allocations: 0 / 479.3 MB, free: 8.453 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005857/0.355, allocations: 143.7 kB / 479.4 MB, free: 8.312 MB / 362.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: 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) * Number of clocked states: 0 () * 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.001386/0.3564, allocations: 1.261 MB / 480.7 MB, free: 7.023 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.3574, allocations: 0.5456 MB / 481.2 MB, free: 6.465 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.3574, allocations: 0 / 481.2 MB, free: 6.465 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005012/0.3579, allocations: 387.2 kB / 481.6 MB, free: 6.074 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.3583, allocations: 76.97 kB / 481.7 MB, free: 6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/0.361, allocations: 3.654 MB / 485.3 MB, free: 2.234 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.3614, allocations: 0.836 MB / 486.1 MB, free: 1.371 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001512/0.3615, allocations: 35.31 kB / 486.2 MB, free: 1.336 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.3617, allocations: 139.4 kB / 486.3 MB, free: 1.199 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.3617, allocations: 0 / 486.3 MB, free: 1.199 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02261/0.3843, allocations: 9.436 MB / 495.7 MB, free: 7.762 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002888/0.3847, allocations: 265.6 kB / 496 MB, free: 7.414 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.039/2.424, allocations: 0 / 496 MB, free: 7.414 MB / 378.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