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.TransformerTestbench.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.001803/0.001803, allocations: 118.2 kB / 18.45 MB, free: 4.613 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.002219/0.002219, allocations: 211.3 kB / 21.41 MB, free: 1.66 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.432/1.432, allocations: 227.7 MB / 251.9 MB, free: 16 kB / 190.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.TransformerTestbench,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",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.001939/0.001939, allocations: 75.81 kB / 365.2 MB, free: 220 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.109, allocations: 50.54 MB / 415.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009809/0.1189, allocations: 7.794 MB / 423.6 MB, free: 5.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005591/0.1245, allocations: 2.714 MB / 426.3 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001468/0.1261, allocations: 71.69 kB / 426.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001519/0.1276, allocations: 0.5625 MB / 426.9 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002341/0.13, allocations: 0.7302 MB / 427.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.131, allocations: 419.4 kB / 428 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003911/0.1349, allocations: 3.288 MB / 431.3 MB, free: 14 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00429/0.1393, allocations: 3.585 MB / 434.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003158/0.1424, allocations: 1.672 MB / 436.6 MB, free: 8.691 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003146/0.1456, allocations: 2.032 MB / 438.6 MB, free: 6.652 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008971/0.1465, allocations: 464 kB / 439.1 MB, free: 6.199 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00143/0.148, allocations: 0.6481 MB / 439.7 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001283/0.1492, allocations: 1.247 MB / 441 MB, free: 4.301 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002936/0.1522, allocations: 1.972 MB / 442.9 MB, free: 2.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2192/0.3714, allocations: 6.115 MB / 449.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.3715, allocations: 0 / 449.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3715, allocations: 0 / 449.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002321/0.3718, allocations: 3.531 kB / 449.1 MB, free: 15.72 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: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.009256/0.381, allocations: 3.886 MB / 452.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.3811, allocations: 11.03 kB / 453 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006648/0.3817, allocations: 430 kB / 453.4 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.3832, allocations: 446.8 kB / 453.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004217/0.3874, allocations: 2.188 MB / 456 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002091/0.3877, allocations: 220.8 kB / 456.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005499/0.3882, allocations: 286.7 kB / 456.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008194/0.3964, allocations: 4.193 MB / 460.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.712e-05/0.3965, allocations: 0 / 460.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002852/0.3968, allocations: 123 kB / 460.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001677/0.397, allocations: 140.4 kB / 460.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005963/0.403, allocations: 3.485 MB / 464.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0163/0.4193, allocations: 10.8 MB / 475.2 MB, free: 6.652 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002287/0.4216, allocations: 2.653 MB / 477.9 MB, free: 4.598 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002172/0.4238, allocations: 1.491 MB / 479.4 MB, free: 3.883 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002151/0.424, allocations: 122.6 kB / 479.5 MB, free: 3.777 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.4241, allocations: 61.73 kB / 479.6 MB, free: 3.719 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.357e-06/0.4241, allocations: 0 / 479.6 MB, free: 3.719 MB / 366.1 MB Notification: Performance of matching and sorting (n=133): time 0.007937/0.432, allocations: 5.207 MB / 484.8 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.4321, allocations: 93.92 kB / 484.9 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002508/0.4346, allocations: 1.92 MB / 486.8 MB, free: 15.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000137/0.4348, allocations: 48.58 kB / 486.8 MB, free: 15.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001067/0.4358, allocations: 1.365 MB / 488.2 MB, free: 14.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004068/0.4362, allocations: 475.4 kB / 488.6 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004183/0.4367, allocations: 279.7 kB / 488.9 MB, free: 13.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.4368, allocations: 305.1 kB / 489.2 MB, free: 13.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.4379, allocations: 0.8126 MB / 490 MB, free: 13.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/0.4393, allocations: 1.184 MB / 491.2 MB, free: 12.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002938/0.4423, allocations: 2.081 MB / 493.3 MB, free: 10.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.397e-06/0.4423, allocations: 4.625 kB / 493.3 MB, free: 10.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004509/0.4468, allocations: 2.536 MB / 495.8 MB, free: 7.648 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.4469, allocations: 11.98 kB / 495.8 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/0.4469, allocations: 12 kB / 495.9 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001928/0.4488, allocations: 478.4 kB / 496.3 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/0.4502, allocations: 328.9 kB / 496.6 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005982/0.4562, allocations: 4.398 MB / 0.4893 GB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001731/0.4579, allocations: 87.88 kB / 0.4894 GB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002504/0.4582, allocations: 63.2 kB / 0.4894 GB, free: 2.191 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002226/0.4604, allocations: 1.052 MB / 0.4905 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007318/0.4612, allocations: 198.8 kB / 0.4907 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003858/0.465, allocations: 2.147 MB / 0.4928 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.774e-05/0.4651, allocations: 19.56 kB / 0.4928 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.727e-05/0.4651, allocations: 6.406 kB / 0.4928 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.4651, allocations: 8.812 kB / 0.4928 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01044/0.4756, allocations: 5.167 MB / 0.4978 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/0.4756, allocations: 4 kB / 0.4978 GB, free: 9.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/0.4766, allocations: 226.4 kB / 0.4981 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00187/0.4785, allocations: 460.3 kB / 0.4985 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/0.4787, allocations: 35.03 kB / 0.4985 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005765/0.4844, allocations: 4.307 MB / 0.5027 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.4845, allocations: 4 kB / 0.5027 GB, free: 4.453 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005769/0.4902, allocations: 3.26 MB / 0.5059 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/0.4915, allocations: 474 kB / 0.5064 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000546/0.492, allocations: 28.06 kB / 0.5064 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/0.4934, allocations: 95.89 kB / 0.5065 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002531/0.4937, allocations: 101.9 kB / 0.5066 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/0.4938, allocations: 39.98 kB / 0.5066 GB, free: 444 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00221/0.496, allocations: 1.346 MB / 0.5079 GB, free: 15.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.496, allocations: 0 / 0.5079 GB, free: 15.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002019/0.4981, allocations: 0.5507 MB / 0.5085 GB, free: 14.54 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 99 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00582/0.5039, allocations: 3.936 MB / 0.5123 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003869/0.5078, allocations: 2.198 MB / 0.5145 GB, free: 8.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.5078, allocations: 3.938 kB / 0.5145 GB, free: 8.426 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00207/0.5099, allocations: 1.209 MB / 0.5157 GB, free: 7.219 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003124/0.513, allocations: 0.5112 MB / 0.5162 GB, free: 6.723 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03901/0.552, allocations: 20.6 MB / 0.5363 GB, free: 1.711 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003719/0.5558, allocations: 2.426 MB / 0.5386 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002169/0.558, allocations: 0.4901 MB / 0.5391 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00207/0.5601, allocations: 1.066 MB / 0.5402 GB, free: 13.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.914e-06/0.5601, allocations: 0 / 0.5402 GB, free: 13.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1094/0.6695, allocations: 51.98 MB / 0.5909 GB, free: 10.25 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/14.05, allocations: 16.3 kB / 0.5909 GB, free: 10.23 MB / 494.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_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_TransformerTestbench.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.555227381992154] Failed to read output from testmodel.py, exit status != 0: ['time', 'transformer.l2sigma.inductor[1].i', 'transformer.l2sigma.inductor[3].i'] 14.163711172062904 14.189930468 13.813852868 Calling exit ...