Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000832/0.000832, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007897/0.0007897, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.851/0.851, allocations: 173.3 MB / 200.4 MB, free: 9.445 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 318.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.305e-05/1.42e-05, allocations: 2.281 kB / 318.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.00431/0.004324, allocations: 5.529 MB / 324 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002394/0.006718, allocations: 1.616 MB / 325.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00032/0.007038, allocations: 55.69 kB / 325.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003859/0.007424, allocations: 309.5 kB / 325.9 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007917/0.008215, allocations: 456.6 kB / 326.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003847/0.0086, allocations: 347.5 kB / 326.7 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001152/0.009752, allocations: 2.206 MB / 328.9 MB, free: 11.83 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.01079, allocations: 1.348 MB / 330.3 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009189/0.01171, allocations: 1.571 MB / 331.8 MB, free: 8.844 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008307/0.01254, allocations: 1.04 MB / 332.9 MB, free: 7.801 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001912/0.01273, allocations: 292 kB / 333.2 MB, free: 7.516 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003759/0.01311, allocations: 419.6 kB / 333.6 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003438/0.01345, allocations: 0.7206 MB / 334.3 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005098/0.01396, allocations: 0.8537 MB / 335.1 MB, free: 5.527 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002084/0.01605, allocations: 3.677 MB / 338.8 MB, free: 1.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.01605, allocations: 4 kB / 338.8 MB, free: 1.836 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01605, allocations: 0 / 338.8 MB, free: 1.836 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.05e-05/0.01607, allocations: 0 / 338.8 MB, free: 1.836 MB / 298.7 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.002437/0.01851, allocations: 2.432 MB / 341.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/0.01857, allocations: 8.922 kB / 341.3 MB, free: 15.35 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002842/0.01885, allocations: 307.7 kB / 341.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002933/0.01915, allocations: 239.4 kB / 341.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.02044, allocations: 1.234 MB / 343 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-05/0.02051, allocations: 152.5 kB / 343.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001799/0.02069, allocations: 200.4 kB / 343.4 MB, free: 13.19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002573/0.02326, allocations: 2.648 MB / 346 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/0.02329, allocations: 0 / 346 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.02341, allocations: 80 kB / 346.1 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-05/0.02345, allocations: 52 kB / 346.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002153/0.0256, allocations: 2.093 MB / 348.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006036/0.03164, allocations: 6.602 MB / 354.9 MB, free: 1.422 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00128/0.03292, allocations: 1.293 MB / 356.1 MB, free: 144 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008774/0.0338, allocations: 0.901 MB / 357 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.497e-05/0.03383, allocations: 9 kB / 357.1 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.03386, allocations: 39.56 kB / 357.1 MB, free: 15.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=96): time 1.884e-06/0.03386, allocations: 4 kB / 357.1 MB, free: 15.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=97): time 0.004633/0.03849, allocations: 3.906 MB / 361 MB, free: 11.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.03853, allocations: 60.41 kB / 361.1 MB, free: 11.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006867/0.03921, allocations: 0.8718 MB / 361.9 MB, free: 10.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/0.03925, allocations: 41.7 kB / 362 MB, free: 10.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000343/0.0396, allocations: 0.8475 MB / 362.8 MB, free: 9.367 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/0.03976, allocations: 337.1 kB / 363.2 MB, free: 9.035 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.03993, allocations: 178.6 kB / 363.3 MB, free: 8.852 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.018e-05/0.04002, allocations: 349.8 kB / 363.7 MB, free: 8.504 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004802/0.0405, allocations: 0.4899 MB / 364.2 MB, free: 8.016 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005554/0.04106, allocations: 0.6733 MB / 364.8 MB, free: 7.273 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.04209, allocations: 1.201 MB / 366 MB, free: 6.004 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.04209, allocations: 0 / 366 MB, free: 6.004 MB / 330.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001828/0.04392, allocations: 1.625 MB / 367.7 MB, free: 4.363 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.04394, allocations: 4 kB / 367.7 MB, free: 4.359 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.04395, allocations: 8 kB / 367.7 MB, free: 4.352 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006063/0.04455, allocations: 459 kB / 368.1 MB, free: 3.891 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/0.04491, allocations: 175.7 kB / 368.3 MB, free: 3.719 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005339/0.05025, allocations: 8.821 MB / 377.1 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.0505, allocations: 44.05 kB / 377.2 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.694e-05/0.05055, allocations: 43.92 kB / 377.2 MB, free: 10.36 MB / 346.7 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.0005866/0.05113, allocations: 0.634 MB / 377.8 MB, free: 9.711 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.05124, allocations: 107.3 kB / 377.9 MB, free: 9.605 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.05135, allocations: 134 kB / 378.1 MB, free: 9.469 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.05136, allocations: 16.06 kB / 378.1 MB, free: 9.453 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.05137, allocations: 128 / 378.1 MB, free: 9.453 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.05138, allocations: 3.984 kB / 378.1 MB, free: 9.449 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003379/0.05475, allocations: 3.332 MB / 381.4 MB, free: 6.039 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.05476, allocations: 3.938 kB / 381.4 MB, free: 6.035 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/0.05503, allocations: 127.9 kB / 381.5 MB, free: 5.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005181/0.05555, allocations: 451 kB / 382 MB, free: 5.457 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.784e-05/0.05559, allocations: 19.98 kB / 382 MB, free: 5.438 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005029/0.06062, allocations: 8.723 MB / 390.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.06062, allocations: 4.031 kB / 390.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/0.06266, allocations: 2.293 MB / 393 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002593/0.06292, allocations: 215.3 kB / 393.2 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.012e-05/0.06298, allocations: 20 kB / 393.3 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.06319, allocations: 43.95 kB / 393.3 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.06333, allocations: 92.77 kB / 393.4 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-05/0.06336, allocations: 20 kB / 393.4 MB, free: 9.547 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004836/0.06385, allocations: 0.6122 MB / 394 MB, free: 8.938 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06385, allocations: 0 / 394 MB, free: 8.938 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000859/0.0647, allocations: 379.9 kB / 394.4 MB, free: 8.566 MB / 362.7 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.002575/0.06728, allocations: 2.899 MB / 397.3 MB, free: 5.625 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001578/0.06886, allocations: 1.784 MB / 399.1 MB, free: 3.789 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.06886, allocations: 0 / 399.1 MB, free: 3.789 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008943/0.06975, allocations: 1.207 MB / 400.3 MB, free: 2.531 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006998/0.07045, allocations: 294.1 kB / 400.6 MB, free: 2.246 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/0.08175, allocations: 12.11 MB / 412.7 MB, free: 5.824 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000786/0.08254, allocations: 1.142 MB / 413.8 MB, free: 4.641 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003216/0.08286, allocations: 188.9 kB / 414 MB, free: 4.453 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004866/0.08335, allocations: 0.6214 MB / 414.6 MB, free: 3.832 MB / 378.7 MB Notification: Performance of SimCode: time 7.21e-07/0.08335, allocations: 0 / 414.6 MB, free: 3.832 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04491/0.1283, allocations: 34.81 MB / 449.4 MB, free: 1.379 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.786/8.914, allocations: 3.938 kB / 449.4 MB, free: 1.375 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_0_0_Modelica_Electrical_Polyphase_Examples_Rectifier.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.78012169431895] Failed to read output from testmodel.py, exit status != 0: ['time', 'cDC1.v', 'cDC2.v', 'supplyL.inductor[2].i', 'supplyL.inductor[3].i'] 9.151976902969182 9.160262595 9.142670252 Calling exit ...