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.001595/0.001595, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002027/0.002027, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.457/1.457, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.001955/0.001955, allocations: 68.98 kB / 378.6 MB, free: 3.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.284, allocations: 53.36 MB / 431.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006351/0.2903, allocations: 4.655 MB / 436.6 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002854/0.2932, allocations: 1.316 MB / 437.9 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004448/0.2936, allocations: 35.75 kB / 437.9 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004003/0.294, allocations: 174.6 kB / 438.1 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.295, allocations: 374 kB / 438.5 MB, free: 304 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.2955, allocations: 211.6 kB / 438.7 MB, free: 92 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001714/0.2972, allocations: 1.627 MB / 440.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008283/0.298, allocations: 0.5834 MB / 440.9 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009235/0.2989, allocations: 0.7125 MB / 441.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001211/0.3001, allocations: 0.8718 MB / 442.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002325/0.3004, allocations: 176 kB / 442.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000305/0.3007, allocations: 191.9 kB / 442.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004354/0.3011, allocations: 482.6 kB / 443.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008113/0.3019, allocations: 0.801 MB / 444.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00223/0.3042, allocations: 2.276 MB / 446.4 MB, free: 8.324 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3042, allocations: 4 kB / 446.4 MB, free: 8.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3042, allocations: 4 kB / 446.4 MB, free: 8.316 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.569e-05/0.3042, allocations: 3.984 kB / 446.4 MB, free: 8.312 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.00373/0.3079, allocations: 2.061 MB / 448.5 MB, free: 6.203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.308, allocations: 12.03 kB / 448.5 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002084/0.3082, allocations: 164.8 kB / 448.6 MB, free: 6.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007413/0.3089, allocations: 215.9 kB / 448.8 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/0.3106, allocations: 0.9749 MB / 449.8 MB, free: 4.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.758e-05/0.3107, allocations: 78.44 kB / 449.9 MB, free: 4.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/0.3108, allocations: 103.9 kB / 450 MB, free: 4.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002545/0.3134, allocations: 1.561 MB / 451.6 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.988e-05/0.3134, allocations: 3.938 kB / 451.6 MB, free: 3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.3135, allocations: 40 kB / 451.6 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.09e-05/0.3136, allocations: 46.03 kB / 451.6 MB, free: 2.914 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002432/0.316, allocations: 1.433 MB / 453.1 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007261/0.3233, allocations: 4.83 MB / 457.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.3248, allocations: 0.9498 MB / 458.9 MB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/0.326, allocations: 0.6768 MB / 459.5 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.764e-05/0.326, allocations: 16.66 kB / 459.6 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/0.327, allocations: 0.6123 MB / 460.2 MB, free: 10.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.545e-06/0.327, allocations: 4 kB / 460.2 MB, free: 10.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.005781/0.3328, allocations: 2.352 MB / 462.5 MB, free: 7.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.384e-05/0.3329, allocations: 93.77 kB / 462.6 MB, free: 7.711 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/0.3343, allocations: 0.9619 MB / 463.6 MB, free: 6.738 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.078e-05/0.3344, allocations: 37.7 kB / 463.6 MB, free: 6.695 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005212/0.335, allocations: 0.5475 MB / 464.2 MB, free: 6.141 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/0.3352, allocations: 242 kB / 464.4 MB, free: 5.902 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002256/0.3354, allocations: 130.6 kB / 464.5 MB, free: 5.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3356, allocations: 334 kB / 464.8 MB, free: 5.438 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007271/0.3363, allocations: 417.7 kB / 465.3 MB, free: 5.031 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008294/0.3371, allocations: 0.5564 MB / 465.8 MB, free: 4.422 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.3386, allocations: 0.9482 MB / 466.8 MB, free: 3.418 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.3386, allocations: 0 / 466.8 MB, free: 3.418 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002205/0.3408, allocations: 1.287 MB / 468 MB, free: 2.121 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.3409, allocations: 8 kB / 468.1 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.3409, allocations: 4 kB / 468.1 MB, free: 2.109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009331/0.3418, allocations: 395.1 kB / 468.4 MB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004906/0.3423, allocations: 111.8 kB / 468.6 MB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005709/0.348, allocations: 4.417 MB / 473 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006605/0.3487, allocations: 79.64 kB / 473 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.216e-05/0.3487, allocations: 28 kB / 473.1 MB, free: 12.98 MB / 382.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_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) * 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.0007877/0.3495, allocations: 0.4992 MB / 473.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.3497, allocations: 99.39 kB / 473.7 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/0.3499, allocations: 120.8 kB / 473.8 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.3499, allocations: 8 kB / 473.8 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3499, allocations: 0 / 473.8 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.3499, allocations: 7.922 kB / 473.8 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004194/0.3541, allocations: 2.551 MB / 476.4 MB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.3541, allocations: 4 kB / 476.4 MB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000421/0.3546, allocations: 83.88 kB / 476.4 MB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008404/0.3554, allocations: 396.9 kB / 476.8 MB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.835e-05/0.3555, allocations: 16 kB / 476.8 MB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00565/0.3611, allocations: 4.367 MB / 481.2 MB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3611, allocations: 128 / 481.2 MB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003091/0.3642, allocations: 1.952 MB / 483.2 MB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005897/0.3648, allocations: 227.1 kB / 483.4 MB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.3649, allocations: 16 kB / 483.4 MB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004323/0.3653, allocations: 43.95 kB / 483.4 MB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002147/0.3656, allocations: 80.5 kB / 483.5 MB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.459e-05/0.3656, allocations: 27.86 kB / 483.5 MB, free: 2.293 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001015/0.3666, allocations: 0.6903 MB / 484.2 MB, free: 1.609 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3666, allocations: 0 / 484.2 MB, free: 1.609 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001155/0.3678, allocations: 347.2 kB / 484.6 MB, free: 1.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.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: 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.003625/0.3714, allocations: 2.518 MB / 487.1 MB, free: 14.72 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002513/0.3739, allocations: 1.249 MB / 488.3 MB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3739, allocations: 4 kB / 488.3 MB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001291/0.3752, allocations: 0.7802 MB / 489.1 MB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.3764, allocations: 261.8 kB / 489.4 MB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01727/0.3937, allocations: 10.89 MB / 0.4886 GB, free: 1.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/0.3949, allocations: 1.392 MB / 0.4899 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005264/0.3954, allocations: 179.4 kB / 0.4901 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005733/0.396, allocations: 427.3 kB / 0.4905 GB, free: 15.25 MB / 414.1 MB Notification: Performance of SimCode: time 1.202e-06/0.396, allocations: 0 / 0.4905 GB, free: 15.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07145/0.4675, allocations: 29.63 MB / 0.5194 GB, free: 1.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/13.74, allocations: 3.984 kB / 0.5194 GB, free: 1.977 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 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.12824774812907] 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.84519385220483 13.85990147 13.552580389 Calling exit ...