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.001164/0.001164, allocations: 90.72 kB / 16.31 MB, free: 5.676 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.001561/0.001561, allocations: 188.4 kB / 17.21 MB, free: 5.59 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.413/1.413, allocations: 223.2 MB / 241.2 MB, free: 316 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002691/0.0002692, allocations: 8 kB / 300.9 MB, free: 6.32 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1217, allocations: 50.42 MB / 351.4 MB, free: 3.883 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.003608/0.1254, allocations: 2.946 MB / 354.3 MB, free: 0.918 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.1268, allocations: 0.8104 MB / 355.1 MB, free: 104 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001929/0.127, allocations: 8 kB / 355.1 MB, free: 96 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.1272, allocations: 47.61 kB / 355.2 MB, free: 48 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002901/0.1275, allocations: 107.2 kB / 355.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.1278, allocations: 95.77 kB / 355.4 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004876/0.1283, allocations: 473.9 kB / 355.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002694/0.1286, allocations: 132.7 kB / 356 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.1288, allocations: 159.3 kB / 356.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002507/0.129, allocations: 179.1 kB / 356.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.678e-05/0.1291, allocations: 20 kB / 356.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.277e-05/0.1292, allocations: 20 kB / 356.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.703e-05/0.1293, allocations: 75.62 kB / 356.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.1294, allocations: 101.5 kB / 356.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003748/0.1297, allocations: 394.8 kB / 356.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1298, allocations: 0 / 356.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1298, allocations: 0 / 356.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.1298, allocations: 0 / 356.9 MB, free: 14.3 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.00113/0.1309, allocations: 0.6482 MB / 357.5 MB, free: 13.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.131, allocations: 12.02 kB / 357.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.53e-05/0.1311, allocations: 78.47 kB / 357.6 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.256e-05/0.1312, allocations: 51.44 kB / 357.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004103/0.1316, allocations: 323.1 kB / 358 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.1316, allocations: 33 kB / 358 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.714e-05/0.1317, allocations: 36 kB / 358.1 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00068/0.1324, allocations: 391.9 kB / 358.4 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.1324, allocations: 7.938 kB / 358.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.383e-05/0.1324, allocations: 11.95 kB / 358.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.1325, allocations: 16 kB / 358.5 MB, free: 12.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005091/0.133, allocations: 263.9 kB / 358.7 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.135, allocations: 1.511 MB / 360.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004124/0.1355, allocations: 239.5 kB / 360.5 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003513/0.1358, allocations: 174.1 kB / 360.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.1359, allocations: 8.219 kB / 360.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004147/0.1363, allocations: 230.5 kB / 360.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.984e-06/0.1363, allocations: 0 / 360.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001435/0.1377, allocations: 0.5888 MB / 361.5 MB, free: 9.445 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.208e-05/0.1378, allocations: 110.8 kB / 361.6 MB, free: 9.312 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003185/0.1382, allocations: 300.4 kB / 361.9 MB, free: 9.012 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.1382, allocations: 33.7 kB / 361.9 MB, free: 8.973 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.1384, allocations: 212.3 kB / 362.1 MB, free: 8.762 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.741e-05/0.1385, allocations: 98.61 kB / 362.2 MB, free: 8.664 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.551e-05/0.1385, allocations: 4 kB / 362.2 MB, free: 8.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1386, allocations: 346.8 kB / 362.6 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.1388, allocations: 96.7 kB / 362.6 MB, free: 8.219 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.1391, allocations: 225.5 kB / 362.9 MB, free: 7.941 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.1394, allocations: 123.8 kB / 363 MB, free: 7.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.1394, allocations: 4 kB / 363 MB, free: 7.816 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007114/0.1401, allocations: 409.9 kB / 363.4 MB, free: 7.406 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.1401, allocations: 7.984 kB / 363.4 MB, free: 7.398 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.1401, allocations: 11.95 kB / 363.4 MB, free: 7.387 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002965/0.1404, allocations: 84.75 kB / 363.5 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.1407, allocations: 67.97 kB / 363.6 MB, free: 7.234 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001904/0.1426, allocations: 1.796 MB / 365.4 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.1428, allocations: 39.69 kB / 365.4 MB, free: 5.262 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.684e-05/0.1429, allocations: 15.98 kB / 365.4 MB, free: 5.246 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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.0002043/0.1431, allocations: 177.7 kB / 365.6 MB, free: 5.062 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/0.1431, allocations: 31.81 kB / 365.6 MB, free: 5.031 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.409e-05/0.1432, allocations: 39.09 kB / 365.7 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1432, allocations: 3.938 kB / 365.7 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1432, allocations: 4 kB / 365.7 MB, free: 4.988 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.1432, allocations: 3.984 kB / 365.7 MB, free: 4.984 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007112/0.1439, allocations: 0.5653 MB / 366.2 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.144, allocations: 0 / 366.2 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.1441, allocations: 36.06 kB / 366.3 MB, free: 4.324 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002117/0.1444, allocations: 84.72 kB / 366.3 MB, free: 4.238 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.1444, allocations: 8 kB / 366.4 MB, free: 4.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/0.1461, allocations: 1.792 MB / 368.1 MB, free: 2.301 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1461, allocations: 0 / 368.1 MB, free: 2.301 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008941/0.147, allocations: 0.4989 MB / 368.6 MB, free: 1.777 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.1472, allocations: 132.7 kB / 368.8 MB, free: 1.629 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.475e-05/0.1472, allocations: 8 kB / 368.8 MB, free: 1.621 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.1474, allocations: 15.98 kB / 368.8 MB, free: 1.605 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.932e-05/0.1475, allocations: 23.97 kB / 368.8 MB, free: 1.582 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.1475, allocations: 15.98 kB / 368.8 MB, free: 1.566 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002292/0.1478, allocations: 203.1 kB / 369 MB, free: 1.371 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1478, allocations: 3.938 kB / 369 MB, free: 1.367 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000499/0.1483, allocations: 119.6 kB / 369.2 MB, free: 1.25 MB / 302.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_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.001279/0.1496, allocations: 1.063 MB / 370.2 MB, free: 160 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.1819/0.3315, allocations: 415.7 kB / 370.6 MB, free: 24.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.3316, allocations: 6.984 kB / 370.6 MB, free: 24.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005814/0.3322, allocations: 288.2 kB / 370.9 MB, free: 24.42 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005242/0.3327, allocations: 56.16 kB / 371 MB, free: 24.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003608/0.3363, allocations: 2.112 MB / 373.1 MB, free: 23.53 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.3366, allocations: 0.8059 MB / 373.9 MB, free: 22.83 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001503/0.3368, allocations: 37.34 kB / 373.9 MB, free: 22.83 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.3369, allocations: 123.5 kB / 374 MB, free: 22.82 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3369, allocations: 0 / 374 MB, free: 22.82 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02266/0.3596, allocations: 7.374 MB / 381.4 MB, free: 21.56 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001488/0.3598, allocations: 272.6 kB / 381.7 MB, free: 21.2 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.012/2.372, allocations: 9.547 kB / 381.7 MB, free: 21.2 MB / 302.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