Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_3_2_3_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.0009913/0.0009913, allocations: 95.69 kB / 16.93 MB, free: 5.984 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.000945/0.000945, allocations: 179.6 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005107/0.0005108, allocations: 16 kB / 280.9 MB, free: 3.621 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08932/0.08984, allocations: 47.57 MB / 328.4 MB, free: 3.977 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.003543/0.09343, allocations: 2.961 MB / 331.4 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.09513, allocations: 1.038 MB / 332.4 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.09532, allocations: 15.88 kB / 332.5 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.09551, allocations: 83.47 kB / 332.5 MB, free: 15.86 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:4970:20-4970:43:writable] Warning: 'each' used when modifying non-array element diode. Notification: Performance of NFTyping.typeBindings: time 0.0005274/0.09605, allocations: 199.4 kB / 332.7 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.0963, allocations: 95.83 kB / 332.8 MB, free: 15.57 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:4970:20-4970:43:writable] Warning: 'each' used when modifying non-array element diode. Notification: Performance of NFFlatten.flatten: time 0.0006357/0.09694, allocations: 0.577 MB / 333.4 MB, free: 14.99 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004706/0.09742, allocations: 392.6 kB / 333.8 MB, free: 14.6 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:4970:20-4970:43:writable] Warning: 'each' used when modifying non-array element diode. Notification: Performance of NFEvalConstants.evaluate: time 0.0002986/0.09773, allocations: 286.9 kB / 334.1 MB, free: 14.32 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004284/0.09817, allocations: 362.5 kB / 334.4 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.606e-05/0.09825, allocations: 44 kB / 334.5 MB, free: 13.92 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.521e-05/0.09834, allocations: 40 kB / 334.5 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.09852, allocations: 203.4 kB / 334.7 MB, free: 13.68 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.09868, allocations: 185.2 kB / 334.9 MB, free: 13.49 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007537/0.09944, allocations: 0.9898 MB / 335.9 MB, free: 12.5 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.09945, allocations: 4 kB / 335.9 MB, free: 12.5 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.09946, allocations: 0 / 335.9 MB, free: 12.5 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.09948, allocations: 0 / 335.9 MB, free: 12.5 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001656/0.1011, allocations: 1.01 MB / 336.9 MB, free: 11.43 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1012, allocations: 12.02 kB / 336.9 MB, free: 11.42 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000139/0.1013, allocations: 118.5 kB / 337 MB, free: 11.3 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.1015, allocations: 90.88 kB / 337.1 MB, free: 11.21 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008267/0.1023, allocations: 0.5721 MB / 337.7 MB, free: 10.59 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.507e-05/0.1023, allocations: 53.31 kB / 337.7 MB, free: 10.54 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.382e-05/0.1024, allocations: 60 kB / 337.8 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.1038, allocations: 0.9072 MB / 338.7 MB, free: 9.551 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.1038, allocations: 4 kB / 338.7 MB, free: 9.547 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.225e-05/0.1039, allocations: 23.98 kB / 338.7 MB, free: 9.523 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.494e-05/0.1039, allocations: 33.31 kB / 338.7 MB, free: 9.492 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.1052, allocations: 0.7897 MB / 339.5 MB, free: 8.699 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003927/0.1092, allocations: 2.803 MB / 342.3 MB, free: 5.785 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008817/0.1101, allocations: 0.7534 MB / 343.1 MB, free: 4.969 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.1101, allocations: 12.25 kB / 343.1 MB, free: 4.957 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005955/0.1107, allocations: 381 kB / 343.5 MB, free: 4.566 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 2.264e-06/0.1107, allocations: 0 / 343.5 MB, free: 4.566 MB / 286.1 MB Notification: Performance of matching and sorting (n=43): time 0.00259/0.1133, allocations: 1.206 MB / 344.7 MB, free: 3.332 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.782e-05/0.1134, allocations: 93.05 kB / 344.8 MB, free: 3.223 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007263/0.1142, allocations: 0.5604 MB / 345.3 MB, free: 2.652 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.029e-05/0.1142, allocations: 37.7 kB / 345.4 MB, free: 2.609 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003294/0.1146, allocations: 351.9 kB / 345.7 MB, free: 2.262 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.1147, allocations: 142.1 kB / 345.9 MB, free: 2.121 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/0.1147, allocations: 12 kB / 345.9 MB, free: 2.109 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.1149, allocations: 362.7 kB / 346.2 MB, free: 1.746 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000389/0.1153, allocations: 229 kB / 346.4 MB, free: 1.523 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000502/0.1158, allocations: 356.9 kB / 346.8 MB, free: 1.117 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004512/0.1163, allocations: 259.4 kB / 347 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.1163, allocations: 0 / 347 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001259/0.1176, allocations: 0.7587 MB / 347.8 MB, free: 96 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.1176, allocations: 8.469 kB / 347.8 MB, free: 88 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/0.1177, allocations: 11.94 kB / 347.8 MB, free: 76 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005218/0.1182, allocations: 200.7 kB / 348 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003519/0.1185, allocations: 75.89 kB / 348.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003065/0.1216, allocations: 2.741 MB / 350.8 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003831/0.122, allocations: 51.7 kB / 350.9 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.491e-05/0.1221, allocations: 16 kB / 350.9 MB, free: 12.86 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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,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.0005105/0.1226, allocations: 329.4 kB / 351.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.707e-05/0.1227, allocations: 67.28 kB / 351.3 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.1228, allocations: 61.28 kB / 351.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1228, allocations: 4 kB / 351.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1228, allocations: 4 kB / 351.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.1228, allocations: 3.984 kB / 351.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002261/0.1251, allocations: 1.534 MB / 352.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.1251, allocations: 0 / 352.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.1254, allocations: 55.89 kB / 352.9 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004079/0.1258, allocations: 196.8 kB / 353.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.722e-05/0.1259, allocations: 11.98 kB / 353.2 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002892/0.1288, allocations: 2.726 MB / 355.9 MB, free: 7.676 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1288, allocations: 0 / 355.9 MB, free: 7.676 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.1304, allocations: 1.121 MB / 357 MB, free: 6.531 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002639/0.1306, allocations: 188.4 kB / 357.2 MB, free: 6.328 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.206e-05/0.1307, allocations: 12 kB / 357.2 MB, free: 6.316 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002726/0.131, allocations: 23.97 kB / 357.2 MB, free: 6.293 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.1311, allocations: 47.92 kB / 357.3 MB, free: 6.246 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.1312, allocations: 8 kB / 357.3 MB, free: 6.238 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004799/0.1316, allocations: 426.7 kB / 357.7 MB, free: 5.824 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1316, allocations: 0 / 357.7 MB, free: 5.824 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007059/0.1324, allocations: 203.4 kB / 357.9 MB, free: 5.625 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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.0019/0.1343, allocations: 1.677 MB / 359.6 MB, free: 3.914 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.1356, allocations: 0.7568 MB / 360.3 MB, free: 3.145 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.1356, allocations: 4 kB / 360.3 MB, free: 3.141 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007137/0.1363, allocations: 483 kB / 360.8 MB, free: 2.656 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006147/0.1369, allocations: 130.3 kB / 360.9 MB, free: 2.531 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004183/0.1411, allocations: 4.679 MB / 365.6 MB, free: 13.73 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006611/0.1418, allocations: 1.082 MB / 366.7 MB, free: 12.62 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002721/0.1421, allocations: 96.72 kB / 366.8 MB, free: 12.52 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/0.1424, allocations: 239.4 kB / 367 MB, free: 12.29 MB / 318.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1424, allocations: 0 / 367 MB, free: 12.29 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.167/0.3094, allocations: 14.57 MB / 381.6 MB, free: 51.64 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001482/0.3096, allocations: 256.8 kB / 381.8 MB, free: 51.29 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.98/2.289, allocations: 3.906 kB / 381.8 MB, free: 51.29 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat does not exist to compare? outputFormat=mat