Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.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.001295/0.001295, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.001402/0.001402, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.453/1.453, allocations: 230.5 MB / 254.7 MB, free: 15.01 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.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_Rectifier",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.001896/0.001896, allocations: 55.91 kB / 373.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1135, allocations: 53.32 MB / 426.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.2398/0.3533, allocations: 6.274 MB / 433.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003269/0.3566, allocations: 1.703 MB / 434.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005009/0.3571, allocations: 46.78 kB / 434.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005389/0.3576, allocations: 310.4 kB / 435.2 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00109/0.3587, allocations: 426.2 kB / 435.6 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005541/0.3593, allocations: 349.6 kB / 436 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002192/0.3615, allocations: 2.14 MB / 438.1 MB, free: 6.363 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002258/0.3637, allocations: 1.796 MB / 439.9 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001706/0.3654, allocations: 1.035 MB / 440.9 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002094/0.3675, allocations: 1.234 MB / 442.2 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005499/0.3681, allocations: 291.3 kB / 442.5 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008189/0.3689, allocations: 425.6 kB / 442.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005949/0.3695, allocations: 0.7109 MB / 443.6 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001213/0.3707, allocations: 1.232 MB / 444.8 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004745/0.3754, allocations: 3.642 MB / 448.5 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3754, allocations: 1.219 kB / 448.5 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3754, allocations: 0 / 448.5 MB, free: 1.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001367/0.3756, allocations: 0 / 448.5 MB, free: 1.957 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: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.005872/0.3814, allocations: 2.537 MB / 451 MB, free: 472 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.3815, allocations: 11.08 kB / 451 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003678/0.3819, allocations: 300 kB / 451.3 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007646/0.3826, allocations: 264.5 kB / 451.6 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002612/0.3852, allocations: 1.315 MB / 452.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.3854, allocations: 157.2 kB / 453 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003116/0.3857, allocations: 209.6 kB / 453.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004802/0.3905, allocations: 2.62 MB / 455.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.251e-05/0.3905, allocations: 1.094 kB / 455.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002047/0.3907, allocations: 81.56 kB / 455.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.379e-05/0.3908, allocations: 55.77 kB / 456 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003914/0.3947, allocations: 2.091 MB / 458.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0131/0.4078, allocations: 7.307 MB / 465.4 MB, free: 7.371 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002625/0.4105, allocations: 2.279 MB / 467.7 MB, free: 5.414 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/0.412, allocations: 0.8902 MB / 468.5 MB, free: 4.984 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.822e-05/0.412, allocations: 15.84 kB / 468.6 MB, free: 4.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/0.4121, allocations: 46.03 kB / 468.6 MB, free: 4.934 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.597e-06/0.4121, allocations: 0 / 468.6 MB, free: 4.934 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.008269/0.4203, allocations: 4.197 MB / 472.8 MB, free: 2.297 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/0.4204, allocations: 72.27 kB / 472.9 MB, free: 2.215 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.4217, allocations: 0.8642 MB / 473.7 MB, free: 1.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.193e-05/0.4218, allocations: 41.7 kB / 473.8 MB, free: 1.293 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006753/0.4225, allocations: 0.8553 MB / 474.6 MB, free: 436 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002906/0.4228, allocations: 345 kB / 475 MB, free: 88 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003042/0.4231, allocations: 178.6 kB / 475.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.4232, allocations: 349.9 kB / 475.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008174/0.4241, allocations: 493.7 kB / 476 MB, free: 15.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009595/0.425, allocations: 0.6733 MB / 476.6 MB, free: 14.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001794/0.4268, allocations: 1.201 MB / 477.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.4268, allocations: 3.938 kB / 477.9 MB, free: 13.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002894/0.4297, allocations: 1.613 MB / 479.5 MB, free: 11.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/0.4298, allocations: 8 kB / 479.5 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.4298, allocations: 4 kB / 479.5 MB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/0.4309, allocations: 472.3 kB / 479.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000645/0.4315, allocations: 167.8 kB / 480.1 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01004/0.4416, allocations: 9.304 MB / 489.4 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008245/0.4424, allocations: 51.89 kB / 489.5 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.4425, allocations: 32 kB / 489.5 MB, free: 0.8477 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode2.idealDiode[3].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[1].off,idealDiode1.idealDiode[3].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001361/0.4439, allocations: 0.6458 MB / 490.1 MB, free: 196 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002629/0.4441, allocations: 107.3 kB / 490.2 MB, free: 88 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/0.4444, allocations: 130.2 kB / 490.4 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.93e-05/0.4445, allocations: 12 kB / 490.4 MB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/0.4445, allocations: 0 / 490.4 MB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.4445, allocations: 12.67 kB / 490.4 MB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006413/0.4509, allocations: 3.466 MB / 493.9 MB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.4509, allocations: 3.938 kB / 493.9 MB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000569/0.4515, allocations: 123.8 kB / 494 MB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009967/0.4525, allocations: 447.1 kB / 494.4 MB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.057e-05/0.4525, allocations: 27.92 kB / 494.4 MB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00991/0.4624, allocations: 9.219 MB / 0.4919 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.4624, allocations: 4.031 kB / 0.4919 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003843/0.4663, allocations: 2.289 MB / 0.4941 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008136/0.4671, allocations: 284.4 kB / 0.4944 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.4672, allocations: 20 kB / 0.4944 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000458/0.4677, allocations: 39.95 kB / 0.4944 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002472/0.4679, allocations: 100.7 kB / 0.4945 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-05/0.468, allocations: 20 kB / 0.4945 GB, free: 15.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009175/0.4689, allocations: 0.6161 MB / 0.4951 GB, free: 14.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4689, allocations: 0 / 0.4951 GB, free: 14.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001694/0.4706, allocations: 387.8 kB / 0.4955 GB, free: 14.21 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004177/0.4748, allocations: 2.891 MB / 0.4983 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003017/0.4778, allocations: 1.776 MB / 0.5001 GB, free: 9.453 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.4778, allocations: 1.312 kB / 0.5001 GB, free: 9.453 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00186/0.4797, allocations: 1.207 MB / 0.5012 GB, free: 8.195 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/0.4812, allocations: 302.4 kB / 0.5015 GB, free: 7.906 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02075/0.5019, allocations: 12.18 MB / 0.5134 GB, free: 11.44 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00174/0.5037, allocations: 1.718 MB / 0.5151 GB, free: 9.691 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006476/0.5043, allocations: 192.9 kB / 0.5153 GB, free: 9.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008102/0.5051, allocations: 0.6203 MB / 0.5159 GB, free: 8.879 MB / 430.1 MB Notification: Performance of SimCode: time 1.573e-06/0.5051, allocations: 0 / 0.5159 GB, free: 8.879 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09519/0.6003, allocations: 33.86 MB / 0.549 GB, free: 7.363 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/14.41, allocations: 7.984 kB / 0.549 GB, free: 7.355 MB / 462.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_Rectifier.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.851124037988484] Failed to read output from testmodel.py, exit status != 0: ['time', 'cDC1.v', 'cDC2.v', 'supplyL.inductor[2].i', 'supplyL.inductor[3].i'] 14.523884466849267 14.548331733 14.168260816 Calling exit ...