Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.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.001566/0.001566, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.001732/0.001732, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.456/1.456, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.InductionMachines.IMC_DCBraking,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking",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.001967/0.001967, allocations: 75.83 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1096, allocations: 53.32 MB / 427 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.2226/0.3322, allocations: 8.247 MB / 435.3 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004433/0.3366, allocations: 2.753 MB / 438 MB, free: 5.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008613/0.3375, allocations: 50.28 kB / 438.1 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001599/0.3391, allocations: 0.647 MB / 438.7 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001627/0.3407, allocations: 0.6674 MB / 439.4 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006298/0.3413, allocations: 285.6 kB / 439.7 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002318/0.3437, allocations: 2.049 MB / 441.7 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/0.3449, allocations: 1.029 MB / 442.7 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001483/0.3464, allocations: 0.9132 MB / 443.7 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001669/0.3481, allocations: 1.096 MB / 444.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003984/0.3485, allocations: 227.2 kB / 445 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007511/0.3493, allocations: 323.4 kB / 445.3 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006079/0.3499, allocations: 0.6335 MB / 445.9 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009746/0.3508, allocations: 1.029 MB / 446.9 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003512/0.3543, allocations: 3.011 MB / 450 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/0.3544, allocations: 5.672 kB / 450 MB, free: 0.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3544, allocations: 4 kB / 450 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.348e-05/0.3544, allocations: 0 / 450 MB, free: 0.5781 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004777/0.3592, allocations: 2.181 MB / 452.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.3593, allocations: 10.52 kB / 452.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003523/0.3596, allocations: 226.1 kB / 452.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007019/0.3603, allocations: 230.6 kB / 452.6 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002087/0.3624, allocations: 1.147 MB / 453.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.41e-05/0.3625, allocations: 114.5 kB / 453.9 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002615/0.3628, allocations: 154.6 kB / 454 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003628/0.3664, allocations: 1.957 MB / 456 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.987e-05/0.3664, allocations: 14.66 kB / 456 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000161/0.3666, allocations: 61.22 kB / 456 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001016/0.3667, allocations: 76.08 kB / 456.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002731/0.3694, allocations: 1.585 MB / 457.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01059/0.38, allocations: 6.285 MB / 464 MB, free: 7.594 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.3815, allocations: 0.8019 MB / 464.8 MB, free: 7.129 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009993/0.3825, allocations: 0.5363 MB / 465.3 MB, free: 6.867 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002329/0.3827, allocations: 116.6 kB / 465.4 MB, free: 6.762 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.3827, allocations: 46.53 kB / 465.5 MB, free: 6.711 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.475e-06/0.3827, allocations: 0 / 465.5 MB, free: 6.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01411/0.3969, allocations: 5.851 MB / 471.3 MB, free: 3.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.3969, allocations: 60.66 kB / 471.4 MB, free: 3.348 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001879/0.3988, allocations: 1.147 MB / 472.5 MB, free: 2.711 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.785e-05/0.3989, allocations: 45.61 kB / 472.6 MB, free: 2.664 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006504/0.3995, allocations: 0.7964 MB / 473.4 MB, free: 1.957 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002981/0.3998, allocations: 319 kB / 473.7 MB, free: 1.652 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003476/0.4002, allocations: 210.8 kB / 473.9 MB, free: 1.438 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.4004, allocations: 353.9 kB / 474.3 MB, free: 1.086 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000814/0.4012, allocations: 0.5491 MB / 474.8 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/0.4023, allocations: 0.8757 MB / 475.7 MB, free: 15.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002056/0.4043, allocations: 1.521 MB / 477.2 MB, free: 13.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.4043, allocations: 4 kB / 477.2 MB, free: 13.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003745/0.4081, allocations: 2.044 MB / 479.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/0.4081, allocations: 12 kB / 479.3 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/0.4081, allocations: 8 kB / 479.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001541/0.4097, allocations: 0.5555 MB / 479.8 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008474/0.4105, allocations: 243.6 kB / 480.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009262/0.4198, allocations: 8.658 MB / 488.7 MB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.4211, allocations: 79.81 kB / 488.8 MB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.4212, allocations: 48 kB / 488.8 MB, free: 1.605 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (123): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (4,8,87.5%), (1,3,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001036/0.4222, allocations: 0.5193 MB / 489.4 MB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003088/0.4225, allocations: 135.1 kB / 489.5 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003265/0.4258, allocations: 1.755 MB / 491.2 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.4258, allocations: 8 kB / 491.3 MB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/0.4258, allocations: 4.109 kB / 491.3 MB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.4258, allocations: 11.86 kB / 491.3 MB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006786/0.4326, allocations: 3.726 MB / 495 MB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.4326, allocations: 0 / 495 MB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005482/0.4332, allocations: 127.8 kB / 495.1 MB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001623/0.4348, allocations: 0.5938 MB / 495.7 MB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-05/0.4349, allocations: 23.98 kB / 495.7 MB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009086/0.444, allocations: 7.714 MB / 0.4917 GB, free: 2.461 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.571e-05/0.444, allocations: 3.938 kB / 0.4917 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004236/0.4482, allocations: 2.481 MB / 0.4941 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008516/0.4491, allocations: 316.2 kB / 0.4944 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001698/0.4492, allocations: 20.09 kB / 0.4944 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006705/0.4499, allocations: 67.86 kB / 0.4945 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/0.4501, allocations: 60.56 kB / 0.4945 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-05/0.4502, allocations: 24 kB / 0.4945 GB, free: 15.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001239/0.4514, allocations: 0.7972 MB / 0.4953 GB, free: 14.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4514, allocations: 0 / 0.4953 GB, free: 14.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001538/0.4529, allocations: 387.8 kB / 0.4957 GB, free: 14.25 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (imc.inertiaRotor.w,imc.idq_sr[1],imc.idq_sr[2],imc.idq_rr[1],imc.idq_rr[2],loadInertia.phi) * 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 (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(6,14,69.4%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004592/0.4575, allocations: 3.082 MB / 0.4987 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003587/0.4611, allocations: 2.095 MB / 0.5007 GB, free: 8.922 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.4611, allocations: 0 / 0.5007 GB, free: 8.922 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002156/0.4633, allocations: 1.272 MB / 0.502 GB, free: 7.594 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/0.4652, allocations: 378.5 kB / 0.5023 GB, free: 7.246 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02178/0.487, allocations: 13.66 MB / 0.5157 GB, free: 9.035 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/0.4883, allocations: 1.46 MB / 0.5171 GB, free: 7.547 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008564/0.4891, allocations: 259.1 kB / 0.5174 GB, free: 7.289 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008068/0.4899, allocations: 0.5696 MB / 0.5179 GB, free: 6.719 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4899, allocations: 0 / 0.5179 GB, free: 6.719 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09181/0.5817, allocations: 35.4 MB / 0.5525 GB, free: 3.723 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.65/17.23, allocations: 2.594 kB / 0.5525 GB, free: 3.723 MB / 462.1 MB " [Timeout remaining time 643] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking_res.csv --start-time 0 --stop-time 25 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.845792388077825] Failed to read output from testmodel.py, exit status != 0: ['time', 'imc.idq_rr[1]', 'imc.idq_rr[2]', 'loadInertia.phi', 'loadInertia.w', 'imc.idq_sr[1]', 'imc.idq_sr[2]', 'imc.is[1]', 'imc.is[2]', 'tauElectrical', 'tauShaft', 'wMechanical'] 17.343452932778746 17.371541835 17.011759717 Calling exit ...