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.001259/0.001259, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.001447/0.001447, allocations: 218.7 kB / 23 MB, free: 5.617 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.459/1.459, allocations: 230.5 MB / 256.5 MB, free: 8.234 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.001887/0.001887, allocations: 67.84 kB / 376.2 MB, free: 4.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2994, allocations: 53.32 MB / 429.5 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.00659/0.306, allocations: 4.639 MB / 434.2 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003091/0.309, allocations: 1.324 MB / 435.5 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000376/0.3094, allocations: 23.88 kB / 435.5 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004249/0.3098, allocations: 178.6 kB / 435.7 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009864/0.3108, allocations: 358 kB / 436.1 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000465/0.3113, allocations: 215.6 kB / 436.3 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001768/0.3131, allocations: 1.631 MB / 437.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008895/0.314, allocations: 0.5868 MB / 438.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009871/0.3149, allocations: 0.6852 MB / 439.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001221/0.3162, allocations: 0.8756 MB / 440 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002471/0.3164, allocations: 184 kB / 440.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003216/0.3167, allocations: 184 kB / 440.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004711/0.3172, allocations: 482.6 kB / 440.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008781/0.3181, allocations: 0.7971 MB / 441.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002403/0.3205, allocations: 2.282 MB / 444 MB, free: 8.926 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3205, allocations: 0 / 444 MB, free: 8.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3205, allocations: 0 / 444 MB, free: 8.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.013e-05/0.3205, allocations: 0 / 444 MB, free: 8.926 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.003487/0.324, allocations: 1.825 MB / 445.8 MB, free: 7.047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.055e-05/0.3241, allocations: 12.03 kB / 445.8 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002316/0.3243, allocations: 172.8 kB / 446 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007667/0.3251, allocations: 219.9 kB / 446.2 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001849/0.3269, allocations: 1.033 MB / 447.2 MB, free: 5.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.403e-05/0.327, allocations: 78.44 kB / 447.3 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000182/0.3272, allocations: 111.9 kB / 447.4 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002625/0.3298, allocations: 1.553 MB / 448.9 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.307e-05/0.3298, allocations: 7.984 kB / 449 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.3299, allocations: 43.98 kB / 449 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.704e-05/0.33, allocations: 42.05 kB / 449 MB, free: 3.672 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00267/0.3327, allocations: 1.44 MB / 450.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007616/0.3403, allocations: 4.899 MB / 455.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.3421, allocations: 1.39 MB / 456.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001335/0.3434, allocations: 0.6804 MB / 457.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.297e-05/0.3435, allocations: 12.55 kB / 457.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001072/0.3446, allocations: 0.6122 MB / 458.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.776e-06/0.3446, allocations: 0 / 458.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.006113/0.3507, allocations: 2.439 MB / 460.5 MB, free: 7.848 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.143e-05/0.3508, allocations: 85.77 kB / 460.6 MB, free: 7.746 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/0.3523, allocations: 0.9542 MB / 461.5 MB, free: 6.781 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.944e-05/0.3524, allocations: 41.7 kB / 461.6 MB, free: 6.734 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000608/0.353, allocations: 0.5553 MB / 462.1 MB, free: 6.172 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002506/0.3532, allocations: 238 kB / 462.4 MB, free: 5.938 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002437/0.3535, allocations: 138.6 kB / 462.5 MB, free: 5.797 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.3537, allocations: 326 kB / 462.8 MB, free: 5.473 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007256/0.3544, allocations: 417.7 kB / 463.2 MB, free: 5.062 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009092/0.3553, allocations: 0.5524 MB / 463.8 MB, free: 4.453 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.3568, allocations: 0.9543 MB / 464.7 MB, free: 3.449 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.3568, allocations: 0 / 464.7 MB, free: 3.449 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00244/0.3593, allocations: 1.28 MB / 466 MB, free: 2.156 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.3593, allocations: 8 kB / 466 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.3593, allocations: 4.469 kB / 466 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009578/0.3603, allocations: 411.1 kB / 466.4 MB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004831/0.3608, allocations: 111.8 kB / 466.5 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006171/0.3669, allocations: 4.505 MB / 471.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006901/0.3676, allocations: 83.58 kB / 471.1 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-05/0.3677, allocations: 24 kB / 471.2 MB, free: 12.89 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_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.0008618/0.3685, allocations: 0.4953 MB / 471.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/0.3687, allocations: 99.39 kB / 471.8 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002864/0.369, allocations: 120.8 kB / 471.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.369, allocations: 11.98 kB / 471.9 MB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.369, allocations: 0 / 471.9 MB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.369, allocations: 3.984 kB / 471.9 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00431/0.3733, allocations: 2.583 MB / 474.5 MB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.3733, allocations: 7.938 kB / 474.5 MB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004273/0.3738, allocations: 83.88 kB / 474.6 MB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009059/0.3747, allocations: 397.1 kB / 474.9 MB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.208e-05/0.3747, allocations: 12 kB / 475 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005929/0.3807, allocations: 4.476 MB / 479.4 MB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3807, allocations: 0 / 479.4 MB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003291/0.3839, allocations: 1.952 MB / 481.4 MB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005753/0.3845, allocations: 292.3 kB / 481.7 MB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.3846, allocations: 16 kB / 481.7 MB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004536/0.3851, allocations: 39.95 kB / 481.7 MB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002094/0.3853, allocations: 80.47 kB / 481.8 MB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.358e-05/0.3853, allocations: 23.92 kB / 481.8 MB, free: 1.953 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001039/0.3864, allocations: 0.6981 MB / 482.5 MB, free: 1.254 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3864, allocations: 0 / 482.5 MB, free: 1.254 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001068/0.3875, allocations: 347.2 kB / 482.9 MB, free: 0.9141 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.003522/0.391, allocations: 2.517 MB / 485.4 MB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002496/0.3935, allocations: 1.249 MB / 486.6 MB, free: 13.1 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.3935, allocations: 4.25 kB / 486.6 MB, free: 13.1 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001381/0.3949, allocations: 0.779 MB / 487.4 MB, free: 12.31 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.396, allocations: 255.2 kB / 487.7 MB, free: 12.06 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0197/0.4157, allocations: 10.9 MB / 498.6 MB, free: 0.9141 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001532/0.4172, allocations: 1.392 MB / 500 MB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005769/0.4178, allocations: 175.4 kB / 0.4884 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006779/0.4185, allocations: 427.3 kB / 0.4888 GB, free: 14.9 MB / 414.1 MB Notification: Performance of SimCode: time 1.784e-06/0.4185, allocations: 0 / 0.4888 GB, free: 14.9 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07192/0.4904, allocations: 29.18 MB / 0.5173 GB, free: 2.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.5, allocations: 4.062 kB / 0.5173 GB, free: 2.066 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 --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: 15.895253215014236] 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.612064340006327 13.638206354 13.31259449 Calling exit ...