Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0008665/0.0008665, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001029/0.001029, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9169/0.9169, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.454e-05/1.585e-05, allocations: 2.281 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.004931/0.004947, allocations: 5.571 MB / 330.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002641/0.007588, allocations: 1.671 MB / 331.8 MB, free: 8.609 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005296/0.008118, allocations: 55.69 kB / 331.8 MB, free: 8.555 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004668/0.008585, allocations: 313.5 kB / 332.1 MB, free: 8.246 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.009594, allocations: 464.6 kB / 332.6 MB, free: 7.789 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00054/0.01013, allocations: 363.3 kB / 332.9 MB, free: 7.434 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001662/0.0118, allocations: 2.237 MB / 335.2 MB, free: 5.188 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001531/0.01333, allocations: 1.349 MB / 336.5 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001498/0.01482, allocations: 1.575 MB / 338.1 MB, free: 2.199 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001328/0.01615, allocations: 1.056 MB / 339.1 MB, free: 1.137 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003477/0.0165, allocations: 295.9 kB / 339.4 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004475/0.01695, allocations: 407.6 kB / 339.8 MB, free: 460 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004007/0.01735, allocations: 0.7246 MB / 340.5 MB, free: 15.72 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007543/0.0181, allocations: 0.8576 MB / 341.4 MB, free: 14.86 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002689/0.02079, allocations: 3.681 MB / 345.1 MB, free: 11.17 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.0208, allocations: 0 / 345.1 MB, free: 11.17 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.0208, allocations: 0 / 345.1 MB, free: 11.17 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.128e-05/0.02089, allocations: 3.938 kB / 345.1 MB, free: 11.17 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.003272/0.02416, allocations: 2.445 MB / 347.5 MB, free: 8.676 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.02421, allocations: 11.98 kB / 347.5 MB, free: 8.664 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002543/0.02446, allocations: 303.7 kB / 347.8 MB, free: 8.355 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004168/0.02488, allocations: 271.4 kB / 348.1 MB, free: 8.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.02625, allocations: 1.254 MB / 349.4 MB, free: 6.801 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.579e-05/0.02632, allocations: 152.5 kB / 349.5 MB, free: 6.648 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001923/0.02651, allocations: 208.4 kB / 349.7 MB, free: 6.445 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003073/0.02959, allocations: 2.659 MB / 352.4 MB, free: 3.691 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/0.02962, allocations: 4 kB / 352.4 MB, free: 3.688 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/0.02974, allocations: 84 kB / 352.5 MB, free: 3.605 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.283e-05/0.0298, allocations: 76.12 kB / 352.5 MB, free: 3.527 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002274/0.03207, allocations: 2.097 MB / 354.6 MB, free: 1.414 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007145/0.03922, allocations: 6.622 MB / 361.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.04047, allocations: 1.309 MB / 362.6 MB, free: 9.316 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009285/0.0414, allocations: 0.8896 MB / 363.5 MB, free: 8.426 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.815e-05/0.04143, allocations: 12.94 kB / 363.5 MB, free: 8.414 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.04146, allocations: 39.56 kB / 363.5 MB, free: 8.363 MB / 330.7 MB Notification: Performance of pre-optimization done (n=96): time 3.356e-06/0.04147, allocations: 3.938 kB / 363.5 MB, free: 8.359 MB / 330.7 MB Notification: Performance of matching and sorting (n=97): time 0.005086/0.04655, allocations: 3.895 MB / 367.4 MB, free: 4.422 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.04659, allocations: 64.34 kB / 367.5 MB, free: 4.348 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008154/0.0474, allocations: 0.8758 MB / 368.3 MB, free: 3.457 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.305e-05/0.04745, allocations: 41.7 kB / 368.4 MB, free: 3.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003773/0.04782, allocations: 0.8592 MB / 369.2 MB, free: 2.539 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.04799, allocations: 337.1 kB / 369.6 MB, free: 2.207 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/0.04817, allocations: 178.6 kB / 369.7 MB, free: 2.023 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.433e-05/0.04826, allocations: 345.9 kB / 370.1 MB, free: 1.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004976/0.04876, allocations: 0.4899 MB / 370.6 MB, free: 1.191 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008167/0.04958, allocations: 0.6694 MB / 371.2 MB, free: 464 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.05067, allocations: 1.209 MB / 372.5 MB, free: 15.17 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.05067, allocations: 0 / 372.5 MB, free: 15.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001672/0.05235, allocations: 1.613 MB / 374.1 MB, free: 13.54 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.05237, allocations: 12 kB / 374.1 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.05238, allocations: 4 kB / 374.1 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00071/0.05309, allocations: 470.9 kB / 374.5 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/0.05349, allocations: 175.8 kB / 374.7 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006128/0.05962, allocations: 8.806 MB / 383.5 MB, free: 3.625 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004398/0.06006, allocations: 51.89 kB / 383.6 MB, free: 3.574 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.365e-05/0.06012, allocations: 36 kB / 383.6 MB, free: 3.539 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.0008127/0.06093, allocations: 0.6387 MB / 384.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.06106, allocations: 111.3 kB / 384.4 MB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.06118, allocations: 130.1 kB / 384.5 MB, free: 2.652 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/0.0612, allocations: 15.98 kB / 384.5 MB, free: 2.637 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.06121, allocations: 4.062 kB / 384.5 MB, free: 2.633 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.06121, allocations: 3.984 kB / 384.5 MB, free: 2.629 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003691/0.06491, allocations: 3.333 MB / 387.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.06491, allocations: 0 / 387.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002942/0.0652, allocations: 123.8 kB / 388 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005596/0.06576, allocations: 451.2 kB / 388.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.134e-05/0.0658, allocations: 23.98 kB / 388.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005377/0.07118, allocations: 8.747 MB / 397.2 MB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.07118, allocations: 0 / 397.2 MB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002244/0.07343, allocations: 2.289 MB / 399.5 MB, free: 3.098 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003184/0.07374, allocations: 219.3 kB / 399.7 MB, free: 2.883 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.126e-05/0.07381, allocations: 19.98 kB / 399.7 MB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004685/0.07427, allocations: 43.95 kB / 399.7 MB, free: 2.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.07443, allocations: 104.8 kB / 399.8 MB, free: 2.715 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.558e-05/0.07447, allocations: 20 kB / 399.9 MB, free: 2.695 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005514/0.07502, allocations: 0.6161 MB / 400.5 MB, free: 2.082 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.07502, allocations: 0 / 400.5 MB, free: 2.082 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00111/0.07613, allocations: 380 kB / 400.8 MB, free: 1.711 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.002774/0.0789, allocations: 2.884 MB / 403.7 MB, free: 14.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001819/0.08072, allocations: 1.781 MB / 405.5 MB, free: 12.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.08072, allocations: 0 / 405.5 MB, free: 12.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.08175, allocations: 1.207 MB / 406.7 MB, free: 11.69 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009474/0.08269, allocations: 294.5 kB / 407 MB, free: 11.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/0.09513, allocations: 12.17 MB / 419.2 MB, free: 14.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008735/0.096, allocations: 1.15 MB / 420.3 MB, free: 13.74 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003762/0.09638, allocations: 196.8 kB / 420.5 MB, free: 13.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005308/0.09691, allocations: 0.6175 MB / 421.1 MB, free: 12.93 MB / 394.7 MB Notification: Performance of SimCode: time 1.142e-06/0.09691, allocations: 4 kB / 421.1 MB, free: 12.92 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1846/0.2816, allocations: 34.87 MB / 456 MB, free: 113.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.677/8.958, allocations: 11.59 kB / 456 MB, free: 113.4 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.786734594032168] Failed to read output from testmodel.py, exit status != 0: ['time', 'cDC1.v', 'cDC2.v', 'supplyL.inductor[2].i', 'supplyL.inductor[3].i'] 9.065115231089294 9.07337032 9.051127194 Calling exit ...