Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_4_0_0_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 94.14 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 180.9 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 223.2 MB / 241.1 MB, free: 5.344 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003088/0.0003089, allocations: 6.75 kB / 300.8 MB, free: 6.023 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.134, allocations: 50.42 MB / 351.2 MB, free: 11.52 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.003898/0.1379, allocations: 2.812 MB / 354.1 MB, free: 8.695 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.1394, allocations: 0.8341 MB / 354.9 MB, free: 7.855 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001888/0.1396, allocations: 4 kB / 354.9 MB, free: 7.852 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001531/0.1398, allocations: 47.61 kB / 354.9 MB, free: 7.805 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003088/0.1401, allocations: 139.6 kB / 355.1 MB, free: 7.668 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.1403, allocations: 107.8 kB / 355.2 MB, free: 7.562 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003843/0.1407, allocations: 335.2 kB / 355.5 MB, free: 7.234 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002691/0.141, allocations: 136.4 kB / 355.6 MB, free: 7.09 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001977/0.1412, allocations: 155.4 kB / 355.8 MB, free: 6.938 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.1415, allocations: 183.1 kB / 356 MB, free: 6.758 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.203e-05/0.1415, allocations: 20 kB / 356 MB, free: 6.738 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.283e-05/0.1416, allocations: 20 kB / 356 MB, free: 6.719 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.782e-05/0.1417, allocations: 75.67 kB / 356.1 MB, free: 6.645 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.1418, allocations: 101.5 kB / 356.2 MB, free: 6.539 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003449/0.1421, allocations: 382.9 kB / 356.6 MB, free: 6.164 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.1421, allocations: 0 / 356.6 MB, free: 6.164 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1421, allocations: 0 / 356.6 MB, free: 6.164 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.1422, allocations: 0 / 356.6 MB, free: 6.164 MB / 286.1 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.001105/0.1433, allocations: 0.656 MB / 357.2 MB, free: 5.457 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.1433, allocations: 8.031 kB / 357.2 MB, free: 5.449 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.755e-05/0.1434, allocations: 82.52 kB / 357.3 MB, free: 5.359 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.398e-05/0.1435, allocations: 47.44 kB / 357.4 MB, free: 5.312 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004074/0.1439, allocations: 327.1 kB / 357.7 MB, free: 4.953 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.144, allocations: 29 kB / 357.7 MB, free: 4.926 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.406e-05/0.144, allocations: 36 kB / 357.7 MB, free: 4.891 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006422/0.1447, allocations: 391.9 kB / 358.1 MB, free: 4.488 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.1447, allocations: 0 / 358.1 MB, free: 4.488 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.072e-05/0.1448, allocations: 19.89 kB / 358.1 MB, free: 4.469 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.1448, allocations: 8 kB / 358.1 MB, free: 4.461 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005072/0.1453, allocations: 267.9 kB / 358.4 MB, free: 4.199 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002144/0.1474, allocations: 1.511 MB / 359.9 MB, free: 2.59 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004259/0.1479, allocations: 239.5 kB / 360.2 MB, free: 2.348 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.1479, allocations: 4.219 kB / 360.2 MB, free: 2.344 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004083/0.1483, allocations: 233.6 kB / 360.4 MB, free: 2.098 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.774e-06/0.1483, allocations: 0 / 360.4 MB, free: 2.098 MB / 286.1 MB Notification: Performance of matching and sorting (n=31): time 0.001542/0.1499, allocations: 0.5887 MB / 361 MB, free: 1.48 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.667e-05/0.15, allocations: 81.11 kB / 361.1 MB, free: 1.383 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.1503, allocations: 300.4 kB / 361.3 MB, free: 1.082 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.1504, allocations: 33.7 kB / 361.4 MB, free: 1.043 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.1505, allocations: 216.4 kB / 361.6 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.3e-05/0.1506, allocations: 102.5 kB / 361.7 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.571e-05/0.1507, allocations: 8 kB / 361.7 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1508, allocations: 338.8 kB / 362 MB, free: 388 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.151, allocations: 96.7 kB / 362.1 MB, free: 292 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003187/0.1513, allocations: 228.6 kB / 362.3 MB, free: 8 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.1516, allocations: 120 kB / 362.5 MB, free: 15.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1516, allocations: 0 / 362.5 MB, free: 15.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007446/0.1523, allocations: 413.6 kB / 362.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.1524, allocations: 8 kB / 362.9 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.1524, allocations: 4.469 kB / 362.9 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003181/0.1527, allocations: 92.73 kB / 363 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.153, allocations: 59.91 kB / 363 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002008/0.155, allocations: 1.819 MB / 364.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.1552, allocations: 47.67 kB / 364.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.1553, allocations: 16 kB / 364.9 MB, free: 13.29 MB / 302.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_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 (36): * Single equations (assignments): 35 * 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.0002009/0.1555, allocations: 158 kB / 365.1 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.009e-05/0.1555, allocations: 35.61 kB / 365.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.561e-05/0.1556, allocations: 47.03 kB / 365.1 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.1556, allocations: 7.953 kB / 365.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.1556, allocations: 0 / 365.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1556, allocations: 0 / 365.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004495/0.1561, allocations: 413.2 kB / 365.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/0.1561, allocations: 3.984 kB / 365.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.1563, allocations: 27.98 kB / 365.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002142/0.1565, allocations: 80.78 kB / 365.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.1566, allocations: 11.98 kB / 365.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/0.1585, allocations: 1.825 MB / 367.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1585, allocations: 0 / 367.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008795/0.1594, allocations: 0.5019 MB / 368 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.1595, allocations: 136.7 kB / 368.1 MB, free: 9.828 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.873e-05/0.1596, allocations: 8 kB / 368.1 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.1597, allocations: 19.92 kB / 368.2 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.437e-05/0.1598, allocations: 27.91 kB / 368.2 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.345e-05/0.1599, allocations: 15.94 kB / 368.2 MB, free: 9.758 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002008/0.1601, allocations: 207.1 kB / 368.4 MB, free: 9.559 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1601, allocations: 0 / 368.4 MB, free: 9.559 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004819/0.1606, allocations: 115.6 kB / 368.5 MB, free: 9.445 MB / 302.1 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.001222/0.1618, allocations: 1.052 MB / 369.6 MB, free: 8.363 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007773/0.1626, allocations: 435.1 kB / 370 MB, free: 7.926 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1626, allocations: 0.875 kB / 370 MB, free: 7.926 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004446/0.163, allocations: 294.5 kB / 370.3 MB, free: 7.625 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.1634, allocations: 44.62 kB / 370.3 MB, free: 7.582 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/0.1663, allocations: 3.636 MB / 374 MB, free: 3.828 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.1668, allocations: 0.8145 MB / 374.8 MB, free: 2.984 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001318/0.1669, allocations: 30.97 kB / 374.8 MB, free: 2.953 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.1671, allocations: 119.4 kB / 374.9 MB, free: 2.84 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1671, allocations: 4 kB / 374.9 MB, free: 2.836 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02182/0.1889, allocations: 7.229 MB / 382.2 MB, free: 11.92 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002336/0.1892, allocations: 264.8 kB / 382.4 MB, free: 11.56 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.981/2.17, allocations: 0 / 382.4 MB, free: 11.56 MB / 318.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat does not exist to compare? outputFormat=mat