Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001961/0.001961, allocations: 116.7 kB / 20.43 MB, free: 1.457 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.002428/0.002428, allocations: 213.6 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 230.5 MB / 257.4 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 63.91 kB / 377.8 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.307, allocations: 53.4 MB / 431.2 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01108/0.3181, allocations: 8.296 MB / 439.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007259/0.3253, allocations: 2.755 MB / 442.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.3266, allocations: 51.69 kB / 442.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002094/0.3287, allocations: 0.6442 MB / 442.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002144/0.3309, allocations: 0.6717 MB / 443.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007571/0.3316, allocations: 295.5 kB / 443.9 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002993/0.3346, allocations: 2.046 MB / 445.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/0.336, allocations: 0.8315 MB / 446.8 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001648/0.3376, allocations: 0.9189 MB / 447.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001894/0.3395, allocations: 1.094 MB / 448.8 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004881/0.34, allocations: 232 kB / 449 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000861/0.3409, allocations: 323.8 kB / 449.3 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000779/0.3416, allocations: 0.6388 MB / 450 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001467/0.3431, allocations: 1.031 MB / 451 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004199/0.3473, allocations: 3.009 MB / 454 MB, free: 15.72 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3473, allocations: 4 kB / 454 MB, free: 15.72 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3473, allocations: 4 kB / 454 MB, free: 15.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.843e-05/0.3474, allocations: 0 / 454 MB, free: 15.71 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.00494/0.3523, allocations: 2.103 MB / 456.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.3524, allocations: 12.03 kB / 456.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003361/0.3527, allocations: 224.1 kB / 456.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006761/0.3534, allocations: 235.6 kB / 456.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002629/0.356, allocations: 1.066 MB / 457.6 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/0.3562, allocations: 119.1 kB / 457.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000295/0.3565, allocations: 160 kB / 457.9 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00345/0.3599, allocations: 1.955 MB / 459.9 MB, free: 9.723 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.297e-05/0.36, allocations: 3.953 kB / 459.9 MB, free: 9.719 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001684/0.3601, allocations: 64 kB / 459.9 MB, free: 9.656 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.826e-05/0.3602, allocations: 82.84 kB / 460 MB, free: 9.574 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002808/0.363, allocations: 1.585 MB / 461.6 MB, free: 7.984 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01127/0.3743, allocations: 6.172 MB / 467.8 MB, free: 1.602 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.3758, allocations: 0.7396 MB / 468.5 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/0.3769, allocations: 0.5382 MB / 469.1 MB, free: 320 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002149/0.3771, allocations: 44.61 kB / 469.1 MB, free: 272 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.3771, allocations: 39.22 kB / 469.1 MB, free: 224 kB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 3.366e-06/0.3771, allocations: 0 / 469.1 MB, free: 224 kB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01399/0.3911, allocations: 5.485 MB / 474.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.152e-05/0.3912, allocations: 60.41 kB / 474.7 MB, free: 10.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001957/0.3932, allocations: 1.152 MB / 475.8 MB, free: 9.461 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001302/0.3933, allocations: 45.64 kB / 475.9 MB, free: 9.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008099/0.3941, allocations: 0.7964 MB / 476.7 MB, free: 8.605 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004051/0.3945, allocations: 321.3 kB / 477 MB, free: 8.289 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003689/0.3949, allocations: 206.8 kB / 477.2 MB, free: 8.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.3951, allocations: 353.9 kB / 477.5 MB, free: 7.727 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009052/0.396, allocations: 0.5413 MB / 478.1 MB, free: 7.188 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.3972, allocations: 0.8834 MB / 479 MB, free: 6.152 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002176/0.3993, allocations: 1.52 MB / 480.5 MB, free: 4.488 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.848e-05/0.3994, allocations: 8 kB / 480.5 MB, free: 4.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003877/0.4032, allocations: 2.04 MB / 482.5 MB, free: 2.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.65e-05/0.4033, allocations: 11.94 kB / 482.5 MB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-05/0.4033, allocations: 12 kB / 482.5 MB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00159/0.4049, allocations: 0.5633 MB / 483.1 MB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009459/0.4058, allocations: 235.6 kB / 483.3 MB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009934/0.4158, allocations: 8.242 MB / 491.6 MB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.417, allocations: 67.89 kB / 491.7 MB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.4171, allocations: 51.98 kB / 491.7 MB, free: 8.762 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.001026/0.4182, allocations: 0.5208 MB / 492.2 MB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003411/0.4185, allocations: 131.2 kB / 492.4 MB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003399/0.4219, allocations: 1.755 MB / 494.1 MB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.4219, allocations: 8 kB / 494.1 MB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/0.4219, allocations: 4 kB / 494.1 MB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.4219, allocations: 3.984 kB / 494.1 MB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007255/0.4292, allocations: 3.706 MB / 497.8 MB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.301e-06/0.4292, allocations: 3.938 kB / 497.8 MB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000561/0.4298, allocations: 135.8 kB / 498 MB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001587/0.4313, allocations: 0.585 MB / 498.5 MB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.948e-05/0.4314, allocations: 23.98 kB / 498.6 MB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009149/0.4406, allocations: 7.395 MB / 0.4941 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.4406, allocations: 7.984 kB / 0.4941 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004269/0.4449, allocations: 2.477 MB / 0.4965 GB, free: 7.492 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000815/0.4457, allocations: 243.1 kB / 0.4968 GB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002033/0.4459, allocations: 27.92 kB / 0.4968 GB, free: 7.227 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006621/0.4465, allocations: 60.19 kB / 0.4969 GB, free: 7.168 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/0.4467, allocations: 64.53 kB / 0.4969 GB, free: 7.105 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.336e-05/0.4468, allocations: 28.08 kB / 0.4969 GB, free: 7.078 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001354/0.4482, allocations: 0.7934 MB / 0.4977 GB, free: 6.277 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4482, allocations: 0 / 0.4977 GB, free: 6.277 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001547/0.4497, allocations: 383.9 kB / 0.4981 GB, free: 5.902 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.00476/0.4545, allocations: 3.092 MB / 0.5011 GB, free: 2.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003721/0.4582, allocations: 1.929 MB / 0.503 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.4582, allocations: 0 / 0.503 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002208/0.4604, allocations: 1.205 MB / 0.5042 GB, free: 15.52 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001898/0.4623, allocations: 378.4 kB / 0.5045 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02373/0.486, allocations: 13.68 MB / 0.5179 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001403/0.4874, allocations: 1.456 MB / 0.5193 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008732/0.4883, allocations: 271 kB / 0.5196 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008322/0.4891, allocations: 0.5657 MB / 0.5201 GB, free: 14.61 MB / 446.1 MB Notification: Performance of SimCode: time 1.403e-06/0.4891, allocations: 0 / 0.5201 GB, free: 14.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3102/0.7994, allocations: 36.3 MB / 0.5556 GB, free: 90.94 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.08/19.88, allocations: 4 kB / 0.5556 GB, free: 90.94 MB / 446.1 MB " [Timeout remaining time 640] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.644434932000877] 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'] 20.00988195300306 20.026844402 19.675941876 Calling exit ...