Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.001248/0.001248, allocations: 87.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.007253/0.007253, allocations: 164.6 kB / 24.7 MB, free: 9.43 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.8818/0.8818, allocations: 158.6 MB / 186.5 MB, free: 3.043 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.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.484e-05/1.652e-05, allocations: 2.281 kB / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.1378/0.1378, allocations: 6.079 MB / 304.5 MB, free: 12.59 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003257/0.1411, allocations: 2.23 MB / 306.8 MB, free: 11.41 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003664/0.1414, allocations: 58.69 kB / 306.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000769/0.1422, allocations: 456.3 kB / 307.3 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001256/0.1434, allocations: 0.7165 MB / 308 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003988/0.1438, allocations: 292.1 kB / 308.3 MB, free: 10.52 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001903/0.1457, allocations: 3.018 MB / 311.3 MB, free: 8.953 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.1469, allocations: 1.255 MB / 312.5 MB, free: 8.301 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002034/0.1489, allocations: 1.951 MB / 314.5 MB, free: 7.414 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001361/0.1503, allocations: 1.382 MB / 315.9 MB, free: 6.883 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003734/0.1507, allocations: 349.3 kB / 316.2 MB, free: 6.883 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005546/0.1512, allocations: 427.2 kB / 316.6 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005721/0.1518, allocations: 0.9265 MB / 317.5 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001018/0.1528, allocations: 1.066 MB / 318.6 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002737/0.1556, allocations: 4.69 MB / 323.3 MB, free: 2.863 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1556, allocations: 3.984 kB / 323.3 MB, free: 2.859 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1556, allocations: 3.938 kB / 323.3 MB, free: 2.855 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.69e-05/0.1556, allocations: 5.406 kB / 323.3 MB, free: 2.852 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.003229/0.1588, allocations: 2.918 MB / 326.2 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.1589, allocations: 14.98 kB / 326.3 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002724/0.1592, allocations: 329.7 kB / 326.6 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000461/0.1596, allocations: 321.8 kB / 326.9 MB, free: 460 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/0.1612, allocations: 1.479 MB / 328.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.986e-05/0.1613, allocations: 162.4 kB / 328.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002407/0.1616, allocations: 213.3 kB / 328.7 MB, free: 15.31 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003454/0.165, allocations: 3.351 MB / 332.1 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.044e-05/0.1651, allocations: 3 kB / 332.1 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001514/0.1652, allocations: 91.98 kB / 332.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.7e-05/0.1653, allocations: 112.4 kB / 332.3 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002806/0.1681, allocations: 2.723 MB / 335 MB, free: 9.898 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007997/0.1761, allocations: 7.981 MB / 343 MB, free: 1.758 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002107/0.1782, allocations: 1.923 MB / 344.9 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001192/0.1794, allocations: 1.238 MB / 346.2 MB, free: 14.63 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000172/0.1796, allocations: 49.28 kB / 346.2 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.1796, allocations: 43.88 kB / 346.2 MB, free: 14.53 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 2.715e-06/0.1796, allocations: 0 / 346.2 MB, free: 14.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=132): time 0.006441/0.186, allocations: 5.275 MB / 351.5 MB, free: 9.223 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.1861, allocations: 64.72 kB / 351.6 MB, free: 9.148 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/0.1874, allocations: 1.502 MB / 353.1 MB, free: 7.629 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.862e-05/0.1875, allocations: 45.7 kB / 353.1 MB, free: 7.578 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004358/0.1879, allocations: 0.9588 MB / 354.1 MB, free: 6.609 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/0.1882, allocations: 471.9 kB / 354.5 MB, free: 6.145 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/0.1884, allocations: 218.9 kB / 354.8 MB, free: 5.922 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.914e-05/0.1885, allocations: 361.9 kB / 355.1 MB, free: 5.562 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006561/0.1891, allocations: 0.6896 MB / 355.8 MB, free: 4.875 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007541/0.1899, allocations: 0.8725 MB / 356.7 MB, free: 3.949 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00169/0.1916, allocations: 1.613 MB / 358.3 MB, free: 2.285 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1916, allocations: 0 / 358.3 MB, free: 2.285 MB / 314.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002211/0.1938, allocations: 2.295 MB / 360.6 MB, free: 15.97 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1938, allocations: 4 kB / 360.6 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.1938, allocations: 4 kB / 360.6 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/0.1952, allocations: 0.8189 MB / 361.4 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004047/0.1956, allocations: 203.7 kB / 361.6 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007755/0.2033, allocations: 10.98 MB / 372.6 MB, free: 3.488 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004413/0.2038, allocations: 52.03 kB / 372.6 MB, free: 3.438 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.762e-05/0.2038, allocations: 40 kB / 372.7 MB, free: 3.398 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 6 (diode2.idealDiode[3].off,diode2.idealDiode[2].off,diode2.idealDiode[1].off,diode1.idealDiode[3].off,diode1.idealDiode[2].off,diode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 100 * Array equations: 0 * 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 {(2,29,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.0008644/0.2047, allocations: 0.8213 MB / 373.5 MB, free: 2.566 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/0.2048, allocations: 171.1 kB / 373.7 MB, free: 2.398 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002279/0.2071, allocations: 2.253 MB / 375.9 MB, free: 128 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.2071, allocations: 16 kB / 375.9 MB, free: 112 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.2071, allocations: 8 kB / 375.9 MB, free: 104 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.2071, allocations: 3.984 kB / 376 MB, free: 100 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004754/0.2119, allocations: 4.426 MB / 380.4 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.2119, allocations: 0 / 380.4 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003403/0.2122, allocations: 163.9 kB / 380.5 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001252/0.2135, allocations: 0.808 MB / 381.3 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.949e-05/0.2135, allocations: 31.98 kB / 381.4 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007704/0.2213, allocations: 10.86 MB / 392.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2213, allocations: 0 / 392.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003372/0.2246, allocations: 3.22 MB / 395.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005063/0.2251, allocations: 346.9 kB / 395.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.2252, allocations: 28 kB / 395.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004031/0.2257, allocations: 67.94 kB / 395.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001925/0.2258, allocations: 117.1 kB / 396 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.003e-05/0.2259, allocations: 35.94 kB / 396 MB, free: 11.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009965/0.2269, allocations: 1.06 MB / 397.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.2269, allocations: 4 kB / 397.1 MB, free: 10.33 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001274/0.2282, allocations: 0.5194 MB / 397.6 MB, free: 9.812 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * Array equations: 0 * 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 {(2,29,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.003623/0.2318, allocations: 3.87 MB / 401.5 MB, free: 5.891 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002186/0.234, allocations: 2.347 MB / 403.8 MB, free: 3.488 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.234, allocations: 8 kB / 403.9 MB, free: 3.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001377/0.2354, allocations: 1.585 MB / 405.4 MB, free: 1.848 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.2365, allocations: 0.5002 MB / 405.9 MB, free: 1.344 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01982/0.2563, allocations: 17.68 MB / 423.6 MB, free: 15.32 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001195/0.2575, allocations: 1.462 MB / 425.1 MB, free: 13.82 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006313/0.2582, allocations: 321.4 kB / 425.4 MB, free: 13.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006806/0.2588, allocations: 0.7776 MB / 426.2 MB, free: 12.72 MB / 394.7 MB Notification: Performance of SimCode: time 1.383e-06/0.2588, allocations: 0 / 426.2 MB, free: 12.72 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1886/0.4474, allocations: 53.17 MB / 479.3 MB, free: 142 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.229/9.676, allocations: 10.98 kB / 479.4 MB, free: 141.9 MB / 426.7 MB " [Timeout remaining time 650] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.438996840268373] Failed to read output from testmodel.py, exit status != 0: ['time', 'cDC1.v', 'cDC2.v', 'transformer1.l2sigma.inductor[1].i', 'transformer1.l2sigma.inductor[3].i'] 9.790439170785248 9.799230637 9.642335008 Calling exit ...