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.001316/0.001316, 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.001403/0.001403, allocations: 211.9 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.403/1.403, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.002003/0.002003, allocations: 68.73 kB / 378.6 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2651, allocations: 53.37 MB / 431.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005188/0.2702, allocations: 3.753 MB / 435.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.2723, allocations: 1.095 MB / 436.8 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002397/0.2725, allocations: 19.88 kB / 436.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002657/0.2728, allocations: 107.1 kB / 436.9 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007358/0.2735, allocations: 242.6 kB / 437.2 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.2739, allocations: 167.7 kB / 437.3 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001016/0.2749, allocations: 0.9651 MB / 438.3 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004989/0.2754, allocations: 351.3 kB / 438.6 MB, free: 140 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005155/0.2759, allocations: 430.7 kB / 439 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006841/0.2766, allocations: 0.5019 MB / 439.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001282/0.2767, allocations: 100 kB / 439.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.2769, allocations: 104 kB / 439.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002758/0.2771, allocations: 295.1 kB / 440 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000462/0.2776, allocations: 477.8 kB / 440.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.2789, allocations: 1.301 MB / 441.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2789, allocations: 3.938 kB / 441.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2789, allocations: 0 / 441.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.2789, allocations: 0 / 441.8 MB, free: 12.95 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.002256/0.2812, allocations: 1.326 MB / 443.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.2812, allocations: 8.031 kB / 443.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001473/0.2814, allocations: 118.7 kB / 443.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004132/0.2818, allocations: 128.3 kB / 443.4 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009812/0.2828, allocations: 0.6084 MB / 444 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.608e-05/0.2828, allocations: 49.3 kB / 444 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.2829, allocations: 64 kB / 444.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.2844, allocations: 0.9189 MB / 445 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.2844, allocations: 7.953 kB / 445 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.091e-05/0.2845, allocations: 24 kB / 445 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.542e-05/0.2845, allocations: 37.3 kB / 445.1 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/0.2859, allocations: 0.7897 MB / 445.9 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004104/0.29, allocations: 2.733 MB / 448.6 MB, free: 5.934 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008319/0.2909, allocations: 0.489 MB / 449.1 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005706/0.2914, allocations: 309.3 kB / 449.4 MB, free: 5.133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.565e-05/0.2915, allocations: 4.328 kB / 449.4 MB, free: 5.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000659/0.2921, allocations: 389.8 kB / 449.8 MB, free: 4.727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.615e-06/0.2921, allocations: 0 / 449.8 MB, free: 4.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002695/0.2948, allocations: 1.115 MB / 450.9 MB, free: 3.602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.83e-05/0.2949, allocations: 114.6 kB / 451 MB, free: 3.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007678/0.2957, allocations: 0.5802 MB / 451.6 MB, free: 2.875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.028e-05/0.2957, allocations: 37.69 kB / 451.6 MB, free: 2.832 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003113/0.296, allocations: 380.6 kB / 452 MB, free: 2.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.2962, allocations: 138.8 kB / 452.1 MB, free: 2.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.2963, allocations: 94.14 kB / 452.2 MB, free: 2.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.2965, allocations: 370.7 kB / 452.6 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003979/0.2969, allocations: 220.8 kB / 452.8 MB, free: 1.633 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004918/0.2974, allocations: 357.1 kB / 453.2 MB, free: 1.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008642/0.2982, allocations: 0.5747 MB / 453.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.2982, allocations: 4 kB / 453.7 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001315/0.2996, allocations: 0.7438 MB / 454.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.2996, allocations: 4 kB / 454.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.2996, allocations: 8 kB / 454.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000535/0.3001, allocations: 204.6 kB / 454.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003165/0.3004, allocations: 75.92 kB / 454.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003531/0.304, allocations: 2.835 MB / 457.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004697/0.3044, allocations: 55.75 kB / 457.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.299e-05/0.3045, allocations: 20 kB / 457.7 MB, free: 12.54 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.0005998/0.3051, allocations: 335.2 kB / 458 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.3052, allocations: 63.66 kB / 458.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001526/0.3054, allocations: 65.44 kB / 458.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.3054, allocations: 7.938 kB / 458.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.3054, allocations: 0 / 458.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.3054, allocations: 8.125 kB / 458.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002523/0.3079, allocations: 1.611 MB / 459.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3079, allocations: 0 / 459.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.3082, allocations: 47.91 kB / 459.8 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000458/0.3086, allocations: 196.7 kB / 460 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.3086, allocations: 8 kB / 460 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003213/0.3119, allocations: 2.811 MB / 462.8 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3119, allocations: 3.938 kB / 462.8 MB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.3136, allocations: 1.1 MB / 463.9 MB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002725/0.3139, allocations: 123.5 kB / 464 MB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.722e-05/0.3139, allocations: 4 kB / 464 MB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.3142, allocations: 31.97 kB / 464.1 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.3143, allocations: 51.64 kB / 464.1 MB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.232e-05/0.3143, allocations: 19.98 kB / 464.1 MB, free: 5.852 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000548/0.3149, allocations: 430.8 kB / 464.6 MB, free: 5.434 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3149, allocations: 0 / 464.6 MB, free: 5.434 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007132/0.3156, allocations: 207.5 kB / 464.8 MB, free: 5.23 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.002017/0.3176, allocations: 1.659 MB / 466.4 MB, free: 3.539 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001282/0.3189, allocations: 0.706 MB / 467.1 MB, free: 2.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3189, allocations: 0 / 467.1 MB, free: 2.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007025/0.3196, allocations: 470.2 kB / 467.6 MB, free: 2.348 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006872/0.3203, allocations: 134.2 kB / 467.7 MB, free: 2.219 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009272/0.3296, allocations: 6.548 MB / 474.3 MB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007118/0.3303, allocations: 1.082 MB / 475.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002877/0.3306, 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.0003268/0.3309, allocations: 247.4 kB / 475.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3309, allocations: 0 / 475.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07159/0.4025, allocations: 17.04 MB / 492.7 MB, free: 9.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/12.9, allocations: 2.922 kB / 492.7 MB, free: 9.25 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse_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_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.203956260811538] 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.004436426796019 13.028637701 12.744589011 Calling exit ...