Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_4_0_0_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.001021, allocations: 86.91 kB / 16.31 MB, free: 5.66 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.001021/0.001021, allocations: 173.8 kB / 17.21 MB, free: 5.578 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.435/1.435, allocations: 223.2 MB / 241.2 MB, free: 5.457 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000295/0.0002951, allocations: 5.469 kB / 300.9 MB, free: 5.98 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1267, allocations: 50.43 MB / 351.4 MB, free: 11.63 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.004895/0.1316, allocations: 3.946 MB / 355.3 MB, free: 7.66 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002565/0.1342, allocations: 1.173 MB / 356.5 MB, free: 6.484 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000324/0.1346, allocations: 19.94 kB / 356.5 MB, free: 6.465 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.1349, allocations: 119.1 kB / 356.6 MB, free: 6.348 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007973/0.1357, allocations: 306.4 kB / 356.9 MB, free: 6.047 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003219/0.136, allocations: 127.8 kB / 357 MB, free: 5.922 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001689/0.1377, allocations: 1.638 MB / 358.7 MB, free: 4.277 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009498/0.1387, allocations: 0.7296 MB / 359.4 MB, free: 3.523 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006392/0.1393, allocations: 0.498 MB / 359.9 MB, free: 3.023 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008509/0.1402, allocations: 0.6848 MB / 360.6 MB, free: 2.336 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.1403, allocations: 76 kB / 360.7 MB, free: 2.262 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.1405, allocations: 72 kB / 360.7 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000302/0.1408, allocations: 354.7 kB / 361.1 MB, free: 1.844 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002585/0.1411, allocations: 289 kB / 361.4 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001491/0.1426, allocations: 1.776 MB / 363.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.1426, allocations: 4 kB / 363.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1426, allocations: 0 / 363.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.1426, allocations: 0 / 363.1 MB, free: 15.77 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002738/0.1454, allocations: 1.549 MB / 364.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.374e-05/0.1454, allocations: 8.031 kB / 364.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002594/0.1457, allocations: 168.6 kB / 364.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000286/0.146, allocations: 162.2 kB / 365 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/0.1475, allocations: 0.9261 MB / 365.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.449e-05/0.1476, allocations: 82.06 kB / 366 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/0.1478, allocations: 100 kB / 366.1 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002725/0.1505, allocations: 1.557 MB / 367.7 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/0.1506, allocations: 0 / 367.7 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.1507, allocations: 43.94 kB / 367.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-05/0.1508, allocations: 49.98 kB / 367.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002376/0.1531, allocations: 1.456 MB / 369.2 MB, free: 9.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007029/0.1602, allocations: 4.984 MB / 374.2 MB, free: 4.336 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/0.1619, allocations: 1.458 MB / 375.7 MB, free: 2.762 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001166/0.1631, allocations: 0.739 MB / 376.4 MB, free: 2.023 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.041e-05/0.1632, allocations: 8.5 kB / 376.4 MB, free: 2.016 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009688/0.1641, allocations: 0.6201 MB / 377 MB, free: 1.383 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.385e-06/0.1641, allocations: 0 / 377 MB, free: 1.383 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.005529/0.1697, allocations: 2.462 MB / 379.5 MB, free: 14.89 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.678e-05/0.1698, allocations: 97.69 kB / 379.6 MB, free: 14.77 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/0.1711, allocations: 0.9265 MB / 380.5 MB, free: 13.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.487e-05/0.1712, allocations: 41.7 kB / 380.6 MB, free: 13.79 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005212/0.1717, allocations: 0.5231 MB / 381.1 MB, free: 13.26 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002368/0.172, allocations: 236.6 kB / 381.3 MB, free: 13.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.172, allocations: 12 kB / 381.3 MB, free: 13.01 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.1722, allocations: 338 kB / 381.7 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006917/0.1729, allocations: 421.7 kB / 382.1 MB, free: 12.26 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007738/0.1737, allocations: 0.5602 MB / 382.6 MB, free: 11.65 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000741/0.1744, allocations: 461.9 kB / 383.1 MB, free: 11.2 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.1744, allocations: 4 kB / 383.1 MB, free: 11.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002168/0.1766, allocations: 1.308 MB / 384.4 MB, free: 9.875 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.1766, allocations: 7.938 kB / 384.4 MB, free: 9.867 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.1767, allocations: 4 kB / 384.4 MB, free: 9.863 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009064/0.1776, allocations: 391.1 kB / 384.8 MB, free: 9.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004881/0.1781, allocations: 123.8 kB / 384.9 MB, free: 9.359 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00517/0.1833, allocations: 4.136 MB / 389 MB, free: 5.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006626/0.1839, allocations: 87.45 kB / 389.1 MB, free: 5.004 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-05/0.184, allocations: 24 kB / 389.2 MB, free: 4.98 MB / 318.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: 15 ($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.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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.0008428/0.1849, allocations: 0.4915 MB / 389.6 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.185, allocations: 94.88 kB / 389.7 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/0.1853, allocations: 124.5 kB / 389.9 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.1853, allocations: 8 kB / 389.9 MB, free: 4.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.1853, allocations: 0 / 389.9 MB, free: 4.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.1853, allocations: 3.984 kB / 389.9 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003843/0.1892, allocations: 2.62 MB / 392.5 MB, free: 1.566 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.1892, allocations: 0 / 392.5 MB, free: 1.566 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004272/0.1896, allocations: 95.86 kB / 392.6 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007726/0.1904, allocations: 385 kB / 393 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.172e-05/0.1905, allocations: 19.98 kB / 393 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004892/0.1954, allocations: 4.097 MB / 397.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1954, allocations: 0 / 397.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00311/0.1985, allocations: 1.986 MB / 399.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005931/0.1991, allocations: 291.8 kB / 399.3 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002224/0.1994, allocations: 12 kB / 399.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005003/0.1999, allocations: 47.95 kB / 399.4 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/0.2001, allocations: 76.53 kB / 399.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.403e-05/0.2001, allocations: 23.98 kB / 399.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001049/0.2012, allocations: 0.6629 MB / 400.2 MB, free: 9.707 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2012, allocations: 4 kB / 400.2 MB, free: 9.703 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001182/0.2024, allocations: 346.9 kB / 400.5 MB, free: 9.363 MB / 334.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: 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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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 (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.003331/0.2057, allocations: 2.561 MB / 403.1 MB, free: 6.773 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002288/0.208, allocations: 1.292 MB / 404.4 MB, free: 5.465 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.2081, allocations: 8.125 kB / 404.4 MB, free: 5.457 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001287/0.2093, allocations: 0.8102 MB / 405.2 MB, free: 4.637 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.2106, allocations: 247.4 kB / 405.4 MB, free: 4.395 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01446/0.2251, allocations: 7.91 MB / 413.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/0.2264, allocations: 1.384 MB / 414.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005751/0.227, allocations: 171.2 kB / 414.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006044/0.2276, allocations: 411.3 kB / 415.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of SimCode: time 1.764e-06/0.2276, allocations: 0 / 415.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2598/0.4874, allocations: 25.91 MB / 441.2 MB, free: 59.61 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001561/0.4876, allocations: 279.3 kB / 441.5 MB, free: 59.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.312/2.8, allocations: 0 / 441.5 MB, free: 59.25 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat does not exist to compare? outputFormat=mat