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.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001282/0.001282, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001478/0.001478, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.435/1.435, allocations: 230.6 MB / 258.3 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] 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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_4_1_0-beta_om_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_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002029/0.002029, allocations: 68.77 kB / 378.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2934, allocations: 53.37 MB / 431.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005591/0.299, allocations: 3.752 MB / 435.7 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002226/0.3012, allocations: 1.095 MB / 436.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002728/0.3015, allocations: 19.88 kB / 436.8 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.3018, allocations: 107.1 kB / 436.9 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007683/0.3025, allocations: 246.6 kB / 437.2 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003649/0.3029, allocations: 171.6 kB / 437.3 MB, free: 1.457 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001049/0.304, allocations: 0.9612 MB / 438.3 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005424/0.3045, allocations: 355.3 kB / 438.6 MB, free: 128 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000554/0.3051, allocations: 426.6 kB / 439 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006951/0.3057, allocations: 0.5058 MB / 439.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001281/0.3059, allocations: 100 kB / 439.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.3061, allocations: 104 kB / 439.8 MB, free: 15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002739/0.3063, allocations: 291.1 kB / 440 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004676/0.3068, allocations: 473.8 kB / 440.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.3081, allocations: 1.305 MB / 441.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3081, allocations: 0 / 441.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3081, allocations: 0 / 441.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.3081, allocations: 3.938 kB / 441.8 MB, free: 12.94 MB / 350.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.002302/0.3104, allocations: 1.334 MB / 443.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3105, allocations: 8.031 kB / 443.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001405/0.3106, allocations: 110.7 kB / 443.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000423/0.311, allocations: 128.3 kB / 443.4 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.3121, allocations: 0.6045 MB / 444 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.044e-05/0.3121, allocations: 45.31 kB / 444 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.3122, allocations: 67.98 kB / 444.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.3138, allocations: 0.9228 MB / 445 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.3138, allocations: 3.953 kB / 445 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.92e-05/0.3139, allocations: 27.98 kB / 445.1 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.954e-05/0.3139, allocations: 33.31 kB / 445.1 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.3153, allocations: 0.7897 MB / 445.9 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004315/0.3196, allocations: 2.729 MB / 448.6 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008666/0.3205, allocations: 498.7 kB / 449.1 MB, free: 5.445 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005866/0.3211, allocations: 317.3 kB / 449.4 MB, free: 5.133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.744e-05/0.3211, allocations: 8.312 kB / 449.4 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000657/0.3218, allocations: 393.7 kB / 449.8 MB, free: 4.719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.873e-06/0.3218, allocations: 0 / 449.8 MB, free: 4.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.00272/0.3245, allocations: 1.111 MB / 450.9 MB, free: 3.598 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.967e-05/0.3246, allocations: 118.6 kB / 451 MB, free: 3.457 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007702/0.3254, allocations: 0.584 MB / 451.6 MB, free: 2.863 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.532e-05/0.3254, allocations: 33.7 kB / 451.6 MB, free: 2.824 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003171/0.3257, allocations: 372.6 kB / 452 MB, free: 2.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.3259, allocations: 142.8 kB / 452.1 MB, free: 2.316 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.326, allocations: 98.08 kB / 452.2 MB, free: 2.215 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.3262, allocations: 370.7 kB / 452.6 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003952/0.3266, allocations: 220.8 kB / 452.8 MB, free: 1.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005133/0.3271, allocations: 357.2 kB / 453.2 MB, free: 1.219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008872/0.328, allocations: 0.563 MB / 453.7 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.301e-06/0.328, allocations: 4 kB / 453.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001295/0.3293, allocations: 0.7512 MB / 454.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3293, allocations: 4 kB / 454.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.3293, allocations: 8 kB / 454.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005254/0.3299, allocations: 205.1 kB / 454.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000312/0.3302, allocations: 71.89 kB / 454.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003471/0.3336, allocations: 2.838 MB / 457.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000396/0.334, allocations: 59.75 kB / 457.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/0.3341, allocations: 20 kB / 457.7 MB, free: 12.53 MB / 366.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 (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.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 (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 {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005528/0.3346, allocations: 329.6 kB / 458 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.883e-05/0.3347, allocations: 59.67 kB / 458.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.3349, allocations: 69.42 kB / 458.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.3349, allocations: 7.938 kB / 458.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3349, allocations: 4 kB / 458.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.3349, allocations: 11.92 kB / 458.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002578/0.3375, allocations: 1.599 MB / 459.7 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3375, allocations: 0 / 459.7 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.3377, allocations: 51.94 kB / 459.8 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004786/0.3382, allocations: 192.7 kB / 460 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.411e-05/0.3382, allocations: 8 kB / 460 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003296/0.3415, allocations: 2.812 MB / 462.8 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3415, allocations: 48 / 462.8 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.3433, allocations: 1.104 MB / 463.9 MB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002841/0.3435, allocations: 123.6 kB / 464 MB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.182e-05/0.3436, allocations: 7.984 kB / 464 MB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002872/0.3439, allocations: 27.97 kB / 464.1 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.344, allocations: 55.64 kB / 464.1 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/0.3441, allocations: 11.98 kB / 464.1 MB, free: 5.855 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005572/0.3446, allocations: 430.8 kB / 464.6 MB, free: 5.438 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3446, allocations: 7.875 kB / 464.6 MB, free: 5.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000738/0.3454, allocations: 211.5 kB / 464.8 MB, free: 5.223 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * 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 (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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002098/0.3474, allocations: 1.655 MB / 466.4 MB, free: 3.535 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001449/0.3489, allocations: 0.7055 MB / 467.1 MB, free: 2.816 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.3489, allocations: 0 / 467.1 MB, free: 2.816 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007404/0.3496, allocations: 462.2 kB / 467.6 MB, free: 2.352 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008288/0.3505, allocations: 146.9 kB / 467.7 MB, free: 2.211 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009741/0.3602, allocations: 6.536 MB / 474.3 MB, free: 11.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007859/0.361, allocations: 1.078 MB / 475.3 MB, free: 10.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003115/0.3613, allocations: 96.78 kB / 475.4 MB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003429/0.3617, allocations: 247.4 kB / 475.7 MB, free: 10.03 MB / 382.1 MB Notification: Performance of SimCode: time 1.393e-06/0.3617, allocations: 0 / 475.7 MB, free: 10.03 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05202/0.4137, allocations: 17.05 MB / 492.7 MB, free: 9.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.2, allocations: 4 kB / 492.7 MB, free: 9.246 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_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_RectifierCenterTapmPulse_DiodeCenterTapmPulse.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.659949302207679] Failed to read output from testmodel.py, exit status != 0: ['time', 'meanCurrent.x', 'meanVoltage.x', 'rootMeanSquareVoltage.mean.x', 'meanCurrent.y', 'meanVoltage.y', 'rootMeanSquareVoltage.mean.y'] 13.295132454950362 13.30934222 12.998121586 Calling exit ...