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.001548/0.001548, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.00159/0.00159, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.476/1.476, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.002142/0.002142, allocations: 67.84 kB / 373.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1191, allocations: 53.32 MB / 426.9 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006919/0.126, allocations: 4.61 MB / 431.5 MB, free: 184 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2377/0.3637, allocations: 1.315 MB / 432.8 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004424/0.3642, allocations: 24.47 kB / 432.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003628/0.3645, allocations: 170.3 kB / 433 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009671/0.3655, allocations: 362.8 kB / 433.4 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004213/0.3659, allocations: 219.4 kB / 433.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001343/0.3673, allocations: 1.622 MB / 435.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008766/0.3681, allocations: 0.7916 MB / 436 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008956/0.369, allocations: 0.6992 MB / 436.7 MB, free: 6.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/0.3702, allocations: 0.8736 MB / 437.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002689/0.3705, allocations: 177.7 kB / 437.8 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003343/0.3708, allocations: 178.5 kB / 437.9 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004082/0.3712, allocations: 483.4 kB / 438.4 MB, free: 6.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007722/0.372, allocations: 0.807 MB / 439.2 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002652/0.3746, allocations: 2.274 MB / 441.5 MB, free: 4.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3746, allocations: 0 / 441.5 MB, free: 4.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3746, allocations: 0.7031 kB / 441.5 MB, free: 4.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.997e-05/0.3747, allocations: 1.219 kB / 441.5 MB, free: 4.832 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.003965/0.3787, allocations: 1.838 MB / 443.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.3787, allocations: 9.562 kB / 443.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002113/0.3789, allocations: 163.6 kB / 443.5 MB, free: 3.586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007834/0.3797, allocations: 218.9 kB / 443.7 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00178/0.3815, allocations: 1.036 MB / 444.7 MB, free: 2.895 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.515e-05/0.3815, allocations: 76.5 kB / 444.8 MB, free: 2.859 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.3817, allocations: 108.8 kB / 444.9 MB, free: 2.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002512/0.3842, allocations: 1.558 MB / 446.5 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.3842, allocations: 3.938 kB / 446.5 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.3844, allocations: 46.72 kB / 446.5 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-05/0.3844, allocations: 47.86 kB / 446.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002432/0.3868, allocations: 1.43 MB / 448 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00771/0.3946, allocations: 4.907 MB / 452.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/0.3964, allocations: 1.384 MB / 454.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/0.3976, allocations: 0.682 MB / 455 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.049e-05/0.3977, allocations: 10.75 kB / 455 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001053/0.3987, allocations: 0.614 MB / 455.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.244e-06/0.3987, allocations: 0 / 455.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.006109/0.4049, allocations: 2.433 MB / 458 MB, free: 11.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.524e-05/0.405, allocations: 90.73 kB / 458.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/0.4067, allocations: 0.9559 MB / 459.1 MB, free: 10.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.457e-05/0.4068, allocations: 44.97 kB / 459.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006763/0.4074, allocations: 0.5458 MB / 459.7 MB, free: 10.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002692/0.4077, allocations: 243.5 kB / 459.9 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000249/0.408, allocations: 131.3 kB / 460 MB, free: 10.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.4081, allocations: 333.9 kB / 460.4 MB, free: 9.863 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007674/0.4089, allocations: 418.1 kB / 460.8 MB, free: 9.645 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008939/0.4098, allocations: 0.5459 MB / 461.3 MB, free: 9.258 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001605/0.4114, allocations: 0.9523 MB / 462.3 MB, free: 8.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.4114, allocations: 4.875 kB / 462.3 MB, free: 8.656 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002445/0.4139, allocations: 1.286 MB / 463.6 MB, free: 7.961 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.4139, allocations: 10.05 kB / 463.6 MB, free: 7.957 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.4139, allocations: 7.438 kB / 463.6 MB, free: 7.957 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009697/0.4149, allocations: 395.4 kB / 464 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004962/0.4154, allocations: 113.6 kB / 464.1 MB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006016/0.4214, allocations: 4.505 MB / 468.6 MB, free: 4.371 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008845/0.4223, allocations: 80.39 kB / 468.7 MB, free: 4.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.168e-05/0.4223, allocations: 27.19 kB / 468.7 MB, free: 4.312 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.0009154/0.4232, allocations: 0.4895 MB / 469.2 MB, free: 3.973 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/0.4234, allocations: 100.4 kB / 469.3 MB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002331/0.4237, allocations: 121.5 kB / 469.4 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.4237, allocations: 7.25 kB / 469.4 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.4237, allocations: 0 / 469.4 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.4237, allocations: 10.02 kB / 469.4 MB, free: 3.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004686/0.4284, allocations: 2.588 MB / 472 MB, free: 2.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.4284, allocations: 6.812 kB / 472 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004397/0.4288, allocations: 87.88 kB / 472.1 MB, free: 2.098 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008448/0.4297, allocations: 389.9 kB / 472.5 MB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.627e-05/0.4297, allocations: 15.94 kB / 472.5 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005867/0.4356, allocations: 4.48 MB / 477 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4356, allocations: 0 / 477 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003507/0.4391, allocations: 1.956 MB / 478.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008489/0.44, allocations: 288.3 kB / 479.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003189/0.4403, allocations: 16 kB / 479.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006339/0.4409, allocations: 43.94 kB / 479.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002332/0.4411, allocations: 76.55 kB / 479.3 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.363e-05/0.4412, allocations: 19.98 kB / 479.3 MB, free: 10.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001329/0.4425, allocations: 0.698 MB / 480 MB, free: 9.973 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4425, allocations: 0 / 480 MB, free: 9.973 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001443/0.444, allocations: 351.2 kB / 480.4 MB, free: 9.629 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.003723/0.4477, allocations: 2.524 MB / 482.9 MB, free: 7.074 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002458/0.4502, allocations: 1.258 MB / 484.2 MB, free: 5.797 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.4502, allocations: 0 / 484.2 MB, free: 5.797 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001401/0.4516, allocations: 0.7798 MB / 485 MB, free: 5.008 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/0.4532, allocations: 262 kB / 485.2 MB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02156/0.4748, allocations: 10.87 MB / 496.1 MB, free: 9.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001505/0.4763, allocations: 1.396 MB / 497.5 MB, free: 8.234 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005794/0.4769, allocations: 171 kB / 497.6 MB, free: 8.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006776/0.4776, allocations: 423.3 kB / 498.1 MB, free: 7.656 MB / 398.1 MB Notification: Performance of SimCode: time 1.613e-06/0.4776, allocations: 0 / 498.1 MB, free: 7.656 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07833/0.5559, allocations: 29.12 MB / 0.5148 GB, free: 10.94 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/13.71, allocations: 15.78 kB / 0.5148 GB, free: 10.93 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.12202535988763] 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.81166659295559 13.826273738 13.448570811 Calling exit ...