Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",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.00098/0.0009803, allocations: 92.41 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.00102/0.001021, allocations: 183.1 kB / 17.2 MB, free: 5.91 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.408/1.408, allocations: 223.2 MB / 241.1 MB, free: 5.387 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002939/0.0002941, allocations: 6.75 kB / 300.8 MB, free: 6.094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1112, allocations: 50.43 MB / 351.2 MB, free: 11.58 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.003499/0.1147, allocations: 3.008 MB / 354.3 MB, free: 8.555 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.1163, allocations: 0.9825 MB / 355.2 MB, free: 7.57 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002072/0.1165, allocations: 11.94 kB / 355.2 MB, free: 7.559 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000194/0.1167, allocations: 87.44 kB / 355.3 MB, free: 7.473 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005912/0.1173, allocations: 207.4 kB / 355.5 MB, free: 7.27 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.1175, allocations: 91.84 kB / 355.6 MB, free: 7.18 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006846/0.1182, allocations: 0.5808 MB / 356.2 MB, free: 6.598 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005612/0.1188, allocations: 429 kB / 356.6 MB, free: 6.176 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003192/0.1191, allocations: 283 kB / 356.9 MB, free: 5.898 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004548/0.1196, allocations: 350.6 kB / 357.2 MB, free: 5.555 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.429e-05/0.1197, allocations: 44 kB / 357.3 MB, free: 5.512 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.334e-05/0.1198, allocations: 40 kB / 357.3 MB, free: 5.473 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.12, allocations: 199.3 kB / 357.5 MB, free: 5.277 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.1201, allocations: 185.3 kB / 357.7 MB, free: 5.09 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008203/0.1209, allocations: 0.9935 MB / 358.7 MB, free: 4.094 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.121, allocations: 4 kB / 358.7 MB, free: 4.09 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.121, allocations: 0 / 358.7 MB, free: 4.09 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.121, allocations: 0 / 358.7 MB, free: 4.09 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001812/0.1228, allocations: 1.041 MB / 359.7 MB, free: 2.992 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.1229, allocations: 8.031 kB / 359.7 MB, free: 2.984 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001498/0.123, allocations: 118.4 kB / 359.9 MB, free: 2.859 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.1232, allocations: 86.97 kB / 359.9 MB, free: 2.773 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009343/0.1241, allocations: 0.6031 MB / 360.6 MB, free: 2.133 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.047e-05/0.1242, allocations: 49.31 kB / 360.6 MB, free: 2.086 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.89e-05/0.1243, allocations: 67.94 kB / 360.7 MB, free: 2.02 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.1256, allocations: 0.915 MB / 361.6 MB, free: 1.082 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.1257, allocations: 4 kB / 361.6 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.487e-05/0.1257, allocations: 27.98 kB / 361.6 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.721e-05/0.1258, allocations: 37.2 kB / 361.6 MB, free: 1.012 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.1271, allocations: 0.8014 MB / 362.5 MB, free: 212 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003971/0.131, allocations: 2.823 MB / 365.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008899/0.1319, allocations: 0.7431 MB / 366 MB, free: 12.47 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.132, allocations: 8.266 kB / 366 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005976/0.1326, allocations: 385 kB / 366.4 MB, free: 12.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.134e-06/0.1326, allocations: 0 / 366.4 MB, free: 12.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.0026/0.1352, allocations: 1.217 MB / 367.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.391e-05/0.1353, allocations: 85.11 kB / 367.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006329/0.1359, allocations: 0.5643 MB / 368.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.179e-05/0.136, allocations: 33.7 kB / 368.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/0.1363, allocations: 359.9 kB / 368.6 MB, free: 9.746 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.1364, allocations: 138 kB / 368.8 MB, free: 9.609 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.347e-05/0.1364, allocations: 12 kB / 368.8 MB, free: 9.598 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1366, allocations: 366.7 kB / 369.2 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003591/0.1369, allocations: 229 kB / 369.4 MB, free: 9.008 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004365/0.1374, allocations: 356.9 kB / 369.7 MB, free: 8.609 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003978/0.1378, allocations: 259.8 kB / 370 MB, free: 8.355 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.1378, allocations: 0 / 370 MB, free: 8.355 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001212/0.139, allocations: 0.7588 MB / 370.7 MB, free: 7.586 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.1391, allocations: 8.469 kB / 370.7 MB, free: 7.578 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.1391, allocations: 8 kB / 370.8 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005106/0.1396, allocations: 212.6 kB / 371 MB, free: 7.359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.1399, allocations: 75.89 kB / 371 MB, free: 7.285 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003034/0.143, allocations: 2.741 MB / 373.8 MB, free: 4.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000358/0.1433, allocations: 55.56 kB / 373.8 MB, free: 4.355 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.1434, allocations: 20 kB / 373.9 MB, free: 4.336 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: 12 ($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.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004709/0.1439, allocations: 333.5 kB / 374.2 MB, free: 4 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.892e-05/0.1439, allocations: 59.3 kB / 374.2 MB, free: 3.941 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.1441, allocations: 69.27 kB / 374.3 MB, free: 3.875 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.1441, allocations: 4 kB / 374.3 MB, free: 3.871 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1441, allocations: 3.938 kB / 374.3 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.1441, allocations: 4 kB / 374.3 MB, free: 3.863 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00222/0.1463, allocations: 1.534 MB / 375.8 MB, free: 2.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1464, allocations: 0 / 375.8 MB, free: 2.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/0.1466, allocations: 55.91 kB / 375.9 MB, free: 2.215 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004167/0.147, allocations: 196.8 kB / 376.1 MB, free: 2.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.31e-05/0.1471, allocations: 11.98 kB / 376.1 MB, free: 2.008 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002784/0.1499, allocations: 2.708 MB / 378.8 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.1499, allocations: 3.938 kB / 378.8 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.1514, allocations: 1.117 MB / 379.9 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002717/0.1517, allocations: 192.4 kB / 380.1 MB, free: 13.81 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.979e-05/0.1518, allocations: 12 kB / 380.1 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002742/0.1521, allocations: 27.97 kB / 380.2 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.1522, allocations: 47.92 kB / 380.2 MB, free: 13.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.182e-05/0.1522, allocations: 16 kB / 380.2 MB, free: 13.71 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004912/0.1527, allocations: 414.8 kB / 380.6 MB, free: 13.3 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1528, allocations: 3.938 kB / 380.6 MB, free: 13.3 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007146/0.1535, allocations: 207.3 kB / 380.8 MB, free: 13.1 MB / 318.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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001847/0.1553, allocations: 1.689 MB / 382.5 MB, free: 11.38 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.1565, allocations: 0.7364 MB / 383.3 MB, free: 10.63 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1566, allocations: 4 kB / 383.3 MB, free: 10.63 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006297/0.1572, allocations: 487.3 kB / 383.7 MB, free: 10.14 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005328/0.1577, allocations: 135 kB / 383.9 MB, free: 10.01 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003527/0.1613, allocations: 4.614 MB / 388.5 MB, free: 5.27 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006446/0.1619, allocations: 1.086 MB / 389.6 MB, free: 4.156 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002598/0.1622, allocations: 96.72 kB / 389.7 MB, free: 4.062 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/0.1625, allocations: 239.4 kB / 389.9 MB, free: 3.828 MB / 318.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1625, allocations: 0 / 389.9 MB, free: 3.828 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03191/0.1944, allocations: 14.59 MB / 404.5 MB, free: 5.609 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003311/0.1948, allocations: 272.4 kB / 404.8 MB, free: 5.246 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.07/2.265, allocations: 3.656 kB / 404.8 MB, free: 5.246 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat does not exist to compare? outputFormat=mat