Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002225/0.002225, allocations: 209.2 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 7.789 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,fileNamePrefix="Modelica_4_1_0_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_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 51.92 kB / 377.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2556, allocations: 53.36 MB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01009/0.2657, allocations: 7.286 MB / 438.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005527/0.2713, allocations: 2.586 MB / 441 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001622/0.2729, allocations: 47.69 kB / 441 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002267/0.2751, allocations: 0.5941 MB / 441.6 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002226/0.2774, allocations: 0.668 MB / 442.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000927/0.2783, allocations: 291.6 kB / 442.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002663/0.281, allocations: 2.05 MB / 444.6 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001245/0.2822, allocations: 0.8276 MB / 445.4 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00135/0.2836, allocations: 0.9227 MB / 446.4 MB, free: 7.277 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001521/0.2851, allocations: 1.098 MB / 447.5 MB, free: 6.176 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000345/0.2854, allocations: 228 kB / 447.7 MB, free: 5.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006349/0.2861, allocations: 311.8 kB / 448 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006594/0.2867, allocations: 0.6389 MB / 448.6 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009299/0.2876, allocations: 0.8402 MB / 449.5 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003097/0.2907, allocations: 3.024 MB / 452.5 MB, free: 1.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2907, allocations: 0 / 452.5 MB, free: 1.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.2907, allocations: 0 / 452.5 MB, free: 1.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.896e-05/0.2908, allocations: 4 kB / 452.5 MB, free: 1.125 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.004/0.2948, allocations: 2.103 MB / 454.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.2948, allocations: 12.03 kB / 454.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002978/0.2951, allocations: 232 kB / 454.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005852/0.2957, allocations: 231.6 kB / 455.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002125/0.2978, allocations: 1.066 MB / 456.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.2979, allocations: 115.1 kB / 456.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002812/0.2982, allocations: 159.9 kB / 456.4 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003221/0.3015, allocations: 2.059 MB / 458.5 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.257e-05/0.3015, allocations: 11.94 kB / 458.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001389/0.3016, allocations: 60 kB / 458.5 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.413e-05/0.3017, allocations: 74.92 kB / 458.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002625/0.3044, allocations: 1.585 MB / 460.2 MB, free: 9.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009666/0.314, allocations: 5.688 MB / 465.9 MB, free: 3.371 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.3154, allocations: 0.7367 MB / 466.6 MB, free: 2.625 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009802/0.3164, allocations: 0.5368 MB / 467.1 MB, free: 2.086 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001934/0.3166, allocations: 44.62 kB / 467.2 MB, free: 2.039 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.3166, allocations: 43.22 kB / 467.2 MB, free: 1.988 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.665e-06/0.3166, allocations: 0 / 467.2 MB, free: 1.988 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01341/0.33, allocations: 5.485 MB / 472.7 MB, free: 12.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.3301, allocations: 60.41 kB / 472.8 MB, free: 12.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/0.3319, allocations: 1.176 MB / 473.9 MB, free: 11.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.332, allocations: 33.7 kB / 474 MB, free: 11.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006525/0.3327, allocations: 0.7925 MB / 474.8 MB, free: 10.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002943/0.333, allocations: 317.3 kB / 475.1 MB, free: 10.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003371/0.3333, allocations: 206.9 kB / 475.3 MB, free: 9.836 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.3335, allocations: 345.9 kB / 475.6 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008483/0.3343, allocations: 0.5413 MB / 476.2 MB, free: 8.953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.3354, allocations: 0.8796 MB / 477 MB, free: 7.922 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002012/0.3374, allocations: 1.531 MB / 478.6 MB, free: 6.246 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.3374, allocations: 4 kB / 478.6 MB, free: 6.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003624/0.3411, allocations: 2.048 MB / 480.6 MB, free: 4.168 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.3411, allocations: 11.94 kB / 480.6 MB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.3411, allocations: 12 kB / 480.7 MB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001462/0.3426, allocations: 0.5477 MB / 481.2 MB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008437/0.3434, allocations: 239.7 kB / 481.4 MB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009131/0.3525, allocations: 8.202 MB / 489.6 MB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.3535, allocations: 68.05 kB / 489.7 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/0.3537, allocations: 55.92 kB / 489.8 MB, free: 10.57 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.0008777/0.3545, allocations: 0.517 MB / 490.3 MB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002381/0.3548, allocations: 135.1 kB / 490.4 MB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003135/0.3579, allocations: 1.751 MB / 492.2 MB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.3579, allocations: 8 kB / 492.2 MB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.3579, allocations: 4 kB / 492.2 MB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.3579, allocations: 7.984 kB / 492.2 MB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006481/0.3644, allocations: 3.519 MB / 495.7 MB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.3644, allocations: 7.969 kB / 495.7 MB, free: 4.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005375/0.365, allocations: 123.9 kB / 495.8 MB, free: 4.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00158/0.3665, allocations: 0.5847 MB / 496.4 MB, free: 3.785 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.964e-05/0.3666, allocations: 23.98 kB / 496.4 MB, free: 3.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008604/0.3752, allocations: 7.345 MB / 0.492 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.3752, allocations: 4 kB / 0.492 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003981/0.3792, allocations: 2.481 MB / 0.4944 GB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007224/0.3799, allocations: 239.2 kB / 0.4946 GB, free: 9.305 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/0.3801, allocations: 31.92 kB / 0.4947 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006287/0.3807, allocations: 55.94 kB / 0.4947 GB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.3809, allocations: 68.47 kB / 0.4948 GB, free: 9.152 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.566e-05/0.3809, allocations: 27.98 kB / 0.4948 GB, free: 9.125 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001178/0.3821, allocations: 0.7895 MB / 0.4956 GB, free: 8.328 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3821, allocations: 0 / 0.4956 GB, free: 8.328 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001291/0.3834, allocations: 379.9 kB / 0.4959 GB, free: 7.957 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.004361/0.3878, allocations: 3.097 MB / 0.499 GB, free: 4.801 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003344/0.3911, allocations: 1.926 MB / 0.5008 GB, free: 2.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.3911, allocations: 4 kB / 0.5008 GB, free: 2.816 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002073/0.3932, allocations: 1.196 MB / 0.502 GB, free: 1.578 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/0.3949, allocations: 374.4 kB / 0.5024 GB, free: 1.219 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02113/0.416, allocations: 13.68 MB / 0.5157 GB, free: 3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/0.4171, allocations: 0.8825 MB / 0.5166 GB, free: 2.078 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008615/0.418, allocations: 267 kB / 0.5168 GB, free: 1.812 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008086/0.4188, allocations: 0.5657 MB / 0.5174 GB, free: 1.246 MB / 430.1 MB Notification: Performance of SimCode: time 1.252e-06/0.4188, allocations: 0 / 0.5174 GB, free: 1.246 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3016/0.7204, allocations: 38.41 MB / 0.5549 GB, free: 92.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.34, allocations: 15.7 kB / 0.5549 GB, free: 92.84 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.024623143021017] 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'] 13.475725399999646 13.493152146 13.199087234 Calling exit ...