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.001659/0.001659, allocations: 106.5 kB / 21.22 MB, free: 0.5117 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.002104/0.002104, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.495/1.495, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.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.002162/0.002162, allocations: 64.77 kB / 378.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2824, allocations: 53.38 MB / 431.9 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01103/0.2934, allocations: 7.84 MB / 439.8 MB, free: 15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006376/0.2998, allocations: 2.745 MB / 442.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002065/0.3018, allocations: 91.38 kB / 442.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002177/0.304, allocations: 0.5948 MB / 443.2 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003308/0.3073, allocations: 0.7614 MB / 444 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.3088, allocations: 431.4 kB / 444.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005092/0.3139, allocations: 3.288 MB / 447.7 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004166/0.3181, allocations: 2.011 MB / 449.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004077/0.3221, allocations: 1.705 MB / 451.4 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004641/0.3268, allocations: 2.083 MB / 453.5 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008889/0.3277, allocations: 464 kB / 453.9 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001673/0.3293, allocations: 0.7221 MB / 454.6 MB, free: 44 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001474/0.3308, allocations: 1.262 MB / 455.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002993/0.3338, allocations: 1.968 MB / 457.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007499/0.3413, allocations: 6.124 MB / 464 MB, free: 6.652 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3413, allocations: 4 kB / 464 MB, free: 6.648 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.3413, allocations: 0 / 464 MB, free: 6.648 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001353/0.3415, allocations: 0 / 464 MB, free: 6.648 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.009275/0.3507, allocations: 3.813 MB / 467.8 MB, free: 2.781 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.3508, allocations: 8.031 kB / 467.8 MB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006684/0.3514, allocations: 433.8 kB / 468.3 MB, free: 2.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/0.3529, allocations: 450.5 kB / 468.7 MB, free: 1.898 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003955/0.3568, allocations: 2.119 MB / 470.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001982/0.357, allocations: 221.8 kB / 471 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004617/0.3575, allocations: 283.9 kB / 471.3 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007823/0.3653, allocations: 4.191 MB / 475.5 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.792e-05/0.3654, allocations: 0 / 475.5 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002877/0.3657, allocations: 124 kB / 475.6 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001768/0.3658, allocations: 137.9 kB / 475.7 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006335/0.3722, allocations: 3.49 MB / 479.2 MB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02027/0.3924, allocations: 10.67 MB / 489.9 MB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002599/0.395, allocations: 1.647 MB / 491.6 MB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002531/0.3976, allocations: 1.403 MB / 493 MB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002524/0.3978, allocations: 52.95 kB / 493 MB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.171e-05/0.3979, allocations: 47.56 kB / 493.1 MB, free: 9.219 MB / 398.1 MB Notification: Performance of pre-optimization done (n=128): time 3.377e-06/0.3979, allocations: 0 / 493.1 MB, free: 9.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.01082/0.4087, allocations: 5.136 MB / 498.2 MB, free: 4.047 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.56e-05/0.4088, allocations: 90.42 kB / 498.3 MB, free: 3.941 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003648/0.4124, allocations: 1.922 MB / 0.4885 GB, free: 2.016 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001718/0.4126, allocations: 45.7 kB / 0.4885 GB, free: 1.965 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001264/0.4139, allocations: 1.357 MB / 0.4899 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005183/0.4144, allocations: 487.9 kB / 0.4903 GB, free: 116 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005852/0.415, allocations: 279.4 kB / 0.4906 GB, free: 15.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.4151, allocations: 305.1 kB / 0.4909 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001487/0.4166, allocations: 0.8198 MB / 0.4917 GB, free: 14.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001738/0.4183, allocations: 1.182 MB / 0.4928 GB, free: 13.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003323/0.4216, allocations: 2.078 MB / 0.4949 GB, free: 11.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/0.4217, allocations: 4 kB / 0.4949 GB, free: 11.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004849/0.4265, allocations: 2.524 MB / 0.4973 GB, free: 8.625 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/0.4265, allocations: 15.12 kB / 0.4973 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.253e-05/0.4266, allocations: 8 kB / 0.4973 GB, free: 8.605 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002/0.4286, allocations: 475.1 kB / 0.4978 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/0.43, allocations: 339.5 kB / 0.4981 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006429/0.4364, allocations: 4.293 MB / 0.5023 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/0.4381, allocations: 75.94 kB / 0.5024 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002702/0.4383, allocations: 59.98 kB / 0.5024 GB, free: 3.273 MB / 414.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.002191/0.4405, allocations: 1.059 MB / 0.5035 GB, free: 2.203 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007444/0.4413, allocations: 198.7 kB / 0.5037 GB, free: 2.008 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004444/0.4457, allocations: 2.133 MB / 0.5058 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.69e-05/0.4458, allocations: 23.98 kB / 0.5058 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/0.4458, allocations: 4 kB / 0.5058 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.4458, allocations: 3.984 kB / 0.5058 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01131/0.4571, allocations: 5.146 MB / 0.5108 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.4571, allocations: 4 kB / 0.5108 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.4581, allocations: 231.8 kB / 0.511 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001898/0.46, allocations: 464.7 kB / 0.5115 GB, free: 9.906 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000128/0.4602, allocations: 39.98 kB / 0.5115 GB, free: 9.867 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00592/0.4661, allocations: 4.196 MB / 0.5156 GB, free: 5.562 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.4661, allocations: 8.016 kB / 0.5156 GB, free: 5.555 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005839/0.4719, allocations: 3.256 MB / 0.5188 GB, free: 2.258 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001232/0.4732, allocations: 390.7 kB / 0.5192 GB, free: 1.875 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005035/0.4737, allocations: 31.98 kB / 0.5192 GB, free: 1.844 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/0.475, allocations: 95.89 kB / 0.5193 GB, free: 1.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002748/0.4753, allocations: 104.8 kB / 0.5194 GB, free: 1.645 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/0.4754, allocations: 39.98 kB / 0.5194 GB, free: 1.605 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002732/0.4781, allocations: 1.346 MB / 0.5207 GB, free: 272 kB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4781, allocations: 0 / 0.5207 GB, free: 272 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.002297/0.4804, allocations: 0.5507 MB / 0.5213 GB, free: 15.71 MB / 446.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.006806/0.4872, allocations: 3.922 MB / 0.5251 GB, free: 11.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004207/0.4914, allocations: 2.136 MB / 0.5272 GB, free: 9.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.93e-05/0.4914, allocations: 3.938 kB / 0.5272 GB, free: 9.586 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002122/0.4936, allocations: 1.146 MB / 0.5283 GB, free: 8.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002974/0.4965, allocations: 0.5058 MB / 0.5288 GB, free: 7.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2799/0.7765, allocations: 20.62 MB / 0.549 GB, free: 96.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001687/0.7781, allocations: 2.427 MB / 0.5513 GB, free: 94.97 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001313/0.7795, allocations: 0.4893 MB / 0.5518 GB, free: 94.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001049/0.7805, allocations: 1.062 MB / 0.5528 GB, free: 94.08 MB / 446.1 MB Notification: Performance of SimCode: time 1.303e-06/0.7805, allocations: 0 / 0.5528 GB, free: 94.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09111/0.8716, allocations: 53.49 MB / 0.6051 GB, free: 41.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/14.71, allocations: 18.84 kB / 0.6051 GB, free: 41.6 MB / 446.1 MB " [Timeout remaining time 645] (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: 17.392544767353684] Failed to read output from testmodel.py, exit status != 0: ['time', 'transformer.l2sigma.inductor[1].i', 'transformer.l2sigma.inductor[3].i'] 14.823519797995687 14.837909268 14.493135123 Calling exit ...