Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009779/0.0009779, allocations: 79.7 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009254/0.0009254, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9038/0.9038, allocations: 177.1 MB / 204.2 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.265e-05, allocations: 2.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.00494/0.004963, allocations: 5.567 MB / 330.1 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003077/0.00804, allocations: 1.663 MB / 331.8 MB, free: 8.664 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006002/0.008641, allocations: 59.62 kB / 331.8 MB, free: 8.605 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004846/0.009125, allocations: 309.5 kB / 332.1 MB, free: 8.301 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001108/0.01023, allocations: 464.6 kB / 332.6 MB, free: 7.844 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005426/0.01078, allocations: 363.4 kB / 333 MB, free: 7.488 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001474/0.01225, allocations: 2.21 MB / 335.2 MB, free: 5.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/0.01345, allocations: 1.352 MB / 336.5 MB, free: 3.855 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001375/0.01483, allocations: 1.571 MB / 338.1 MB, free: 2.281 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.01588, allocations: 1.044 MB / 339.1 MB, free: 1.234 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002603/0.01614, allocations: 292 kB / 339.4 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005175/0.01665, allocations: 399.8 kB / 339.8 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004293/0.01708, allocations: 0.7245 MB / 340.5 MB, free: 15.83 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005831/0.01767, allocations: 0.8537 MB / 341.4 MB, free: 14.97 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002249/0.01991, allocations: 3.677 MB / 345.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.01992, allocations: 0 / 345.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.01992, allocations: 0 / 345.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.234e-05/0.01995, allocations: 0 / 345.1 MB, free: 11.29 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: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.002712/0.02266, allocations: 2.448 MB / 347.5 MB, free: 8.793 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.02271, allocations: 8.031 kB / 347.5 MB, free: 8.785 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002539/0.02296, allocations: 303.7 kB / 347.8 MB, free: 8.477 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004048/0.02336, allocations: 267.5 kB / 348.1 MB, free: 8.215 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/0.02473, allocations: 1.242 MB / 349.3 MB, free: 6.938 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.469e-05/0.02481, allocations: 160.5 kB / 349.5 MB, free: 6.777 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001947/0.025, allocations: 208.3 kB / 349.7 MB, free: 6.574 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00272/0.02772, allocations: 2.644 MB / 352.3 MB, free: 3.836 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/0.02775, allocations: 0 / 352.3 MB, free: 3.836 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.02787, allocations: 84 kB / 352.4 MB, free: 3.754 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.216e-05/0.02791, allocations: 52 kB / 352.5 MB, free: 3.703 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002366/0.03028, allocations: 2.085 MB / 354.5 MB, free: 1.602 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007258/0.03754, allocations: 6.618 MB / 361.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.03883, allocations: 1.297 MB / 362.5 MB, free: 9.523 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009591/0.03979, allocations: 0.8863 MB / 363.3 MB, free: 8.637 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.904e-05/0.03983, allocations: 9 kB / 363.4 MB, free: 8.629 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.03986, allocations: 51.44 kB / 363.4 MB, free: 8.566 MB / 330.7 MB Notification: Performance of pre-optimization done (n=96): time 4.127e-06/0.03987, allocations: 0 / 363.4 MB, free: 8.566 MB / 330.7 MB Notification: Performance of matching and sorting (n=97): time 0.005046/0.04491, allocations: 3.906 MB / 367.3 MB, free: 4.613 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.04495, allocations: 60.41 kB / 367.4 MB, free: 4.543 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008079/0.04576, allocations: 0.872 MB / 368.2 MB, free: 3.656 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/0.04581, allocations: 41.7 kB / 368.3 MB, free: 3.609 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003943/0.0462, allocations: 0.8514 MB / 369.1 MB, free: 2.746 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001845/0.04639, allocations: 341.1 kB / 369.5 MB, free: 2.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.04657, allocations: 174.6 kB / 369.6 MB, free: 2.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.04667, allocations: 349.9 kB / 370 MB, free: 1.883 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00053/0.0472, allocations: 497.7 kB / 370.5 MB, free: 1.398 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005741/0.04778, allocations: 0.6733 MB / 371.1 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.04889, allocations: 1.205 MB / 372.3 MB, free: 15.38 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.0489, allocations: 0 / 372.3 MB, free: 15.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001722/0.05062, allocations: 1.617 MB / 374 MB, free: 13.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.05064, allocations: 8 kB / 374 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.05065, allocations: 4 kB / 374 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006714/0.05132, allocations: 471.1 kB / 374.4 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000382/0.0517, allocations: 175.8 kB / 374.6 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005799/0.0575, allocations: 8.809 MB / 383.4 MB, free: 3.828 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004269/0.05793, allocations: 52.08 kB / 383.5 MB, free: 3.777 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.245e-05/0.05798, allocations: 36.12 kB / 383.5 MB, free: 3.742 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.000851/0.05883, allocations: 0.6442 MB / 384.1 MB, free: 3.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.05899, allocations: 103.3 kB / 384.2 MB, free: 2.988 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.05913, allocations: 138.1 kB / 384.4 MB, free: 2.852 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-05/0.05915, allocations: 12 kB / 384.4 MB, free: 2.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.05917, allocations: 0 / 384.4 MB, free: 2.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.05917, allocations: 3.984 kB / 384.4 MB, free: 2.836 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003728/0.0629, allocations: 3.329 MB / 387.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.06291, allocations: 3.938 kB / 387.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004503/0.06336, allocations: 119.9 kB / 387.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006096/0.06397, allocations: 459 kB / 388.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.06401, allocations: 23.98 kB / 388.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006062/0.07007, allocations: 8.725 MB / 397 MB, free: 5.645 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.07008, allocations: 0 / 397 MB, free: 5.645 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00271/0.07279, allocations: 2.301 MB / 399.3 MB, free: 3.312 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003951/0.07318, allocations: 219.2 kB / 399.6 MB, free: 3.098 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.403e-05/0.07324, allocations: 16.12 kB / 399.6 MB, free: 3.082 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.07349, allocations: 47.95 kB / 399.6 MB, free: 3.035 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/0.07369, allocations: 100.6 kB / 399.7 MB, free: 2.934 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.863e-05/0.07373, allocations: 24 kB / 399.7 MB, free: 2.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006214/0.07435, allocations: 0.6161 MB / 400.4 MB, free: 2.297 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.07435, allocations: 0 / 400.4 MB, free: 2.297 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001152/0.0755, allocations: 383.9 kB / 400.7 MB, free: 1.922 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.002659/0.07816, allocations: 2.884 MB / 403.6 MB, free: 14.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001898/0.08006, allocations: 1.773 MB / 405.4 MB, free: 13.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.08006, allocations: 0 / 405.4 MB, free: 13.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001339/0.0814, allocations: 1.199 MB / 406.6 MB, free: 11.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000856/0.08226, allocations: 295.3 kB / 406.9 MB, free: 11.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/0.09477, allocations: 12.15 MB / 419 MB, free: 15.18 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/0.09581, allocations: 1.154 MB / 420.2 MB, free: 13.98 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003894/0.0962, allocations: 192.9 kB / 420.4 MB, free: 13.79 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005154/0.09672, allocations: 0.6214 MB / 421 MB, free: 13.17 MB / 394.7 MB Notification: Performance of SimCode: time 1.232e-06/0.09672, allocations: 3.938 kB / 421 MB, free: 13.16 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1877/0.2844, allocations: 34.86 MB / 455.9 MB, free: 115 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.801/9.086, allocations: 0 / 455.9 MB, free: 115 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_Polyphase_Examples_Rectifier.fmu > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.874191564507782] Failed to read output from testmodel.py, exit status != 0: ['time', 'cDC1.v', 'cDC2.v', 'supplyL.inductor[2].i', 'supplyL.inductor[3].i'] 9.193247818388045 9.20064332 9.179232528 Calling exit ...