Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001588/0.001593, allocations: 181.4 kB / 13.66 MB, free: 1.664 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.096/2.096, allocations: 205.2 MB / 219.4 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.001118/0.001117, allocations: 74.72 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.308e-05/3.334e-05, allocations: 0 / 321.6 MB, free: 17.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1059, allocations: 47.58 MB / 369.2 MB, free: 2.074 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4675/0.5734, allocations: 80.73 MB / 449.9 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/0.5737, allocations: 81.77 kB / 450 MB, free: 12.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03444/0.6082, allocations: 7.111 MB / 457.1 MB, free: 6.391 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.6083, allocations: 4 kB / 457.1 MB, free: 6.387 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.751e-05/0.6083, allocations: 8 kB / 457.1 MB, free: 6.379 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.002213/0.6106, allocations: 0.6537 MB / 457.8 MB, free: 5.711 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.349e-05/0.6107, allocations: 8.031 kB / 457.8 MB, free: 5.703 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002763/0.6109, allocations: 72.59 kB / 457.9 MB, free: 5.645 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002494/0.6112, allocations: 54.69 kB / 457.9 MB, free: 5.594 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.6124, allocations: 364.7 kB / 458.3 MB, free: 5.238 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.928e-05/0.6125, allocations: 31.56 kB / 458.3 MB, free: 5.223 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.6127, allocations: 46.62 kB / 458.4 MB, free: 5.191 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.6143, allocations: 431.9 kB / 458.8 MB, free: 4.875 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.373e-05/0.6144, allocations: 0 / 458.8 MB, free: 4.875 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.19e-05/0.6145, allocations: 19.06 kB / 458.8 MB, free: 4.867 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.367e-05/0.6145, allocations: 8 kB / 458.8 MB, free: 4.859 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.6159, allocations: 308 kB / 459.1 MB, free: 4.66 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005555/0.6215, allocations: 1.849 MB / 461 MB, free: 3.062 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.6232, allocations: 0.5918 MB / 461.5 MB, free: 2.434 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001281/0.6246, allocations: 277.7 kB / 461.8 MB, free: 2.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.135e-05/0.6247, allocations: 8.312 kB / 461.8 MB, free: 2.152 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009635/0.6257, allocations: 257.2 kB / 462.1 MB, free: 1.883 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 4.699e-06/0.6257, allocations: 0 / 462.1 MB, free: 1.883 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.002153/0.6279, allocations: 453.7 kB / 462.5 MB, free: 1.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.632e-05/0.628, allocations: 81.11 kB / 462.6 MB, free: 1.332 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000727/0.6288, allocations: 282.6 kB / 462.9 MB, free: 1.055 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001441/0.6289, allocations: 37.7 kB / 462.9 MB, free: 1.012 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003004/0.6293, allocations: 262.8 kB / 463.2 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002567/0.6295, allocations: 134.1 kB / 463.3 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/0.6296, allocations: 8 kB / 463.3 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.6298, allocations: 330.8 kB / 463.6 MB, free: 288 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004911/0.6303, allocations: 109.1 kB / 463.7 MB, free: 180 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006918/0.631, allocations: 243.9 kB / 464 MB, free: 15.88 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005743/0.6316, allocations: 128.3 kB / 464.1 MB, free: 15.76 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/0.6317, allocations: 4 kB / 464.1 MB, free: 15.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001915/0.6336, allocations: 481.4 kB / 464.6 MB, free: 15.27 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.769e-05/0.6337, allocations: 8 kB / 464.6 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/0.6337, allocations: 4 kB / 464.6 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/0.6348, allocations: 145.2 kB / 464.7 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006645/0.6355, allocations: 59.91 kB / 464.8 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005932/0.6414, allocations: 2.307 MB / 467.1 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007116/0.6422, allocations: 35.69 kB / 467.1 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.403e-05/0.6423, allocations: 20 kB / 467.1 MB, free: 12.56 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.0002814/0.6426, allocations: 141.5 kB / 467.3 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.6428, allocations: 39.53 kB / 467.3 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/0.643, allocations: 52.08 kB / 467.4 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.6431, allocations: 4 kB / 467.4 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.6431, allocations: 0 / 467.4 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.6431, allocations: 0 / 467.4 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003319/0.6464, allocations: 1.008 MB / 468.4 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/0.6465, allocations: 4.031 kB / 468.4 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004961/0.647, allocations: 31.98 kB / 468.4 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009494/0.648, allocations: 144.7 kB / 468.6 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.403e-05/0.6481, allocations: 15.94 kB / 468.6 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005946/0.6541, allocations: 2.291 MB / 470.9 MB, free: 8.637 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.6542, allocations: 0 / 470.9 MB, free: 8.637 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002566/0.6567, allocations: 0.7017 MB / 471.6 MB, free: 7.902 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004672/0.6573, allocations: 152.5 kB / 471.7 MB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/0.6574, allocations: 8 kB / 471.7 MB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005712/0.658, allocations: 19.98 kB / 471.7 MB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002082/0.6582, allocations: 35.91 kB / 471.8 MB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-05/0.6583, allocations: 19.98 kB / 471.8 MB, free: 7.652 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005665/0.6589, allocations: 218.2 kB / 472 MB, free: 7.445 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.6589, allocations: 0 / 472 MB, free: 7.445 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001455/0.6604, allocations: 143.7 kB / 472.2 MB, free: 7.305 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.003162/0.6636, allocations: 1.32 MB / 473.5 MB, free: 5.949 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001954/0.6656, allocations: 0.5026 MB / 474 MB, free: 5.434 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.6657, allocations: 4.125 kB / 474 MB, free: 5.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001259/0.6669, allocations: 370.4 kB / 474.3 MB, free: 5.055 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000971/0.668, allocations: 79.62 kB / 474.4 MB, free: 4.977 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003421/0.6714, allocations: 0.7225 MB / 475.1 MB, free: 4.207 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006491/0.6721, allocations: 0.836 MB / 476 MB, free: 3.344 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003505/0.6725, allocations: 147.4 kB / 476.1 MB, free: 3.199 MB / 346.7 MB Notification: Performance of SimCode: time 1.222e-06/0.6725, allocations: 0 / 476.1 MB, free: 3.199 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.771/3.444, allocations: 8.517 MB / 484.6 MB, free: 10.67 MB / 362.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat does not exist to compare? outputFormat=mat