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.001713/0.001713, allocations: 120 kB / 18.5 MB, free: 4.539 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.002038/0.002038, allocations: 209.7 kB / 21.46 MB, free: 1.59 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.489/1.489, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.002776/0.002776, allocations: 67.81 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1429, allocations: 53.32 MB / 427 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.2409/0.3837, allocations: 6.275 MB / 433.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003191/0.3869, allocations: 1.702 MB / 435 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005071/0.3874, allocations: 60.5 kB / 435 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005168/0.3879, allocations: 303.1 kB / 435.3 MB, free: 7.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.389, allocations: 432.6 kB / 435.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005442/0.3895, allocations: 350.1 kB / 436.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00193/0.3915, allocations: 2.139 MB / 438.2 MB, free: 6.332 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002039/0.3935, allocations: 1.795 MB / 440 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00163/0.3951, allocations: 1.056 MB / 441.1 MB, free: 5.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00216/0.3973, allocations: 1.237 MB / 442.3 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005894/0.3979, allocations: 290 kB / 442.6 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008512/0.3987, allocations: 422.7 kB / 443 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006815/0.3994, allocations: 0.7099 MB / 443.7 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.4007, allocations: 1.239 MB / 445 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005043/0.4058, allocations: 3.636 MB / 448.6 MB, free: 1.883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.4058, allocations: 3.438 kB / 448.6 MB, free: 1.883 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4058, allocations: 0 / 448.6 MB, free: 1.883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001246/0.4059, allocations: 3.938 kB / 448.6 MB, free: 1.879 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.005264/0.4112, allocations: 2.532 MB / 451.1 MB, free: 392 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.4112, allocations: 10 kB / 451.1 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003737/0.4116, allocations: 300.1 kB / 451.4 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007465/0.4123, allocations: 272.3 kB / 451.7 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002308/0.4146, allocations: 1.309 MB / 453 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/0.4148, allocations: 159.8 kB / 453.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003204/0.4151, allocations: 206.9 kB / 453.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004681/0.4198, allocations: 2.619 MB / 456 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.442e-05/0.4198, allocations: 0 / 456 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001982/0.42, allocations: 90.33 kB / 456.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.051e-05/0.4201, allocations: 52.19 kB / 456.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003753/0.4239, allocations: 2.092 MB / 458.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01292/0.4368, allocations: 7.31 MB / 465.5 MB, free: 7.254 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002473/0.4393, allocations: 2.285 MB / 467.8 MB, free: 5.293 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00144/0.4407, allocations: 0.8835 MB / 468.7 MB, free: 4.875 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.071e-05/0.4407, allocations: 14.72 kB / 468.7 MB, free: 4.871 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.4408, allocations: 42.16 kB / 468.8 MB, free: 4.824 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.106e-06/0.4408, allocations: 0 / 468.8 MB, free: 4.824 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.00822/0.449, allocations: 4.201 MB / 473 MB, free: 2.148 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.4491, allocations: 68.28 kB / 473 MB, free: 2.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/0.4504, allocations: 0.872 MB / 473.9 MB, free: 1.188 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.666e-05/0.4504, allocations: 37.7 kB / 473.9 MB, free: 1.145 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006245/0.4511, allocations: 0.8553 MB / 474.8 MB, free: 284 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003037/0.4514, allocations: 341.1 kB / 475.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002897/0.4516, allocations: 174.6 kB / 475.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.4518, allocations: 349.9 kB / 475.6 MB, free: 15.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008508/0.4527, allocations: 497.7 kB / 476.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009281/0.4536, allocations: 0.6772 MB / 476.8 MB, free: 14.19 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001748/0.4554, allocations: 1.197 MB / 478 MB, free: 12.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4554, allocations: 0 / 478 MB, free: 12.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002687/0.4581, allocations: 1.617 MB / 479.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.4581, allocations: 8 kB / 479.6 MB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.4581, allocations: 4 kB / 479.6 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/0.4592, allocations: 472.4 kB / 480.1 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006828/0.4599, allocations: 173.2 kB / 480.3 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/0.4702, allocations: 9.298 MB / 489.6 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009909/0.4712, allocations: 47.89 kB / 489.6 MB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.735e-05/0.4713, allocations: 32 kB / 489.6 MB, free: 0.7031 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.001331/0.4726, allocations: 0.6482 MB / 490.3 MB, free: 48 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002861/0.4729, allocations: 107.4 kB / 490.4 MB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003189/0.4732, allocations: 134.1 kB / 490.5 MB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.101e-05/0.4733, allocations: 12 kB / 490.5 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-05/0.4733, allocations: 4 kB / 490.5 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/0.4733, allocations: 12.98 kB / 490.5 MB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006129/0.4794, allocations: 3.462 MB / 494 MB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.4794, allocations: 0 / 494 MB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005793/0.48, allocations: 127.9 kB / 494.1 MB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001045/0.481, allocations: 464.3 kB / 494.6 MB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.731e-05/0.4811, allocations: 20 kB / 494.6 MB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009626/0.4907, allocations: 9.209 MB / 0.492 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.4907, allocations: 3.984 kB / 0.492 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003812/0.4946, allocations: 2.291 MB / 0.4942 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000637/0.4952, allocations: 284.4 kB / 0.4945 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.4953, allocations: 23.98 kB / 0.4945 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004446/0.4958, allocations: 39.95 kB / 0.4946 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002337/0.496, allocations: 96.73 kB / 0.4947 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.723e-05/0.4961, allocations: 20 kB / 0.4947 GB, free: 15.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009334/0.497, allocations: 0.62 MB / 0.4953 GB, free: 14.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.497, allocations: 0 / 0.4953 GB, free: 14.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001711/0.4987, allocations: 383.9 kB / 0.4957 GB, free: 14.07 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.004138/0.5028, allocations: 2.888 MB / 0.4985 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003084/0.5059, allocations: 1.772 MB / 0.5002 GB, free: 9.309 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.5059, allocations: 4 kB / 0.5002 GB, free: 9.305 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001822/0.5077, allocations: 1.208 MB / 0.5014 GB, free: 8.051 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/0.5093, allocations: 305.4 kB / 0.5017 GB, free: 7.758 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01947/0.5288, allocations: 12.18 MB / 0.5136 GB, free: 11.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00158/0.5304, allocations: 1.718 MB / 0.5153 GB, free: 9.547 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006094/0.531, allocations: 196.8 kB / 0.5154 GB, free: 9.352 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/0.5321, allocations: 0.6243 MB / 0.5161 GB, free: 8.727 MB / 430.1 MB Notification: Performance of SimCode: time 9.92e-07/0.5321, allocations: 0 / 0.5161 GB, free: 8.727 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0881/0.6202, allocations: 33.86 MB / 0.5491 GB, free: 7.215 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/14.6, allocations: 10.64 kB / 0.5491 GB, free: 7.207 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-05 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: 17.16083785193041] Failed to read output from testmodel.py, exit status != 0: ['time', 'cDC1.v', 'cDC2.v', 'supplyL.inductor[2].i', 'supplyL.inductor[3].i'] 14.711589821614325 14.724133341 14.315387365 Calling exit ...