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.0008179/0.0008179, allocations: 87.8 kB / 16.31 MB, free: 6.449 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.0008161/0.0008158, allocations: 180.3 kB / 17.21 MB, free: 6.32 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.449/1.449, allocations: 223.3 MB / 241.2 MB, free: 5.191 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000271/0.000271, allocations: 6.969 kB / 300.9 MB, free: 5.48 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1011, allocations: 50.43 MB / 351.4 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.003423/0.1046, allocations: 3.155 MB / 354.5 MB, free: 8.074 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.1063, allocations: 0.9628 MB / 355.5 MB, free: 7.109 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001992/0.1065, allocations: 11.94 kB / 355.5 MB, free: 7.098 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002113/0.1067, allocations: 79.45 kB / 355.6 MB, free: 7.02 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000583/0.1073, allocations: 198.9 kB / 355.8 MB, free: 6.824 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.1076, allocations: 95.83 kB / 355.8 MB, free: 6.73 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009234/0.1085, allocations: 0.9729 MB / 356.8 MB, free: 5.754 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005545/0.1091, allocations: 421 kB / 357.2 MB, free: 5.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004692/0.1095, allocations: 298.8 kB / 357.5 MB, free: 5.047 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005394/0.1101, allocations: 410.3 kB / 357.9 MB, free: 4.645 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.341e-05/0.1102, allocations: 40 kB / 358 MB, free: 4.605 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.637e-05/0.1103, allocations: 40 kB / 358 MB, free: 4.566 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001939/0.1105, allocations: 211.3 kB / 358.2 MB, free: 4.359 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.1107, allocations: 181.3 kB / 358.4 MB, free: 4.176 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008218/0.1115, allocations: 1.005 MB / 359.4 MB, free: 3.168 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1115, allocations: 0 / 359.4 MB, free: 3.168 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1115, allocations: 0 / 359.4 MB, free: 3.168 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.1115, allocations: 0 / 359.4 MB, free: 3.168 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.001739/0.1133, allocations: 1.037 MB / 360.4 MB, free: 2.074 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.1133, allocations: 8.031 kB / 360.4 MB, free: 2.066 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001451/0.1135, allocations: 122.4 kB / 360.6 MB, free: 1.938 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.1136, allocations: 86.97 kB / 360.6 MB, free: 1.852 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007841/0.1144, allocations: 0.5992 MB / 361.2 MB, free: 1.215 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.769e-05/0.1145, allocations: 49.31 kB / 361.3 MB, free: 1.168 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.1146, allocations: 63.94 kB / 361.4 MB, free: 1.105 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.116, allocations: 0.9228 MB / 362.3 MB, free: 164 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.116, allocations: 0 / 362.3 MB, free: 164 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.699e-05/0.1161, allocations: 28 kB / 362.3 MB, free: 136 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.083e-05/0.1162, allocations: 37.23 kB / 362.3 MB, free: 96 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.1175, allocations: 0.8131 MB / 363.1 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004038/0.1215, allocations: 2.815 MB / 366 MB, free: 12.35 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000895/0.1225, allocations: 0.7431 MB / 366.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005647/0.123, allocations: 357.1 kB / 367.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.875e-05/0.1231, allocations: 8.328 kB / 367.1 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005847/0.1237, allocations: 389.8 kB / 367.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.913e-06/0.1237, allocations: 0 / 367.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002595/0.1263, allocations: 1.237 MB / 368.7 MB, free: 9.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.631e-05/0.1264, allocations: 110.8 kB / 368.8 MB, free: 9.387 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006763/0.1271, allocations: 0.5643 MB / 369.4 MB, free: 8.812 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/0.1271, allocations: 37.69 kB / 369.4 MB, free: 8.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002623/0.1274, allocations: 352 kB / 369.7 MB, free: 8.418 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.1275, allocations: 146 kB / 369.9 MB, free: 8.273 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/0.1275, allocations: 4 kB / 369.9 MB, free: 8.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1277, allocations: 370.7 kB / 370.2 MB, free: 7.898 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003473/0.1281, allocations: 221 kB / 370.5 MB, free: 7.684 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004218/0.1285, allocations: 365.7 kB / 370.8 MB, free: 7.273 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003813/0.1289, allocations: 255.7 kB / 371.1 MB, free: 7.023 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.1289, allocations: 4 kB / 371.1 MB, free: 7.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001151/0.13, allocations: 0.7553 MB / 371.8 MB, free: 6.254 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.1301, allocations: 8 kB / 371.8 MB, free: 6.246 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/0.1301, allocations: 7.938 kB / 371.8 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004985/0.1306, allocations: 212.7 kB / 372 MB, free: 6.027 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002915/0.1309, allocations: 75.89 kB / 372.1 MB, free: 5.953 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003075/0.134, allocations: 2.766 MB / 374.9 MB, free: 3.051 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003368/0.1343, allocations: 55.7 kB / 374.9 MB, free: 2.996 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.1344, allocations: 23.95 kB / 375 MB, free: 2.973 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: 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 (43): * Single equations (assignments): 42 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.000451/0.1348, allocations: 329.9 kB / 375.3 MB, free: 2.641 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.461e-05/0.1349, allocations: 55.34 kB / 375.3 MB, free: 2.586 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.1351, allocations: 69.27 kB / 375.4 MB, free: 2.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.1351, allocations: 7.938 kB / 375.4 MB, free: 2.512 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1351, allocations: 4 kB / 375.4 MB, free: 2.508 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1351, allocations: 0 / 375.4 MB, free: 2.508 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002313/0.1374, allocations: 1.756 MB / 377.2 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.1374, allocations: 0 / 377.2 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.1376, allocations: 52.06 kB / 377.2 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003902/0.138, allocations: 207.6 kB / 377.4 MB, free: 444 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.1381, allocations: 4 kB / 377.4 MB, free: 440 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002471/0.1406, allocations: 2.643 MB / 380.1 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1406, allocations: 0 / 380.1 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.1421, allocations: 1.153 MB / 381.2 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002078/0.1424, allocations: 196.3 kB / 381.4 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.467e-05/0.1424, allocations: 7.938 kB / 381.4 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.1427, allocations: 31.97 kB / 381.5 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.942e-05/0.1428, allocations: 43.92 kB / 381.5 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.1428, allocations: 16 kB / 381.5 MB, free: 12.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004106/0.1432, allocations: 410.8 kB / 381.9 MB, free: 11.76 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1433, allocations: 0 / 381.9 MB, free: 11.76 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006297/0.1439, allocations: 211.3 kB / 382.1 MB, free: 11.55 MB / 318.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: 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.001774/0.1457, allocations: 1.733 MB / 383.9 MB, free: 9.785 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.1468, allocations: 0.7332 MB / 384.6 MB, free: 9.039 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1468, allocations: 0 / 384.6 MB, free: 9.039 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005898/0.1474, allocations: 487 kB / 385.1 MB, free: 8.555 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000633/0.148, allocations: 146 kB / 385.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006001/0.154, allocations: 4.559 MB / 389.8 MB, free: 3.746 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005537/0.1546, allocations: 1.074 MB / 390.8 MB, free: 2.645 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002552/0.1549, allocations: 92.72 kB / 390.9 MB, free: 2.551 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000273/0.1552, allocations: 239.4 kB / 391.2 MB, free: 2.316 MB / 318.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1552, allocations: 4 kB / 391.2 MB, free: 2.312 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03761/0.1928, allocations: 14.84 MB / 406 MB, free: 3.844 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002538/0.1931, allocations: 281.3 kB / 406.3 MB, free: 3.477 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.106/2.299, allocations: 0 / 406.3 MB, free: 3.477 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