Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001087/0.001087, allocations: 202.1 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.241/1.241, allocations: 227.2 MB / 245 MB, free: 7.629 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008103/0.0008103, allocations: 99.42 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002408/0.0002409, allocations: 8 kB / 358 MB, free: 9.445 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1927, allocations: 51.49 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09009/0.2829, allocations: 82.62 MB / 492.1 MB, free: 7.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.2831, allocations: 85.7 kB / 492.2 MB, free: 7.898 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01705/0.3002, allocations: 6.619 MB / 498.8 MB, free: 1.246 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3002, allocations: 0 / 498.8 MB, free: 1.246 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.082e-05/0.3002, allocations: 8 kB / 498.9 MB, free: 1.238 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001021/0.3013, allocations: 0.6738 MB / 499.5 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.3013, allocations: 12.03 kB / 499.5 MB, free: 0.5 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.75e-05/0.3014, allocations: 74.52 kB / 499.6 MB, free: 428 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002426/0.3017, allocations: 75.36 kB / 499.7 MB, free: 352 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004592/0.3021, allocations: 339.5 kB / 0.4883 GB, free: 15.97 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.3022, allocations: 29 kB / 0.4883 GB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.819e-05/0.3022, allocations: 36 kB / 0.4884 GB, free: 15.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006111/0.3029, allocations: 391.8 kB / 0.4887 GB, free: 15.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.3029, allocations: 8 kB / 0.4887 GB, free: 15.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.566e-05/0.3029, allocations: 12 kB / 0.4888 GB, free: 15.49 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.3029, allocations: 12 kB / 0.4888 GB, free: 15.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004677/0.3034, allocations: 267.8 kB / 0.489 GB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/0.3054, allocations: 1.519 MB / 0.4905 GB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004026/0.3058, allocations: 243.4 kB / 0.4907 GB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.3058, allocations: 4.234 kB / 0.4907 GB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003699/0.3062, allocations: 230.2 kB / 0.491 GB, free: 13.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 1.603e-06/0.3062, allocations: 0 / 0.491 GB, free: 13.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.001346/0.3076, allocations: 0.5939 MB / 0.4915 GB, free: 12.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.3077, allocations: 85.05 kB / 0.4916 GB, free: 12.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003079/0.308, allocations: 275.6 kB / 0.4919 GB, free: 12.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.308, allocations: 41.69 kB / 0.4919 GB, free: 12.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.3082, allocations: 212.4 kB / 0.4921 GB, free: 11.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.467e-05/0.3083, allocations: 94.64 kB / 0.4922 GB, free: 11.76 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.49e-05/0.3083, allocations: 4 kB / 0.4922 GB, free: 11.76 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.3084, allocations: 346.8 kB / 0.4925 GB, free: 11.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.3086, allocations: 99.89 kB / 0.4926 GB, free: 11.31 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.3089, allocations: 210.5 kB / 0.4928 GB, free: 11.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.3091, allocations: 116 kB / 0.493 GB, free: 10.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3091, allocations: 0 / 0.493 GB, free: 10.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006615/0.3098, allocations: 421.4 kB / 0.4934 GB, free: 10.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.3098, allocations: 4 kB / 0.4934 GB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.3098, allocations: 4 kB / 0.4934 GB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003053/0.3101, allocations: 89.23 kB / 0.4934 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.3104, allocations: 63.84 kB / 0.4935 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/0.3122, allocations: 1.823 MB / 0.4953 GB, free: 8.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.3124, allocations: 39.67 kB / 0.4953 GB, free: 8.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.3125, allocations: 20.06 kB / 0.4953 GB, free: 8.348 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: 11 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode_p.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001822/0.3126, allocations: 171.8 kB / 0.4955 GB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.307e-05/0.3127, allocations: 31.62 kB / 0.4955 GB, free: 8.141 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.391e-05/0.3128, allocations: 39.86 kB / 0.4956 GB, free: 8.102 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3128, allocations: 4 kB / 0.4956 GB, free: 8.098 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.3128, allocations: 192 / 0.4956 GB, free: 8.098 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.3128, allocations: 3.953 kB / 0.4956 GB, free: 8.094 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004254/0.3132, allocations: 421.2 kB / 0.496 GB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3133, allocations: 0 / 0.496 GB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.3134, allocations: 31.92 kB / 0.496 GB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002159/0.3137, allocations: 76.8 kB / 0.4961 GB, free: 7.523 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.3137, allocations: 8 kB / 0.4961 GB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/0.3153, allocations: 1.831 MB / 0.4979 GB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3153, allocations: 3.984 kB / 0.4979 GB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008755/0.3162, allocations: 0.5066 MB / 0.4984 GB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.3164, allocations: 136.6 kB / 0.4985 GB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.398e-05/0.3164, allocations: 12 kB / 0.4985 GB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.3166, allocations: 19.94 kB / 0.4985 GB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.852e-05/0.3167, allocations: 23.97 kB / 0.4986 GB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/0.3167, allocations: 15.98 kB / 0.4986 GB, free: 4.789 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001803/0.3169, allocations: 211 kB / 0.4988 GB, free: 4.586 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3169, allocations: 4 kB / 0.4988 GB, free: 4.582 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004476/0.3174, allocations: 115.7 kB / 0.4989 GB, free: 4.469 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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.001139/0.3185, allocations: 1.073 MB / 0.4999 GB, free: 3.367 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000706/0.3192, allocations: 438.9 kB / 0.5004 GB, free: 2.926 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3192, allocations: 0 / 0.5004 GB, free: 2.926 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003783/0.3196, allocations: 287 kB / 0.5006 GB, free: 2.633 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.3199, allocations: 57.16 kB / 0.5007 GB, free: 2.578 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1432/0.4631, allocations: 3.479 MB / 0.5041 GB, free: 93.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.4634, allocations: 0.8186 MB / 0.5049 GB, free: 93.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002043/0.4636, allocations: 37.23 kB / 0.5049 GB, free: 93.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001969/0.4638, allocations: 126.8 kB / 0.505 GB, free: 93.13 MB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/0.4638, allocations: 0 / 0.505 GB, free: 93.13 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01945/0.4833, allocations: 7.448 MB / 0.5123 GB, free: 92.8 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/0.4835, allocations: 273.7 kB / 0.5126 GB, free: 92.44 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.919/2.403, allocations: 0 / 0.5126 GB, free: 92.44 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat does not exist to compare? outputFormat=mat