Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.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.0008673/0.0008673, allocations: 83.62 kB / 21.43 MB, free: 3.129 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.005278/0.005278, allocations: 162.9 kB / 24.69 MB, free: 9.414 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8503/0.8503, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.482e-05/2.68e-05, allocations: 2.281 kB / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.1252/0.1253, allocations: 5.485 MB / 303.9 MB, free: 12.91 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002667/0.1279, allocations: 1.656 MB / 305.6 MB, free: 12.19 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003776/0.1283, allocations: 51.53 kB / 305.6 MB, free: 12.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004283/0.1287, allocations: 306.4 kB / 305.9 MB, free: 11.99 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009409/0.1297, allocations: 446.7 kB / 306.4 MB, free: 11.71 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005462/0.1302, allocations: 359.8 kB / 306.7 MB, free: 11.5 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001731/0.132, allocations: 2.217 MB / 308.9 MB, free: 10.35 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.1332, allocations: 1.32 MB / 310.3 MB, free: 9.645 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001684/0.1349, allocations: 1.548 MB / 311.8 MB, free: 8.918 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.1362, allocations: 1.039 MB / 312.8 MB, free: 8.516 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002972/0.1365, allocations: 290.6 kB / 313.1 MB, free: 8.516 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005981/0.1371, allocations: 414.9 kB / 313.5 MB, free: 8.48 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004257/0.1375, allocations: 0.7268 MB / 314.3 MB, free: 8.023 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000714/0.1382, allocations: 0.849 MB / 315.1 MB, free: 7.598 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002728/0.1409, allocations: 3.668 MB / 318.8 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1409, allocations: 3.984 kB / 318.8 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1409, allocations: 0 / 318.8 MB, free: 5.789 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.201e-05/0.141, allocations: 1.375 kB / 318.8 MB, free: 5.789 MB / 282.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.002912/0.1439, allocations: 2.42 MB / 321.2 MB, free: 4.109 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1439, allocations: 16.61 kB / 321.2 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002366/0.1442, allocations: 301.8 kB / 321.5 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003105/0.1445, allocations: 246 kB / 321.7 MB, free: 3.746 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.1457, allocations: 1.128 MB / 322.9 MB, free: 2.977 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.321e-05/0.1458, allocations: 151.8 kB / 323 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002031/0.146, allocations: 210.9 kB / 323.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002743/0.1487, allocations: 2.641 MB / 325.9 MB, free: 1.207 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.1488, allocations: 3.938 kB / 325.9 MB, free: 1.203 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.1489, allocations: 85.25 kB / 326 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.613e-05/0.1489, allocations: 52.22 kB / 326 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002246/0.1512, allocations: 2.081 MB / 328.1 MB, free: 40 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007524/0.1587, allocations: 6.619 MB / 334.7 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.1599, allocations: 1.307 MB / 336 MB, free: 8.797 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009127/0.1609, allocations: 0.8872 MB / 336.9 MB, free: 7.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.819e-05/0.1609, allocations: 13 kB / 336.9 MB, free: 7.898 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.1609, allocations: 47.5 kB / 337 MB, free: 7.844 MB / 298.7 MB Notification: Performance of pre-optimization done (n=96): time 2.826e-06/0.1609, allocations: 0 / 337 MB, free: 7.844 MB / 298.7 MB Notification: Performance of matching and sorting (n=97): time 0.004798/0.1657, allocations: 3.891 MB / 340.9 MB, free: 3.902 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.1658, allocations: 60.41 kB / 340.9 MB, free: 3.832 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008547/0.1666, allocations: 0.8718 MB / 341.8 MB, free: 2.945 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.383e-05/0.1667, allocations: 45.69 kB / 341.8 MB, free: 2.895 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004296/0.1671, allocations: 0.8436 MB / 342.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/0.1673, allocations: 337.1 kB / 343 MB, free: 1.707 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.1675, allocations: 174.6 kB / 343.2 MB, free: 1.531 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.938e-05/0.1676, allocations: 349.9 kB / 343.5 MB, free: 1.184 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004829/0.168, allocations: 497.7 kB / 344 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005686/0.1686, allocations: 0.683 MB / 344.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.1697, allocations: 1.201 MB / 345.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1697, allocations: 0 / 345.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001689/0.1714, allocations: 1.616 MB / 347.5 MB, free: 13.04 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.1714, allocations: 8 kB / 347.5 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.1714, allocations: 8.312 kB / 347.5 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006811/0.1721, allocations: 463 kB / 348 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/0.1725, allocations: 171.7 kB / 348.1 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00717/0.1797, allocations: 8.821 MB / 357 MB, free: 3.113 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006598/0.1803, allocations: 43.97 kB / 357 MB, free: 3.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-05/0.1804, allocations: 42.33 kB / 357 MB, free: 3.031 MB / 314.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.001089/0.1815, allocations: 0.6302 MB / 357.7 MB, free: 2.391 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.1817, allocations: 111.4 kB / 357.8 MB, free: 2.281 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.1818, allocations: 137.9 kB / 357.9 MB, free: 2.145 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.996e-05/0.1818, allocations: 12 kB / 357.9 MB, free: 2.133 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.1818, allocations: 8 kB / 357.9 MB, free: 2.125 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.1818, allocations: 3.984 kB / 357.9 MB, free: 2.121 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00386/0.1857, allocations: 3.325 MB / 361.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.1857, allocations: 4 kB / 361.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003143/0.186, allocations: 127.9 kB / 361.4 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006007/0.1866, allocations: 454.9 kB / 361.8 MB, free: 14.13 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-05/0.1867, allocations: 19.94 kB / 361.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006185/0.1928, allocations: 8.727 MB / 370.6 MB, free: 4.934 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1928, allocations: 128 / 370.6 MB, free: 4.934 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002427/0.1953, allocations: 2.301 MB / 372.9 MB, free: 2.602 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003838/0.1957, allocations: 215.2 kB / 373.1 MB, free: 2.391 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.418e-05/0.1957, allocations: 28 kB / 373.1 MB, free: 2.363 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.196, allocations: 43.95 kB / 373.2 MB, free: 2.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.1961, allocations: 88.81 kB / 373.3 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.692e-05/0.1962, allocations: 24 kB / 373.3 MB, free: 2.211 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005776/0.1967, allocations: 0.6044 MB / 373.9 MB, free: 1.609 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1967, allocations: 0 / 373.9 MB, free: 1.609 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001145/0.1979, allocations: 379.9 kB / 374.3 MB, free: 1.238 MB / 330.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.002448/0.2003, allocations: 2.892 MB / 377.1 MB, free: 14.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002066/0.2024, allocations: 1.78 MB / 378.9 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2024, allocations: 0 / 378.9 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.2034, allocations: 1.216 MB / 380.1 MB, free: 11.2 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008589/0.2043, allocations: 297.9 kB / 380.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01314/0.2174, allocations: 12.11 MB / 392.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008468/0.2182, allocations: 1.138 MB / 393.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004066/0.2187, allocations: 188.9 kB / 393.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004901/0.2191, allocations: 0.6214 MB / 394.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/0.2191, allocations: 0 / 394.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05384/0.273, allocations: 34.81 MB / 429.3 MB, free: 9.586 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.838/9.111, allocations: 15.84 kB / 429.3 MB, free: 9.57 MB / 394.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.MultiPhase.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_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.852474741637707] Failed to read output from testmodel.py, exit status != 0: ['time', 'cDC1.v', 'cDC2.v', 'supplyL.inductor[2].i', 'supplyL.inductor[3].i'] 9.221200590021908 9.23305862 9.090089843 Calling exit ...