Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",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.001234/0.001234, allocations: 172.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.497/1.497, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008033/0.0008034, allocations: 82.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.227e-05/3.247e-05, allocations: 3.938 kB / 322.6 MB, free: 17.24 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08442/0.08446, allocations: 47.57 MB / 370.1 MB, free: 1.602 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3298/0.4143, allocations: 83.94 MB / 454.1 MB, free: 9.383 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.4146, allocations: 89.69 kB / 454.2 MB, free: 9.332 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05515/0.4697, allocations: 21.14 MB / 475.3 MB, free: 5.445 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4698, allocations: 7.938 kB / 475.3 MB, free: 5.438 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.592e-05/0.4699, allocations: 39.92 kB / 475.3 MB, free: 5.398 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.002561/0.4724, allocations: 1.363 MB / 476.7 MB, free: 3.984 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.4725, allocations: 11.97 kB / 476.7 MB, free: 3.973 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002221/0.4727, allocations: 164.6 kB / 476.9 MB, free: 3.801 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002477/0.473, allocations: 150.2 kB / 477 MB, free: 3.652 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/0.4747, allocations: 0.9492 MB / 478 MB, free: 2.656 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.252e-05/0.4748, allocations: 78.03 kB / 478.1 MB, free: 2.578 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/0.475, allocations: 104 kB / 478.2 MB, free: 2.477 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/0.4773, allocations: 1.482 MB / 479.6 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.4773, allocations: 0 / 479.6 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.4774, allocations: 40 kB / 479.7 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-05/0.4775, allocations: 50.03 kB / 479.7 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/0.4795, allocations: 1.289 MB / 481 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007207/0.4867, allocations: 4.969 MB / 486 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/0.4883, allocations: 1.417 MB / 487.4 MB, free: 8.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001067/0.4894, allocations: 0.7 MB / 488.1 MB, free: 8.137 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.37e-05/0.4895, allocations: 8.547 kB / 488.1 MB, free: 8.129 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008371/0.4903, allocations: 0.5867 MB / 488.7 MB, free: 7.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 2.845e-06/0.4904, allocations: 0 / 488.7 MB, free: 7.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=72): time 0.002/0.4924, allocations: 1.18 MB / 489.9 MB, free: 6.328 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.4924, allocations: 89.88 kB / 490 MB, free: 6.223 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.4936, allocations: 0.8244 MB / 490.8 MB, free: 5.387 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.076e-05/0.4937, allocations: 41.7 kB / 490.8 MB, free: 5.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004568/0.4942, allocations: 0.5191 MB / 491.3 MB, free: 4.812 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/0.4944, allocations: 236.6 kB / 491.6 MB, free: 4.578 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.4944, allocations: 12 kB / 491.6 MB, free: 4.566 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.4945, allocations: 330 kB / 491.9 MB, free: 4.238 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005605/0.4951, allocations: 381.4 kB / 492.3 MB, free: 3.863 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000639/0.4958, allocations: 0.5065 MB / 492.8 MB, free: 3.305 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005937/0.4964, allocations: 423 kB / 493.2 MB, free: 2.891 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.4964, allocations: 0 / 493.2 MB, free: 2.891 MB / 362.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00174/0.4981, allocations: 1.206 MB / 494.4 MB, free: 1.676 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.4982, allocations: 4 kB / 494.4 MB, free: 1.672 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.4982, allocations: 4 kB / 494.4 MB, free: 1.668 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008617/0.499, allocations: 396 kB / 494.8 MB, free: 1.281 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004871/0.4995, allocations: 111.9 kB / 494.9 MB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005141/0.5047, allocations: 4.119 MB / 499 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006725/0.5054, allocations: 87.55 kB / 499.1 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.415e-05/0.5054, allocations: 23.98 kB / 499.1 MB, free: 12.8 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 (58): * Single equations (assignments): 57 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002235/0.5057, allocations: 158.5 kB / 499.3 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.5058, allocations: 90.88 kB / 499.4 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003544/0.5062, allocations: 120.5 kB / 499.5 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.5062, allocations: 8 kB / 499.5 MB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.5062, allocations: 8.125 kB / 499.5 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.5062, allocations: 7.938 kB / 499.5 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003771/0.51, allocations: 2.537 MB / 0.4903 GB, free: 9.812 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.51, allocations: 0 / 0.4903 GB, free: 9.812 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004294/0.5105, allocations: 91.88 kB / 0.4904 GB, free: 9.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008056/0.5113, allocations: 384.6 kB / 0.4907 GB, free: 9.344 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.443e-05/0.5114, allocations: 15.98 kB / 0.4908 GB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005166/0.5165, allocations: 4.065 MB / 0.4947 GB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.5166, allocations: 0 / 0.4947 GB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002804/0.5194, allocations: 1.861 MB / 0.4966 GB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006361/0.52, allocations: 283.8 kB / 0.4968 GB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.5201, allocations: 15.95 kB / 0.4968 GB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004329/0.5206, allocations: 47.95 kB / 0.4969 GB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/0.5208, allocations: 80.66 kB / 0.497 GB, free: 2.797 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.795e-05/0.5208, allocations: 24.11 kB / 0.497 GB, free: 2.773 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000963/0.5218, allocations: 0.6592 MB / 0.4976 GB, free: 2.121 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5218, allocations: 0 / 0.4976 GB, free: 2.121 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001067/0.5229, allocations: 350.9 kB / 0.498 GB, free: 1.777 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: 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 (45): * Single equations (assignments): 41 * 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 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.002838/0.5257, allocations: 2.434 MB / 0.5003 GB, free: 15.31 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002049/0.5278, allocations: 1.199 MB / 0.5015 GB, free: 14.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5278, allocations: 0 / 0.5015 GB, free: 14.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.5289, allocations: 0.7685 MB / 0.5023 GB, free: 13.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.53, allocations: 230.5 kB / 0.5025 GB, free: 13.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004738/0.5348, allocations: 2.453 MB / 0.5049 GB, free: 10.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/0.5358, allocations: 1.403 MB / 0.5062 GB, free: 9.172 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004795/0.5363, allocations: 167.2 kB / 0.5064 GB, free: 9.004 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005399/0.5369, allocations: 415.3 kB / 0.5068 GB, free: 8.598 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/0.5369, allocations: 0 / 0.5068 GB, free: 8.598 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2574/0.7943, allocations: 25.82 MB / 0.532 GB, free: 120.2 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001494/0.7945, allocations: 234.9 kB / 0.5322 GB, free: 119.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.413/3.207, allocations: 0 / 0.5322 GB, free: 119.9 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat does not exist to compare? outputFormat=mat