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.001632/0.001632, allocations: 106.8 kB / 16.62 MB, free: 6.812 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.001876/0.001876, allocations: 189.9 kB / 17.55 MB, free: 5.953 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.246/1.246, allocations: 222.9 MB / 241.2 MB, free: 15.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009936/0.0009937, allocations: 50.14 kB / 300.3 MB, free: 6.121 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08354/0.08455, allocations: 49.44 MB / 349.7 MB, free: 4.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004764/0.08935, allocations: 3.478 MB / 353.2 MB, free: 1.168 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.09086, allocations: 0.8335 MB / 354 MB, free: 336 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002981/0.09118, allocations: 7.938 kB / 354 MB, free: 328 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.09143, allocations: 47.61 kB / 354.1 MB, free: 280 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000369/0.09183, allocations: 107.2 kB / 354.2 MB, free: 172 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003257/0.09216, allocations: 127.8 kB / 354.3 MB, free: 44 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005583/0.09273, allocations: 0.5096 MB / 354.8 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002862/0.09303, allocations: 170.1 kB / 355 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000259/0.0933, allocations: 199.2 kB / 355.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002788/0.09358, allocations: 222.9 kB / 355.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.417e-05/0.09366, allocations: 44 kB / 355.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.46e-05/0.09373, allocations: 48 kB / 355.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.708e-05/0.09382, allocations: 99.62 kB / 355.6 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.09402, allocations: 234.8 kB / 355.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004324/0.09446, allocations: 0.51 MB / 356.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.09447, allocations: 0 / 356.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.09448, allocations: 3.938 kB / 356.3 MB, free: 14.01 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.0945, allocations: 0 / 356.3 MB, free: 14.01 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.001177/0.09568, allocations: 0.7262 MB / 357 MB, free: 13.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.09573, allocations: 15.89 kB / 357.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.316e-05/0.09582, allocations: 74.72 kB / 357.1 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.807e-05/0.09591, allocations: 48.38 kB / 357.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.09631, allocations: 340.3 kB / 357.5 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.09634, allocations: 29.38 kB / 357.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.678e-05/0.09641, allocations: 36.38 kB / 357.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006515/0.09706, allocations: 395.8 kB / 358 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.09709, allocations: 0 / 358 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.925e-05/0.09714, allocations: 19.98 kB / 358 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.09715, allocations: 15.94 kB / 358 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005008/0.09766, allocations: 259.8 kB / 358.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/0.09963, allocations: 1.492 MB / 359.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004157/0.1001, allocations: 247.4 kB / 360 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003613/0.1004, allocations: 169.2 kB / 360.1 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.1005, allocations: 4.234 kB / 360.2 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003847/0.1009, allocations: 222 kB / 360.4 MB, free: 9.715 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 3.818e-06/0.1009, allocations: 0 / 360.4 MB, free: 9.715 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001465/0.1023, allocations: 0.5887 MB / 361 MB, free: 9.098 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/0.1024, allocations: 106.8 kB / 361.1 MB, free: 8.969 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/0.1027, allocations: 296.5 kB / 361.4 MB, free: 8.672 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.1028, allocations: 37.64 kB / 361.4 MB, free: 8.629 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.1029, allocations: 212.3 kB / 361.6 MB, free: 8.418 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.695e-05/0.103, allocations: 102.6 kB / 361.7 MB, free: 8.316 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.1031, allocations: 70.06 kB / 361.8 MB, free: 8.238 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1032, allocations: 346.8 kB / 362.1 MB, free: 7.891 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.1034, allocations: 84.72 kB / 362.2 MB, free: 7.809 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.1037, allocations: 225.5 kB / 362.4 MB, free: 7.531 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004526/0.1041, allocations: 324.7 kB / 362.7 MB, free: 7.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.1042, allocations: 3.938 kB / 362.7 MB, free: 7.156 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006945/0.1049, allocations: 409.7 kB / 363.1 MB, free: 6.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.1049, allocations: 15.97 kB / 363.1 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.1049, allocations: 4 kB / 363.1 MB, free: 6.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002906/0.1052, allocations: 80.81 kB / 363.2 MB, free: 6.648 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.1054, allocations: 55.91 kB / 363.3 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001786/0.1072, allocations: 2.01 MB / 365.3 MB, free: 4.441 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.1075, allocations: 39.69 kB / 365.3 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.1075, allocations: 15.98 kB / 365.3 MB, free: 4.387 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 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode_n.off,rectifier.diode_p.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001761/0.1077, allocations: 174.3 kB / 365.5 MB, free: 4.207 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.211e-05/0.1077, allocations: 39.61 kB / 365.6 MB, free: 4.168 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.78e-05/0.1078, allocations: 35.09 kB / 365.6 MB, free: 4.137 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.1078, allocations: 4 kB / 365.6 MB, free: 4.133 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1078, allocations: 4 kB / 365.6 MB, free: 4.129 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.1078, allocations: 3.984 kB / 365.6 MB, free: 4.125 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005952/0.1084, allocations: 0.5653 MB / 366.2 MB, free: 3.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.1085, allocations: 0 / 366.2 MB, free: 3.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.1086, allocations: 32.02 kB / 366.2 MB, free: 3.469 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002298/0.1089, allocations: 84.73 kB / 366.3 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.1089, allocations: 4 kB / 366.3 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001735/0.1106, allocations: 1.99 MB / 368.3 MB, free: 1.246 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1107, allocations: 7.922 kB / 368.3 MB, free: 1.238 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008739/0.1115, allocations: 0.4913 MB / 368.8 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.1117, allocations: 132.7 kB / 368.9 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.205e-05/0.1117, allocations: 15.98 kB / 368.9 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.1119, allocations: 11.94 kB / 368.9 MB, free: 0.543 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.757e-05/0.112, allocations: 27.95 kB / 369 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.112, allocations: 8 kB / 369 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001965/0.1122, allocations: 219.1 kB / 369.2 MB, free: 304 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1122, allocations: 0 / 369.2 MB, free: 304 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004604/0.1127, allocations: 111.7 kB / 369.3 MB, free: 192 kB / 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.1444/0.2571, allocations: 1.049 MB / 370.3 MB, free: 24.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008135/0.2579, allocations: 424.6 kB / 370.8 MB, free: 24.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.258, allocations: 0.9062 kB / 370.8 MB, free: 24.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003712/0.2583, allocations: 288.9 kB / 371 MB, free: 24.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.2587, allocations: 54.44 kB / 371.1 MB, free: 24.62 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003864/0.2626, allocations: 3.591 MB / 374.7 MB, free: 22.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.2628, allocations: 0.8 MB / 375.5 MB, free: 21.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001416/0.263, allocations: 37.66 kB / 375.5 MB, free: 21.89 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.2631, allocations: 123.2 kB / 375.6 MB, free: 21.8 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2631, allocations: 0 / 375.6 MB, free: 21.8 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1038/0.3669, allocations: 7.937 MB / 383.6 MB, free: 20.19 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/0.3671, allocations: 295.9 kB / 383.9 MB, free: 19.81 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.97/2.337, allocations: 1.25 kB / 383.9 MB, free: 19.81 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/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)