Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.001725/0.001725, allocations: 118.5 kB / 18.5 MB, free: 4.406 MB / 14.72 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.002052/0.002052, allocations: 207.3 kB / 21.45 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.49/1.49, allocations: 230.5 MB / 254.8 MB, free: 14.9 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 71.83 kB / 373.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1041, allocations: 53.32 MB / 427 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.2111/0.3152, allocations: 10.77 MB / 437.8 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006403/0.3216, allocations: 3.249 MB / 441.1 MB, free: 3.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00209/0.3237, allocations: 109.4 kB / 441.2 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001917/0.3256, allocations: 0.7457 MB / 441.9 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003442/0.329, allocations: 1.173 MB / 443.1 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.3301, allocations: 475.5 kB / 443.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005979/0.3361, allocations: 5.134 MB / 448.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00451/0.3406, allocations: 3.443 MB / 452.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005321/0.3459, allocations: 2.438 MB / 454.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005994/0.3519, allocations: 2.836 MB / 457.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002068/0.354, allocations: 0.6208 MB / 458 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003525/0.3575, allocations: 0.7087 MB / 458.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003709/0.3612, allocations: 1.646 MB / 460.4 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007455/0.3687, allocations: 2.763 MB / 463.1 MB, free: 9.059 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01334/0.382, allocations: 8.451 MB / 471.6 MB, free: 2.895 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.263e-05/0.382, allocations: 0 / 471.6 MB, free: 2.895 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.382, allocations: 1.125 kB / 471.6 MB, free: 2.895 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000298/0.3823, allocations: 0 / 471.6 MB, free: 2.895 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01656/0.3989, allocations: 5.238 MB / 476.8 MB, free: 14.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.3989, allocations: 12.03 kB / 476.8 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001607/0.4005, allocations: 0.5556 MB / 477.4 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002289/0.4028, allocations: 0.5993 MB / 478 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006366/0.4092, allocations: 2.886 MB / 480.9 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002394/0.4094, allocations: 295.8 kB / 481.2 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008756/0.4103, allocations: 384 kB / 481.5 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01217/0.4225, allocations: 5.797 MB / 487.3 MB, free: 4.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.456e-05/0.4225, allocations: 7.984 kB / 487.3 MB, free: 4.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004462/0.423, allocations: 164.9 kB / 487.5 MB, free: 4.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002305/0.4232, allocations: 207.9 kB / 487.7 MB, free: 3.883 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01038/0.4336, allocations: 5.024 MB / 492.7 MB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0327/0.4663, allocations: 16.23 MB / 0.497 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008008/0.4743, allocations: 6.602 MB / 0.5035 GB, free: 7.223 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004338/0.4786, allocations: 2.454 MB / 0.5059 GB, free: 4.773 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003585/0.479, allocations: 131.1 kB / 0.506 GB, free: 4.629 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.721e-05/0.4791, allocations: 72.53 kB / 0.5061 GB, free: 4.547 MB / 414.1 MB Notification: Performance of pre-optimization done (n=249): time 4.308e-06/0.4791, allocations: 4 kB / 0.5061 GB, free: 4.543 MB / 414.1 MB Notification: Performance of matching and sorting (n=256): time 0.02312/0.5022, allocations: 10.72 MB / 0.5166 GB, free: 9.574 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.703e-05/0.5023, allocations: 85.3 kB / 0.5166 GB, free: 9.477 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004485/0.5068, allocations: 2.64 MB / 0.5192 GB, free: 6.816 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004121/0.5072, allocations: 73.7 kB / 0.5193 GB, free: 6.738 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001459/0.5086, allocations: 1.671 MB / 0.5209 GB, free: 5.051 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001086/0.5097, allocations: 0.887 MB / 0.5218 GB, free: 4.156 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007543/0.5105, allocations: 412.7 kB / 0.5222 GB, free: 3.746 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.5106, allocations: 301.1 kB / 0.5225 GB, free: 3.449 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002331/0.513, allocations: 1.344 MB / 0.5238 GB, free: 2.102 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002522/0.5155, allocations: 1.654 MB / 0.5254 GB, free: 360 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00491/0.5204, allocations: 3.083 MB / 0.5284 GB, free: 13.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.5204, allocations: 0 / 0.5284 GB, free: 13.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.008157/0.5286, allocations: 4.435 MB / 0.5327 GB, free: 8.629 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.5286, allocations: 8 kB / 0.5327 GB, free: 8.621 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.5286, allocations: 4 kB / 0.5327 GB, free: 8.617 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005245/0.5339, allocations: 1.659 MB / 0.5344 GB, free: 6.926 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/0.5356, allocations: 379.5 kB / 0.5347 GB, free: 6.555 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02971/0.5653, allocations: 25.75 MB / 0.5599 GB, free: 11.42 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002567/0.5678, allocations: 99.88 kB / 0.56 GB, free: 11.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003591/0.5682, allocations: 72 kB / 0.56 GB, free: 11.25 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode4.idealDiode[3].off,diode4.idealDiode[2].off,diode4.idealDiode[1].off,diode3.idealDiode[3].off,diode3.idealDiode[2].off,diode3.idealDiode[1].off,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 (198): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,9,100.0%), (1,9,100.0%), (1,9,100.0%), (2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.002766/0.571, allocations: 1.411 MB / 0.5614 GB, free: 9.832 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008421/0.5718, allocations: 318 kB / 0.5617 GB, free: 9.52 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008106/0.5799, allocations: 4.329 MB / 0.5659 GB, free: 5.098 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-05/0.5799, allocations: 24 kB / 0.566 GB, free: 5.074 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.016e-05/0.58, allocations: 8 kB / 0.566 GB, free: 5.066 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.82e-05/0.58, allocations: 15.89 kB / 0.566 GB, free: 5.051 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.017/0.597, allocations: 8.753 MB / 0.5745 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.597, allocations: 64 / 0.5745 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/0.5982, allocations: 291.6 kB / 0.5748 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005163/0.6034, allocations: 1.624 MB / 0.5764 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000287/0.6037, allocations: 63.98 kB / 0.5765 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02869/0.6324, allocations: 25.5 MB / 0.6014 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.6324, allocations: 8.094 kB / 0.6014 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0103/0.6427, allocations: 6.073 MB / 0.6073 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002231/0.6449, allocations: 0.6865 MB / 0.608 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005123/0.6454, allocations: 59.92 kB / 0.608 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/0.6468, allocations: 115.9 kB / 0.6081 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005508/0.6473, allocations: 217.6 kB / 0.6083 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/0.6475, allocations: 64 kB / 0.6084 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00303/0.6505, allocations: 1.856 MB / 0.6102 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.6505, allocations: 0 / 0.6102 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003879/0.6544, allocations: 0.9531 MB / 0.6111 GB, free: 5.129 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,29,100.0%), (1,9,100.0%), (1,9,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.2466/0.901, allocations: 6.765 MB / 0.6178 GB, free: 161.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0084/0.9094, allocations: 4.757 MB / 0.6224 GB, free: 159.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/0.9094, allocations: 1.156 kB / 0.6224 GB, free: 159.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005446/0.9149, allocations: 3.28 MB / 0.6256 GB, free: 158.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005872/0.9208, allocations: 0.9563 MB / 0.6265 GB, free: 158.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06289/0.9836, allocations: 31.95 MB / 0.6577 GB, free: 144.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002871/0.9865, allocations: 3.18 MB / 0.6608 GB, free: 141.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002025/0.9885, allocations: 0.5808 MB / 0.6614 GB, free: 141.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001949/0.9905, allocations: 1.469 MB / 0.6628 GB, free: 139.9 MB / 0.5137 GB Notification: Performance of SimCode: time 1.062e-06/0.9905, allocations: 4 kB / 0.6629 GB, free: 139.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1575/1.148, allocations: 91.79 MB / 0.7525 GB, free: 49.22 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.58/19.73, allocations: 17.78 kB / 0.7525 GB, free: 49.2 MB / 0.5137 GB " [Timeout remaining time 640] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_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_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.299462443217635] 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', 'transformer2.l2sigma.inductor[1].i', 'transformer2.l2sigma.inductor[2].i', 'transformer2.l2sigma.inductor[3].i'] 19.871252208016813 19.884844698 19.499679752 Calling exit ...