Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_4_1_0-beta_om_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_1_0-beta_om_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 trunk/package.mo): time 0.001583/0.001583, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001872/0.001873, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.446/1.446, allocations: 227.7 MB / 247.2 MB, free: 10.17 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002552/0.002552, allocations: 67.89 kB / 358.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2798, allocations: 50.54 MB / 409.1 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005242/0.2851, allocations: 3.505 MB / 412.6 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.2868, allocations: 0.923 MB / 413.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001933/0.287, allocations: 11.94 kB / 413.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002219/0.2872, allocations: 63.31 kB / 413.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003217/0.2875, allocations: 126.8 kB / 413.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003884/0.2879, allocations: 155.8 kB / 413.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006245/0.2886, allocations: 0.5252 MB / 414.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003339/0.2889, allocations: 177.8 kB / 414.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003072/0.2892, allocations: 199.2 kB / 414.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003056/0.2895, allocations: 219 kB / 415 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.762e-05/0.2896, allocations: 44 kB / 415 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.2897, allocations: 52 kB / 415.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.2899, allocations: 111.6 kB / 415.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002376/0.2901, allocations: 238.8 kB / 415.4 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006276/0.2907, allocations: 0.5398 MB / 415.9 MB, free: 10.45 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2908, allocations: 0 / 415.9 MB, free: 10.45 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.2908, allocations: 0 / 415.9 MB, free: 10.45 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.2908, allocations: 3.938 kB / 415.9 MB, free: 10.45 MB / 334.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.001322/0.2921, allocations: 0.7569 MB / 416.7 MB, free: 9.645 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2921, allocations: 8.031 kB / 416.7 MB, free: 9.637 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.865e-05/0.2923, allocations: 74.72 kB / 416.8 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002734/0.2925, allocations: 68.62 kB / 416.9 MB, free: 9.488 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004681/0.293, allocations: 360.4 kB / 417.2 MB, free: 9.102 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.411e-05/0.2931, allocations: 29.38 kB / 417.2 MB, free: 9.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.892e-05/0.2931, allocations: 36.38 kB / 417.3 MB, free: 9.035 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006903/0.2938, allocations: 395.8 kB / 417.7 MB, free: 8.629 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.2938, allocations: 3.984 kB / 417.7 MB, free: 8.625 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.886e-05/0.2939, allocations: 16 kB / 417.7 MB, free: 8.609 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.2939, allocations: 15.94 kB / 417.7 MB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005357/0.2944, allocations: 259.8 kB / 417.9 MB, free: 8.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002187/0.2966, allocations: 1.492 MB / 419.4 MB, free: 6.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004512/0.2971, allocations: 247.3 kB / 419.7 MB, free: 6.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003872/0.2975, allocations: 176.3 kB / 419.8 MB, free: 6.328 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.2975, allocations: 4.234 kB / 419.9 MB, free: 6.324 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004254/0.298, allocations: 226 kB / 420.1 MB, free: 6.082 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 3.697e-06/0.298, allocations: 3.984 kB / 420.1 MB, free: 6.078 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.001574/0.2996, allocations: 0.5889 MB / 420.7 MB, free: 5.461 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.182e-05/0.2997, allocations: 110.8 kB / 420.8 MB, free: 5.328 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003592/0.3, allocations: 316.5 kB / 421.1 MB, free: 5.012 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.3001, allocations: 33.7 kB / 421.1 MB, free: 4.973 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.3003, allocations: 228.6 kB / 421.3 MB, free: 4.746 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.916e-05/0.3004, allocations: 107.1 kB / 421.4 MB, free: 4.641 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.3005, allocations: 70.06 kB / 421.5 MB, free: 4.562 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.3007, allocations: 338.8 kB / 421.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.3009, allocations: 92.7 kB / 421.9 MB, free: 4.133 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000302/0.3012, allocations: 217.8 kB / 422.1 MB, free: 3.863 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000516/0.3017, allocations: 331.9 kB / 422.5 MB, free: 3.484 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.3017, allocations: 7.938 kB / 422.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007607/0.3025, allocations: 421.6 kB / 422.9 MB, free: 3.059 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.3025, allocations: 4 kB / 422.9 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.3026, allocations: 7.938 kB / 422.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003223/0.3029, allocations: 80.81 kB / 423 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.3031, allocations: 60.16 kB / 423 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002162/0.3053, allocations: 2.002 MB / 425 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.3055, allocations: 35.78 kB / 425.1 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.67e-05/0.3056, allocations: 16 kB / 425.1 MB, free: 0.7148 MB / 334.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.0002246/0.3058, allocations: 173.6 kB / 425.3 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.257e-05/0.3059, allocations: 35.88 kB / 425.3 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.801e-05/0.306, allocations: 39.95 kB / 425.3 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.306, allocations: 4 kB / 425.3 MB, free: 468 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.306, allocations: 3.938 kB / 425.3 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.306, allocations: 0 / 425.3 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007009/0.3067, allocations: 0.581 MB / 425.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3067, allocations: 4.047 kB / 425.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.3069, allocations: 31.95 kB / 426 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002385/0.3071, allocations: 84.78 kB / 426 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.3072, allocations: 8 kB / 426.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/0.3092, allocations: 1.987 MB / 428 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3092, allocations: 0 / 428 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009558/0.3102, allocations: 0.499 MB / 428.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.3104, allocations: 144.7 kB / 428.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.459e-05/0.3104, allocations: 8 kB / 428.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.3106, allocations: 15.98 kB / 428.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.724e-05/0.3107, allocations: 27.97 kB / 428.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.3107, allocations: 12.19 kB / 428.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002344/0.311, allocations: 215.1 kB / 429 MB, free: 12.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.311, allocations: 3.938 kB / 429 MB, free: 12.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004732/0.3114, allocations: 115.8 kB / 429.1 MB, free: 12.48 MB / 350.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.001331/0.3128, allocations: 1.049 MB / 430.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00083/0.3136, allocations: 414.4 kB / 430.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.3136, allocations: 4 kB / 430.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004422/0.3141, allocations: 287.5 kB / 430.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.3145, allocations: 69.42 kB / 430.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004812/0.3193, allocations: 3.49 MB / 434.4 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004828/0.3198, allocations: 0.8152 MB / 435.2 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001393/0.3199, allocations: 30.97 kB / 435.2 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/0.3201, allocations: 127.4 kB / 435.3 MB, free: 5.922 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3201, allocations: 0 / 435.3 MB, free: 5.922 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04018/0.3603, allocations: 8.513 MB / 443.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.26, allocations: 17.91 kB / 443.9 MB, free: 13.7 MB / 366.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1)