Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_3_cpp_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 3.2.3+maint.om/package.mo): time 0.002165/0.00217, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.988/1.988, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001668/0.001668, allocations: 87.5 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 3.125e-05/3.14e-05, allocations: 4 kB / 314.9 MB, free: 9.055 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4404/0.4404, allocations: 47.57 MB / 362.4 MB, free: 45.73 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.135/0.5755, allocations: 79.79 MB / 442.2 MB, free: 6.426 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/0.5759, allocations: 79.95 kB / 442.3 MB, free: 6.348 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02782/0.6037, allocations: 6.216 MB / 448.5 MB, free: 168 kB / 331.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6038, allocations: 1.75 kB / 448.5 MB, free: 168 kB / 331.1 MB Notification: Performance of Transformations before backend: time 3.181e-05/0.6038, allocations: 9.125 kB / 448.5 MB, free: 160 kB / 331.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001527/0.6053, allocations: 0.6081 MB / 449.1 MB, free: 15.5 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.6054, allocations: 8.031 kB / 449.2 MB, free: 15.5 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.6056, allocations: 51.78 kB / 449.2 MB, free: 15.45 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007135/0.6063, allocations: 334.9 kB / 449.5 MB, free: 15.08 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.035e-05/0.6064, allocations: 16 kB / 449.5 MB, free: 15.06 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.791e-05/0.6065, allocations: 23.94 kB / 449.6 MB, free: 15.04 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006891/0.6072, allocations: 217.5 kB / 449.8 MB, free: 14.82 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007985/0.608, allocations: 303.1 kB / 450.1 MB, free: 14.51 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.608, allocations: 7.984 kB / 450.1 MB, free: 14.5 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.887e-05/0.6081, allocations: 4 kB / 450.1 MB, free: 14.5 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.6081, allocations: 8 kB / 450.1 MB, free: 14.49 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003428/0.6116, allocations: 1.409 MB / 451.5 MB, free: 13 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005604/0.6122, allocations: 211.2 kB / 451.7 MB, free: 12.78 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004785/0.6127, allocations: 151.3 kB / 451.9 MB, free: 12.63 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.412e-05/0.6127, allocations: 8.219 kB / 451.9 MB, free: 12.62 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005109/0.6133, allocations: 206 kB / 452.1 MB, free: 12.4 MB / 347.1 MB Notification: Performance of pre-optimization done (n=31): time 2.465e-06/0.6133, allocations: 4 kB / 452.1 MB, free: 12.4 MB / 347.1 MB Notification: Performance of matching and sorting (n=31): time 0.001089/0.6144, allocations: 292.7 kB / 452.4 MB, free: 12.11 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.411e-05/0.6145, allocations: 106.8 kB / 452.5 MB, free: 11.98 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000418/0.6149, allocations: 235.4 kB / 452.7 MB, free: 11.74 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 6.269e-05/0.615, allocations: 33.69 kB / 452.7 MB, free: 11.7 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.6152, allocations: 266.8 kB / 453 MB, free: 11.44 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.6154, allocations: 90.66 kB / 453.1 MB, free: 11.35 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.122e-05/0.6154, allocations: 0 / 453.1 MB, free: 11.35 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.6156, allocations: 326.8 kB / 453.4 MB, free: 11.02 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/0.6158, allocations: 68 kB / 453.5 MB, free: 10.96 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003249/0.6161, allocations: 189.9 kB / 453.6 MB, free: 10.72 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/0.6164, allocations: 91.92 kB / 453.7 MB, free: 10.63 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.6164, allocations: 0 / 453.7 MB, free: 10.63 MB / 347.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009811/0.6174, allocations: 323.4 kB / 454.1 MB, free: 10.3 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.6175, allocations: 8 kB / 454.1 MB, free: 10.3 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.6175, allocations: 5.969 kB / 454.1 MB, free: 10.29 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004652/0.618, allocations: 77.3 kB / 454.1 MB, free: 10.21 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004339/0.6184, allocations: 63.84 kB / 454.2 MB, free: 10.15 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002743/0.6212, allocations: 1.735 MB / 455.9 MB, free: 8.305 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004632/0.6217, allocations: 32.7 kB / 456 MB, free: 8.273 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.698e-05/0.6218, allocations: 12 kB / 456 MB, free: 8.262 MB / 347.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.off,rectifier.diode_n.off) * Number of discrete 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.000191/0.622, allocations: 125.9 kB / 456.1 MB, free: 8.133 MB / 347.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009308/0.6229, allocations: 298.2 kB / 456.4 MB, free: 7.832 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.145e-05/0.623, allocations: 31.62 kB / 456.4 MB, free: 7.801 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.6232, allocations: 35.47 kB / 456.5 MB, free: 7.766 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.6232, allocations: 4 kB / 456.5 MB, free: 7.762 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.6232, allocations: 4.031 kB / 456.5 MB, free: 7.758 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.6232, allocations: 0 / 456.5 MB, free: 7.758 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009667/0.6242, allocations: 0.4996 MB / 457 MB, free: 7.211 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.6242, allocations: 11.92 kB / 457 MB, free: 7.199 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003823/0.6246, allocations: 34.05 kB / 457 MB, free: 7.168 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003816/0.625, allocations: 76.81 kB / 457.1 MB, free: 7.09 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.578e-05/0.6251, allocations: 4.031 kB / 457.1 MB, free: 7.086 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002566/0.6276, allocations: 1.716 MB / 458.8 MB, free: 5.254 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.6277, allocations: 4.031 kB / 458.8 MB, free: 5.25 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.6291, allocations: 457.5 kB / 459.3 MB, free: 4.77 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000251/0.6294, allocations: 136.7 kB / 459.4 MB, free: 4.617 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.288e-05/0.6295, allocations: 3.953 kB / 459.4 MB, free: 4.613 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003142/0.6298, allocations: 11.98 kB / 459.4 MB, free: 4.602 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.6299, allocations: 27.95 kB / 459.4 MB, free: 4.574 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.771e-05/0.63, allocations: 12 kB / 459.5 MB, free: 4.562 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0003059/0.6303, allocations: 182 kB / 459.6 MB, free: 4.383 MB / 347.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6303, allocations: 0 / 459.6 MB, free: 4.383 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0007763/0.6311, allocations: 103.7 kB / 459.7 MB, free: 4.281 MB / 347.1 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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * 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.001804/0.6329, allocations: 1.072 MB / 460.8 MB, free: 3.172 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.0009811/0.6339, allocations: 360.4 kB / 461.2 MB, free: 2.812 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.634, allocations: 320 / 461.2 MB, free: 2.812 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005451/0.6345, allocations: 261.3 kB / 461.4 MB, free: 2.547 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004659/0.635, allocations: 41.98 kB / 461.5 MB, free: 2.504 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001946/0.637, allocations: 0.5674 MB / 462 MB, free: 1.887 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000519/0.6376, allocations: 0.8107 MB / 462.8 MB, free: 1.047 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002888/0.6379, allocations: 123.4 kB / 462.9 MB, free: 0.9258 MB / 347.1 MB Notification: Performance of SimCode: time 1.132e-06/0.6379, allocations: 0 / 462.9 MB, free: 0.9258 MB / 347.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.778/3.416, allocations: 7.168 MB / 470.1 MB, free: 9.797 MB / 363.1 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat does not exist to compare? outputFormat=mat