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.001663/0.001663, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001439/0.001439, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.452/1.452, 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.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.001948/0.001948, allocations: 72.75 kB / 378.6 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2683, allocations: 53.37 MB / 431.9 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.0111/0.2794, allocations: 8.297 MB / 440.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006294/0.2857, allocations: 2.761 MB / 443 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008682/0.2866, allocations: 51.69 kB / 443 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001718/0.2883, allocations: 0.6369 MB / 443.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001751/0.29, allocations: 0.6718 MB / 444.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006723/0.2907, allocations: 295.5 kB / 444.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002482/0.2932, allocations: 2.049 MB / 446.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.2944, allocations: 0.8315 MB / 447.5 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00133/0.2957, allocations: 0.915 MB / 448.4 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/0.2973, allocations: 1.098 MB / 449.5 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003341/0.2976, allocations: 228 kB / 449.8 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006194/0.2983, allocations: 323.7 kB / 450.1 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006937/0.2989, allocations: 0.6466 MB / 450.7 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001151/0.3001, allocations: 1.027 MB / 451.7 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003505/0.3036, allocations: 3.013 MB / 454.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.3036, allocations: 0 / 454.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3036, allocations: 0 / 454.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.593e-05/0.3037, allocations: 4 kB / 454.8 MB, free: 15.93 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004275/0.3079, allocations: 2.099 MB / 456.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.308, allocations: 12.03 kB / 456.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002971/0.3083, allocations: 224.1 kB / 457.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006165/0.3089, allocations: 227.6 kB / 457.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001996/0.3109, allocations: 1.078 MB / 458.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.336e-05/0.311, allocations: 119.1 kB / 458.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002555/0.3112, allocations: 159.9 kB / 458.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003272/0.3145, allocations: 1.955 MB / 460.6 MB, free: 9.941 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.755e-05/0.3146, allocations: 11.88 kB / 460.6 MB, free: 9.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001426/0.3147, allocations: 68 kB / 460.7 MB, free: 9.863 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.727e-05/0.3148, allocations: 74.92 kB / 460.8 MB, free: 9.789 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002851/0.3177, allocations: 1.581 MB / 462.3 MB, free: 8.203 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01035/0.328, allocations: 6.176 MB / 468.5 MB, free: 1.816 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.3294, allocations: 0.7321 MB / 469.3 MB, free: 1.074 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/0.3304, allocations: 0.5382 MB / 469.8 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001945/0.3306, allocations: 40.61 kB / 469.8 MB, free: 500 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.3307, allocations: 39.22 kB / 469.9 MB, free: 452 kB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.424e-06/0.3307, allocations: 384 / 469.9 MB, free: 452 kB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01385/0.3445, allocations: 5.485 MB / 475.4 MB, free: 10.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.3446, allocations: 60.41 kB / 475.4 MB, free: 10.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00195/0.3465, allocations: 1.153 MB / 476.6 MB, free: 9.676 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001359/0.3467, allocations: 41.7 kB / 476.6 MB, free: 9.629 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007337/0.3474, allocations: 0.7925 MB / 477.4 MB, free: 8.828 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003481/0.3478, allocations: 321.3 kB / 477.7 MB, free: 8.512 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003688/0.3481, allocations: 202.9 kB / 477.9 MB, free: 8.305 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.3483, allocations: 353.9 kB / 478.3 MB, free: 7.953 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008959/0.3492, allocations: 0.5452 MB / 478.8 MB, free: 7.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.3504, allocations: 0.8874 MB / 479.7 MB, free: 6.371 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002117/0.3526, allocations: 1.516 MB / 481.2 MB, free: 4.711 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.3526, allocations: 4 kB / 481.2 MB, free: 4.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003906/0.3565, allocations: 2.048 MB / 483.3 MB, free: 2.633 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.3565, allocations: 11.94 kB / 483.3 MB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/0.3565, allocations: 12 kB / 483.3 MB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001657/0.3582, allocations: 0.5475 MB / 483.8 MB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.3593, allocations: 239.6 kB / 484.1 MB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009874/0.3691, allocations: 8.254 MB / 492.3 MB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.3703, allocations: 71.88 kB / 492.4 MB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.3704, allocations: 48 kB / 492.4 MB, free: 8.984 MB / 398.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.001037/0.3715, allocations: 0.521 MB / 493 MB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003076/0.3718, allocations: 135.1 kB / 493.1 MB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003327/0.3751, allocations: 1.751 MB / 494.8 MB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.3751, allocations: 8 kB / 494.8 MB, free: 6.535 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/0.3751, allocations: 4 kB / 494.8 MB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.3751, allocations: 7.969 kB / 494.9 MB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007195/0.3823, allocations: 3.702 MB / 498.6 MB, free: 2.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.3823, allocations: 0 / 498.6 MB, free: 2.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005723/0.3829, allocations: 135.8 kB / 498.7 MB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0017/0.3846, allocations: 0.5914 MB / 499.3 MB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.517e-05/0.3847, allocations: 23.98 kB / 499.3 MB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009487/0.3942, allocations: 7.393 MB / 0.4948 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.3942, allocations: 7.938 kB / 0.4948 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004433/0.3986, allocations: 2.469 MB / 0.4972 GB, free: 7.719 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008222/0.3995, allocations: 251.1 kB / 0.4975 GB, free: 7.473 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002354/0.3997, allocations: 28.17 kB / 0.4975 GB, free: 7.445 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007125/0.4004, allocations: 55.94 kB / 0.4976 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002203/0.4006, allocations: 68.52 kB / 0.4976 GB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.283e-05/0.4007, allocations: 24 kB / 0.4976 GB, free: 7.301 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001289/0.402, allocations: 0.7973 MB / 0.4984 GB, free: 6.496 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.402, allocations: 3.938 kB / 0.4984 GB, free: 6.492 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001429/0.4034, allocations: 375.9 kB / 0.4988 GB, free: 6.125 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.004827/0.4082, allocations: 3.089 MB / 0.5018 GB, free: 2.977 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003797/0.412, allocations: 1.926 MB / 0.5037 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.412, allocations: 0 / 0.5037 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002304/0.4143, allocations: 1.2 MB / 0.5049 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001937/0.4163, allocations: 374.9 kB / 0.5052 GB, free: 15.39 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02413/0.4404, allocations: 13.69 MB / 0.5186 GB, free: 1.168 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001659/0.4421, allocations: 1.468 MB / 0.52 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001115/0.4432, allocations: 263 kB / 0.5203 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009361/0.4441, allocations: 0.5696 MB / 0.5208 GB, free: 14.84 MB / 446.1 MB Notification: Performance of SimCode: time 1.543e-06/0.4441, allocations: 3.938 kB / 0.5208 GB, free: 14.83 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3103/0.7545, allocations: 36.24 MB / 0.5562 GB, free: 91.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.51/18.26, allocations: 14.7 kB / 0.5562 GB, free: 91.35 MB / 446.1 MB " [Timeout remaining time 642] (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: 20.879761077929288] 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'] 18.382550693582743 18.399198376 18.092127956 Calling exit ...