Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.0008517/0.0008517, 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.001235/0.001235, 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.9139/0.9139, allocations: 173.3 MB / 200.4 MB, free: 9.441 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.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 318.4 MB, free: 6.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.372e-05/1.524e-05, allocations: 2.281 kB / 318.4 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.004965/0.00498, allocations: 6.12 MB / 324.6 MB, free: 76 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003277/0.008257, allocations: 2.177 MB / 326.7 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000569/0.008826, allocations: 63.56 kB / 326.8 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008193/0.009645, allocations: 452.9 kB / 327.2 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001187/0.01083, allocations: 0.7257 MB / 328 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.01121, allocations: 267.7 kB / 328.2 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002128/0.01333, allocations: 2.932 MB / 331.2 MB, free: 9.445 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/0.01474, allocations: 1.336 MB / 332.5 MB, free: 8.043 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002864/0.0176, allocations: 1.951 MB / 334.4 MB, free: 6.102 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001771/0.01937, allocations: 1.395 MB / 335.8 MB, free: 4.703 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004224/0.0198, allocations: 352 kB / 336.2 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000563/0.02036, allocations: 439.8 kB / 336.6 MB, free: 3.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005335/0.02089, allocations: 0.9232 MB / 337.5 MB, free: 3.004 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009439/0.02184, allocations: 1.064 MB / 338.6 MB, free: 1.938 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003132/0.02497, allocations: 4.694 MB / 343.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.02497, allocations: 0 / 343.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.02497, allocations: 0 / 343.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000106/0.02508, allocations: 0 / 343.3 MB, free: 13.23 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.00518/0.03026, allocations: 2.935 MB / 346.2 MB, free: 10.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.03031, allocations: 16.92 kB / 346.3 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000328/0.03064, allocations: 328.9 kB / 346.6 MB, free: 9.898 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005486/0.03119, allocations: 319.1 kB / 346.9 MB, free: 9.586 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002002/0.03319, allocations: 1.595 MB / 348.5 MB, free: 7.945 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.0333, allocations: 168.5 kB / 348.6 MB, free: 7.777 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002321/0.03353, allocations: 219.9 kB / 348.9 MB, free: 7.562 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004736/0.03827, allocations: 3.354 MB / 352.2 MB, free: 4.078 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.381e-05/0.03831, allocations: 0 / 352.2 MB, free: 4.078 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002079/0.03852, allocations: 88 kB / 352.3 MB, free: 3.992 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000127/0.03865, allocations: 116.4 kB / 352.4 MB, free: 3.875 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003824/0.04247, allocations: 2.727 MB / 355.1 MB, free: 1.133 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01029/0.05276, allocations: 7.968 MB / 363.1 MB, free: 8.988 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/0.05484, allocations: 1.928 MB / 365 MB, free: 7.086 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/0.05612, allocations: 1.23 MB / 366.3 MB, free: 5.855 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001843/0.0563, allocations: 49.22 kB / 366.3 MB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.05634, allocations: 51.88 kB / 366.4 MB, free: 5.746 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 4.088e-06/0.05635, allocations: 3.938 kB / 366.4 MB, free: 5.742 MB / 330.7 MB Notification: Performance of matching and sorting (n=132): time 0.007157/0.06351, allocations: 5.302 MB / 371.7 MB, free: 412 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.06355, allocations: 68.72 kB / 371.7 MB, free: 332 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/0.06508, allocations: 1.494 MB / 373.2 MB, free: 14.81 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.713e-05/0.06515, allocations: 45.7 kB / 373.3 MB, free: 14.76 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004758/0.06562, allocations: 0.9627 MB / 374.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002414/0.06586, allocations: 464 kB / 374.7 MB, free: 13.33 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000499/0.06636, allocations: 218.9 kB / 374.9 MB, free: 13.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.996e-05/0.06646, allocations: 353.9 kB / 375.3 MB, free: 12.76 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008065/0.06727, allocations: 0.6935 MB / 375.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008314/0.0681, allocations: 0.859 MB / 376.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/0.06959, allocations: 1.608 MB / 378.4 MB, free: 9.504 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.0696, allocations: 0 / 378.4 MB, free: 9.504 MB / 346.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002535/0.07213, allocations: 2.303 MB / 380.7 MB, free: 7.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.07216, allocations: 8 kB / 380.7 MB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.07217, allocations: 7.984 kB / 380.7 MB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001486/0.07366, allocations: 0.8111 MB / 381.5 MB, free: 6.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000452/0.07411, allocations: 211.7 kB / 381.7 MB, free: 6.133 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008496/0.0826, allocations: 10.98 MB / 392.7 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007612/0.08337, allocations: 47.97 kB / 392.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.754e-05/0.08342, allocations: 39.98 kB / 392.8 MB, free: 10.62 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.001134/0.08456, allocations: 0.8174 MB / 393.6 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002346/0.08479, allocations: 167 kB / 393.8 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002411/0.0872, allocations: 2.257 MB / 396 MB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.08721, allocations: 15.98 kB / 396.1 MB, free: 7.328 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.08722, allocations: 8 kB / 396.1 MB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.08722, allocations: 3.984 kB / 396.1 MB, free: 7.316 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00522/0.09244, allocations: 4.422 MB / 400.5 MB, free: 2.801 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/0.09245, allocations: 4.469 kB / 400.5 MB, free: 2.797 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003588/0.09281, allocations: 159.8 kB / 400.7 MB, free: 2.641 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001317/0.09413, allocations: 0.8072 MB / 401.5 MB, free: 1.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-05/0.09419, allocations: 36.03 kB / 401.5 MB, free: 1.785 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00798/0.1022, allocations: 10.85 MB / 412.3 MB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1022, allocations: 4.062 kB / 412.4 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003463/0.1056, allocations: 3.216 MB / 415.6 MB, free: 3.223 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006636/0.1063, allocations: 347.1 kB / 415.9 MB, free: 2.883 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.1064, allocations: 28 kB / 415.9 MB, free: 2.855 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004161/0.1068, allocations: 67.94 kB / 416 MB, free: 2.789 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002258/0.1071, allocations: 121 kB / 416.1 MB, free: 2.668 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.333e-05/0.1071, allocations: 36 kB / 416.2 MB, free: 2.633 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001053/0.1082, allocations: 1.06 MB / 417.2 MB, free: 1.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1082, allocations: 0 / 417.2 MB, free: 1.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001438/0.1096, allocations: 0.5117 MB / 417.7 MB, free: 1.059 MB / 378.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.003979/0.1136, allocations: 3.872 MB / 421.6 MB, free: 13.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002537/0.1161, allocations: 2.342 MB / 423.9 MB, free: 10.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.1161, allocations: 0 / 423.9 MB, free: 10.75 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001717/0.1178, allocations: 1.598 MB / 425.5 MB, free: 9.098 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/0.1194, allocations: 0.5116 MB / 426 MB, free: 8.594 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02065/0.14, allocations: 17.64 MB / 443.7 MB, free: 6.637 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/0.1412, allocations: 1.458 MB / 445.2 MB, free: 5.133 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006943/0.1419, allocations: 313.5 kB / 445.5 MB, free: 4.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007083/0.1426, allocations: 0.7776 MB / 446.2 MB, free: 4.043 MB / 410.7 MB Notification: Performance of SimCode: time 1.653e-06/0.1426, allocations: 3.938 kB / 446.2 MB, free: 4.039 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2117/0.3543, allocations: 53.11 MB / 499.3 MB, free: 78.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.171/9.526, allocations: 11.86 kB / 499.4 MB, free: 78.57 MB / 410.7 MB " [Timeout remaining time 650] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.405795226804912] 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.644001139327884 9.651804481 9.625422302 Calling exit ...