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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.001594/0.001594, allocations: 122.6 kB / 18.5 MB, free: 4.578 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.001928/0.001928, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.483/1.483, allocations: 230.5 MB / 254.8 MB, free: 15.11 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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",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.00327/0.00327, allocations: 75.81 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1326, allocations: 53.32 MB / 427 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.007354/0.1399, allocations: 4.628 MB / 431.7 MB, free: 128 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2388/0.3787, allocations: 1.301 MB / 433 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000421/0.3792, allocations: 37.12 kB / 433 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003552/0.3795, allocations: 174 kB / 433.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009533/0.3805, allocations: 360.9 kB / 433.5 MB, free: 7.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004095/0.3809, allocations: 217.7 kB / 433.7 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001385/0.3823, allocations: 1.624 MB / 435.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009068/0.3832, allocations: 0.7952 MB / 436.1 MB, free: 6.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008948/0.3841, allocations: 0.7064 MB / 436.9 MB, free: 6.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/0.3852, allocations: 0.8712 MB / 437.7 MB, free: 6.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002536/0.3854, allocations: 176.8 kB / 437.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003298/0.3857, allocations: 179 kB / 438.1 MB, free: 6.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004213/0.3862, allocations: 492.5 kB / 438.6 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007672/0.3869, allocations: 0.797 MB / 439.3 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002523/0.3895, allocations: 2.285 MB / 441.6 MB, free: 4.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3895, allocations: 1.125 kB / 441.6 MB, free: 4.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3895, allocations: 0 / 441.6 MB, free: 4.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.611e-05/0.3895, allocations: 0 / 441.6 MB, free: 4.648 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.004008/0.3935, allocations: 1.834 MB / 443.5 MB, free: 3.512 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.3936, allocations: 10.97 kB / 443.5 MB, free: 3.512 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002373/0.3938, allocations: 168 kB / 443.6 MB, free: 3.402 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008325/0.3946, allocations: 212.5 kB / 443.8 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/0.3963, allocations: 1.036 MB / 444.9 MB, free: 2.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.937e-05/0.3963, allocations: 80.47 kB / 445 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/0.3965, allocations: 104.2 kB / 445.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002539/0.3991, allocations: 1.557 MB / 446.6 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/0.3991, allocations: 5.156 kB / 446.6 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.3992, allocations: 42.97 kB / 446.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.767e-05/0.3993, allocations: 45.77 kB / 446.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002415/0.4017, allocations: 1.436 MB / 448.1 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008065/0.4097, allocations: 4.909 MB / 453.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.4116, allocations: 1.386 MB / 454.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001435/0.413, allocations: 0.6965 MB / 455.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.887e-05/0.4131, allocations: 7.406 kB / 455.1 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001183/0.4142, allocations: 0.6083 MB / 455.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.815e-06/0.4143, allocations: 0 / 455.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.006366/0.4206, allocations: 2.43 MB / 458.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.071e-05/0.4207, allocations: 92.09 kB / 458.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/0.4224, allocations: 0.957 MB / 459.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.04e-05/0.4224, allocations: 37.11 kB / 459.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006006/0.4231, allocations: 0.5448 MB / 459.8 MB, free: 10.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002544/0.4233, allocations: 244.6 kB / 460.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/0.4235, allocations: 135.4 kB / 460.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.4237, allocations: 333.4 kB / 460.5 MB, free: 9.699 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007435/0.4245, allocations: 418.8 kB / 460.9 MB, free: 9.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008615/0.4253, allocations: 0.5584 MB / 461.5 MB, free: 9.086 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001557/0.4269, allocations: 0.9445 MB / 462.4 MB, free: 8.496 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.4269, allocations: 6.969 kB / 462.4 MB, free: 8.492 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00248/0.4294, allocations: 1.281 MB / 463.7 MB, free: 7.801 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.4294, allocations: 7.094 kB / 463.7 MB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.4294, allocations: 3.906 kB / 463.7 MB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009801/0.4304, allocations: 406.7 kB / 464.1 MB, free: 7.594 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004943/0.4309, allocations: 113.4 kB / 464.2 MB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005916/0.4368, allocations: 4.505 MB / 468.7 MB, free: 4.211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008064/0.4376, allocations: 86.45 kB / 468.8 MB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.292e-05/0.4377, allocations: 26.14 kB / 468.8 MB, free: 4.148 MB / 366.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: 15 (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.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0009054/0.4386, allocations: 499.6 kB / 469.3 MB, free: 3.809 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.4387, allocations: 101.8 kB / 469.4 MB, free: 3.754 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002859/0.439, allocations: 121.6 kB / 469.6 MB, free: 3.664 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.439, allocations: 10.62 kB / 469.6 MB, free: 3.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.439, allocations: 4.781 kB / 469.6 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.439, allocations: 3.984 kB / 469.6 MB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004363/0.4434, allocations: 2.586 MB / 472.2 MB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.4434, allocations: 1.547 kB / 472.2 MB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004373/0.4439, allocations: 83.88 kB / 472.2 MB, free: 1.926 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008745/0.4447, allocations: 395.8 kB / 472.6 MB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.512e-05/0.4448, allocations: 19.92 kB / 472.6 MB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006057/0.4508, allocations: 4.469 MB / 477.1 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.4508, allocations: 0 / 477.1 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003342/0.4542, allocations: 1.953 MB / 479.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006313/0.4548, allocations: 292.3 kB / 479.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.4549, allocations: 15.94 kB / 479.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004456/0.4554, allocations: 43.95 kB / 479.4 MB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002388/0.4556, allocations: 80.53 kB / 479.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.014e-05/0.4557, allocations: 16 kB / 479.5 MB, free: 10.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001118/0.4568, allocations: 0.6941 MB / 480.2 MB, free: 9.797 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4568, allocations: 0 / 480.2 MB, free: 9.797 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001221/0.458, allocations: 355.2 kB / 480.5 MB, free: 9.449 MB / 382.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: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.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 (45): * Single equations (assignments): 41 * 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 {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003585/0.4616, allocations: 2.526 MB / 483.1 MB, free: 6.895 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002423/0.464, allocations: 1.244 MB / 484.3 MB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.464, allocations: 3.938 kB / 484.3 MB, free: 5.621 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001316/0.4653, allocations: 0.7751 MB / 485.1 MB, free: 4.844 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.4666, allocations: 260.6 kB / 485.4 MB, free: 4.598 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01768/0.4843, allocations: 10.88 MB / 496.2 MB, free: 9.484 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001231/0.4855, allocations: 1.399 MB / 497.6 MB, free: 8.059 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005458/0.4861, allocations: 171.4 kB / 497.8 MB, free: 7.891 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000622/0.4867, allocations: 429.6 kB / 498.2 MB, free: 7.473 MB / 398.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4867, allocations: 0 / 498.2 MB, free: 7.473 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07311/0.5598, allocations: 29.1 MB / 0.515 GB, free: 10.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/14.02, allocations: 3.781 kB / 0.515 GB, free: 10.77 MB / 430.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_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_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.608300284016877] 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'] 14.13978546531871 14.167785095 13.772984008 Calling exit ...