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.001191/0.001191, allocations: 106.5 kB / 19.74 MB, free: 2.566 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.001343/0.001343, allocations: 219.8 kB / 22.92 MB, free: 5.539 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.289/1.289, allocations: 230.5 MB / 256.4 MB, free: 8.434 MB / 206.1 MB " [Timeout remaining time 179] 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.0018/0.0018, allocations: 71.81 kB / 376.1 MB, free: 4.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2174, allocations: 53.31 MB / 429.4 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004949/0.2223, allocations: 3.752 MB / 433.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.2242, allocations: 1.087 MB / 434.3 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001954/0.2244, allocations: 15.94 kB / 434.3 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.2246, allocations: 111.1 kB / 434.4 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006018/0.2252, allocations: 230.6 kB / 434.6 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.2255, allocations: 171.6 kB / 434.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009454/0.2265, allocations: 0.9573 MB / 435.7 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004762/0.227, allocations: 351 kB / 436.1 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004317/0.2274, allocations: 422.5 kB / 436.5 MB, free: 304 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006317/0.228, allocations: 0.5058 MB / 437 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.2281, allocations: 104 kB / 437.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.2283, allocations: 100 kB / 437.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002623/0.2286, allocations: 287.1 kB / 437.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004547/0.229, allocations: 481.8 kB / 437.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.2303, allocations: 1.308 MB / 439.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2303, allocations: 3.938 kB / 439.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2303, allocations: 0 / 439.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.2303, allocations: 4 kB / 439.3 MB, free: 13.52 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.001962/0.2323, allocations: 1.208 MB / 440.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.2323, allocations: 8.031 kB / 440.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000134/0.2324, allocations: 114.7 kB / 440.6 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003932/0.2328, allocations: 128.3 kB / 440.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008854/0.2337, allocations: 0.6649 MB / 441.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.909e-05/0.2338, allocations: 45.31 kB / 441.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.2339, allocations: 64 kB / 441.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.2352, allocations: 0.9228 MB / 442.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.2352, allocations: 0 / 442.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.648e-05/0.2353, allocations: 24 kB / 442.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-05/0.2354, allocations: 33.3 kB / 442.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.2366, allocations: 0.7975 MB / 443.3 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003681/0.2403, allocations: 2.784 MB / 446 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000866/0.2412, allocations: 0.7142 MB / 446.8 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000534/0.2417, allocations: 313.3 kB / 447.1 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.2417, allocations: 4.328 kB / 447.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005714/0.2423, allocations: 389.9 kB / 447.5 MB, free: 5.012 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.693e-06/0.2423, allocations: 0 / 447.5 MB, free: 5.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002681/0.245, allocations: 1.229 MB / 448.7 MB, free: 3.754 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.526e-05/0.2451, allocations: 110.6 kB / 448.8 MB, free: 3.621 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006666/0.2457, allocations: 0.5918 MB / 449.4 MB, free: 3.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.2458, allocations: 37.7 kB / 449.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002664/0.246, allocations: 376.5 kB / 449.8 MB, free: 2.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.2461, allocations: 142.8 kB / 449.9 MB, free: 2.465 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.2463, allocations: 90.25 kB / 450 MB, free: 2.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.2464, allocations: 370.8 kB / 450.4 MB, free: 2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003604/0.2468, allocations: 217 kB / 450.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004584/0.2473, allocations: 361.7 kB / 450.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008023/0.2481, allocations: 0.563 MB / 451.5 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.2481, allocations: 4 kB / 451.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001192/0.2493, allocations: 0.7517 MB / 452.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.2493, allocations: 12.03 kB / 452.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.2493, allocations: 4 kB / 452.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004936/0.2498, allocations: 204.7 kB / 452.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.2501, allocations: 75.83 kB / 452.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003283/0.2534, allocations: 3.024 MB / 455.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003188/0.2537, allocations: 59.83 kB / 455.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/0.2537, allocations: 20 kB / 455.6 MB, free: 12.46 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[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003863/0.2541, allocations: 329.5 kB / 456 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.144e-05/0.2542, allocations: 63.62 kB / 456 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.2543, allocations: 69.42 kB / 456.1 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.2543, allocations: 4 kB / 456.1 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-06/0.2543, allocations: 0 / 456.1 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.2543, allocations: 3.984 kB / 456.1 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002539/0.2569, allocations: 1.749 MB / 457.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2569, allocations: 0 / 457.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.2571, allocations: 47.91 kB / 457.9 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004259/0.2575, allocations: 195.4 kB / 458.1 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/0.2575, allocations: 20.02 kB / 458.1 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00305/0.2606, allocations: 2.907 MB / 461 MB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.2606, allocations: 3.938 kB / 461 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.2623, allocations: 1.143 MB / 462.2 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002386/0.2626, allocations: 196.7 kB / 462.4 MB, free: 5.488 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.249e-05/0.2626, allocations: 8 kB / 462.4 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002782/0.2629, allocations: 31.97 kB / 462.4 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.263, allocations: 47.66 kB / 462.4 MB, free: 5.402 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.2631, allocations: 12 kB / 462.5 MB, free: 5.391 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004961/0.2636, allocations: 430.8 kB / 462.9 MB, free: 4.973 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2636, allocations: 4 kB / 462.9 MB, free: 4.969 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006448/0.2642, allocations: 199.5 kB / 463.1 MB, free: 4.773 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (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.002075/0.2663, allocations: 1.715 MB / 464.8 MB, free: 3.027 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001221/0.2675, allocations: 0.706 MB / 465.5 MB, free: 2.309 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.2675, allocations: 4.062 kB / 465.5 MB, free: 2.305 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000667/0.2682, allocations: 470.5 kB / 466 MB, free: 1.832 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006574/0.2688, allocations: 154.3 kB / 466.1 MB, free: 1.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009042/0.2779, allocations: 6.64 MB / 472.8 MB, free: 10.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007208/0.2786, allocations: 1.086 MB / 473.8 MB, free: 9.719 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002741/0.2789, allocations: 100.8 kB / 473.9 MB, free: 9.617 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003219/0.2792, allocations: 247.3 kB / 474.2 MB, free: 9.375 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.2792, allocations: 0 / 474.2 MB, free: 9.375 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06972/0.3489, allocations: 16.79 MB / 491 MB, free: 8.863 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.19, allocations: 0 / 491 MB, free: 8.863 MB / 398.1 MB " [Timeout remaining time 649] (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 --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: 13.322177685004135]