Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",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.001527/0.001526, allocations: 185.3 kB / 16.41 MB, free: 5.723 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.061/2.061, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001602/0.001602, allocations: 91.39 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003996/0.0003997, allocations: 12 kB / 327.1 MB, free: 100 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3471, allocations: 47.57 MB / 374.7 MB, free: 45.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1384/0.4856, allocations: 83.34 MB / 458 MB, free: 13.31 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003478/0.486, allocations: 83.95 kB / 458.1 MB, free: 13.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06032/0.5463, allocations: 13.49 MB / 471.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.5464, allocations: 4 kB / 471.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.685e-05/0.5465, allocations: 16 kB / 471.6 MB, free: 15.61 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.003495/0.55, allocations: 1.042 MB / 472.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.5501, allocations: 12.03 kB / 472.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004323/0.5505, allocations: 114.4 kB / 472.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002942/0.5508, allocations: 98.88 kB / 472.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/0.5526, allocations: 0.6109 MB / 473.5 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.371e-05/0.5527, allocations: 49.31 kB / 473.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001945/0.5529, allocations: 71.89 kB / 473.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00264/0.5556, allocations: 0.9075 MB / 474.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.978e-05/0.5557, allocations: 3.984 kB / 474.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/0.5558, allocations: 31.94 kB / 474.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.965e-05/0.5559, allocations: 29.31 kB / 474.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002524/0.5584, allocations: 0.7624 MB / 475.3 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007639/0.5661, allocations: 2.82 MB / 478.1 MB, free: 8.816 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.5679, allocations: 0.7418 MB / 478.9 MB, free: 8.016 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.945e-05/0.568, allocations: 4.328 kB / 478.9 MB, free: 8.012 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001076/0.5691, allocations: 388.6 kB / 479.3 MB, free: 7.617 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 5.811e-06/0.5692, allocations: 0 / 479.3 MB, free: 7.617 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.00496/0.5741, allocations: 1.206 MB / 480.5 MB, free: 6.383 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.479e-05/0.5743, allocations: 89.09 kB / 480.5 MB, free: 6.277 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.5755, allocations: 0.5089 MB / 481.1 MB, free: 5.762 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001399/0.5757, allocations: 33.7 kB / 481.1 MB, free: 5.723 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004016/0.5761, allocations: 378.6 kB / 481.5 MB, free: 5.352 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002055/0.5763, allocations: 138 kB / 481.6 MB, free: 5.215 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.055e-05/0.5764, allocations: 12 kB / 481.6 MB, free: 5.203 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.5766, allocations: 330.8 kB / 481.9 MB, free: 4.871 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007199/0.5773, allocations: 221 kB / 482.1 MB, free: 4.656 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008375/0.5781, allocations: 348.1 kB / 482.5 MB, free: 4.262 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008645/0.579, allocations: 260 kB / 482.7 MB, free: 4.008 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/0.5791, allocations: 4 kB / 482.7 MB, free: 4.004 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002252/0.5813, allocations: 0.72 MB / 483.5 MB, free: 3.273 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.5814, allocations: 8 kB / 483.5 MB, free: 3.266 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.5814, allocations: 4 kB / 483.5 MB, free: 3.262 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008831/0.5823, allocations: 205 kB / 483.7 MB, free: 3.059 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006553/0.583, allocations: 75.84 kB / 483.7 MB, free: 2.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005542/0.5886, allocations: 2.731 MB / 486.5 MB, free: 124 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000716/0.5894, allocations: 59.67 kB / 486.5 MB, free: 64 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-05/0.5895, allocations: 15.98 kB / 486.6 MB, free: 48 kB / 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: 12 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0008317/0.5903, allocations: 333.4 kB / 486.9 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/0.5905, allocations: 55.34 kB / 486.9 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.5908, allocations: 61.28 kB / 487 MB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.5908, allocations: 12 kB / 487 MB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.5908, allocations: 0 / 487 MB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.5908, allocations: 3.984 kB / 487 MB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004015/0.5948, allocations: 1.534 MB / 488.5 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.5949, allocations: 3.984 kB / 488.5 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005221/0.5954, allocations: 55.86 kB / 488.6 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007959/0.5963, allocations: 192.7 kB / 488.8 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.245e-05/0.5963, allocations: 4 kB / 488.8 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005248/0.6016, allocations: 2.709 MB / 491.5 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.6017, allocations: 0 / 491.5 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003174/0.6049, allocations: 1.117 MB / 492.6 MB, free: 9.746 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005209/0.6054, allocations: 192.4 kB / 492.8 MB, free: 9.539 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/0.6056, allocations: 19.98 kB / 492.8 MB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005264/0.6061, allocations: 23.98 kB / 492.8 MB, free: 9.496 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/0.6064, allocations: 39.92 kB / 492.9 MB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.456e-05/0.6064, allocations: 19.95 kB / 492.9 MB, free: 9.438 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000888/0.6073, allocations: 414.8 kB / 493.3 MB, free: 9.035 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6074, allocations: 0 / 493.3 MB, free: 9.035 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001167/0.6085, allocations: 203.4 kB / 493.5 MB, free: 8.836 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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].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 (30): * Single equations (assignments): 26 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003664/0.6122, allocations: 1.682 MB / 495.2 MB, free: 7.125 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002273/0.6146, allocations: 0.7455 MB / 495.9 MB, free: 6.367 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/0.6146, allocations: 3.906 kB / 495.9 MB, free: 6.363 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001325/0.616, allocations: 474.5 kB / 496.4 MB, free: 5.887 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.6172, allocations: 134.6 kB / 496.5 MB, free: 5.754 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007213/0.6244, allocations: 4.522 MB / 0.4893 GB, free: 1.113 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/0.6255, allocations: 1.078 MB / 0.4904 GB, free: 8 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2717/0.8973, allocations: 239.8 kB / 0.4906 GB, free: 106.3 MB / 378.7 MB Notification: Performance of SimCode: time 1.753e-06/0.8973, allocations: 0 / 0.4906 GB, free: 106.3 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.924/3.821, allocations: 15.88 MB / 0.5061 GB, free: 102.9 MB / 378.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat does not exist to compare? outputFormat=mat