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.001806/0.001806, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002378/0.002378, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.409/1.409, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.002699/0.002699, allocations: 47.92 kB / 377.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2626, allocations: 53.37 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.009605/0.2722, allocations: 7.297 MB / 438.4 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004877/0.2771, allocations: 2.586 MB / 441 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008514/0.2779, allocations: 47.69 kB / 441 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001655/0.2796, allocations: 0.5902 MB / 441.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00183/0.2814, allocations: 0.6718 MB / 442.3 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006465/0.282, allocations: 295.6 kB / 442.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002455/0.2845, allocations: 2.035 MB / 444.6 MB, free: 9.066 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/0.2857, allocations: 0.8002 MB / 445.4 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00131/0.287, allocations: 0.9189 MB / 446.3 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001506/0.2885, allocations: 1.012 MB / 447.3 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003619/0.2888, allocations: 228 kB / 447.6 MB, free: 6.059 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006474/0.2895, allocations: 315.8 kB / 447.9 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006683/0.2902, allocations: 0.6389 MB / 448.5 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.2912, allocations: 0.8363 MB / 449.3 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003294/0.2945, allocations: 3.028 MB / 452.4 MB, free: 1.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2945, allocations: 0 / 452.4 MB, free: 1.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2945, allocations: 0 / 452.4 MB, free: 1.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.184e-05/0.2945, allocations: 8 kB / 452.4 MB, free: 1.223 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.004289/0.2988, allocations: 2.099 MB / 454.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.2989, allocations: 16.02 kB / 454.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000296/0.2992, allocations: 224.1 kB / 454.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006268/0.2998, allocations: 227.7 kB / 454.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002161/0.302, allocations: 1.074 MB / 456 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.447e-05/0.3021, allocations: 115.1 kB / 456.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00023/0.3023, allocations: 159.9 kB / 456.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003136/0.3054, allocations: 2.055 MB / 458.3 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.71e-05/0.3055, allocations: 7.953 kB / 458.3 MB, free: 11.1 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001342/0.3056, allocations: 60 kB / 458.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.804e-05/0.3057, allocations: 82.91 kB / 458.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002517/0.3082, allocations: 1.581 MB / 460.1 MB, free: 9.375 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009369/0.3176, allocations: 5.688 MB / 465.8 MB, free: 3.477 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.3189, allocations: 0.7289 MB / 466.5 MB, free: 2.738 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00097/0.3199, allocations: 0.5441 MB / 467 MB, free: 2.191 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001851/0.3201, allocations: 40.62 kB / 467.1 MB, free: 2.148 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.3201, allocations: 39.22 kB / 467.1 MB, free: 2.102 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 4.429e-06/0.3201, allocations: 3.984 kB / 467.1 MB, free: 2.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.0131/0.3332, allocations: 5.481 MB / 472.6 MB, free: 12.58 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.3333, allocations: 60.41 kB / 472.6 MB, free: 12.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001644/0.3349, allocations: 1.176 MB / 473.8 MB, free: 11.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.254e-05/0.335, allocations: 37.7 kB / 473.9 MB, free: 11.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006094/0.3356, allocations: 0.8003 MB / 474.7 MB, free: 10.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002719/0.3359, allocations: 309.3 kB / 475 MB, free: 10.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003181/0.3362, allocations: 206.9 kB / 475.2 MB, free: 9.945 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3364, allocations: 353.9 kB / 475.5 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007845/0.3371, allocations: 0.5374 MB / 476 MB, free: 9.059 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.3382, allocations: 0.8835 MB / 476.9 MB, free: 8.023 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001993/0.3402, allocations: 1.524 MB / 478.5 MB, free: 6.355 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.3402, allocations: 4 kB / 478.5 MB, free: 6.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003603/0.3439, allocations: 2.048 MB / 480.5 MB, free: 4.273 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/0.3439, allocations: 15.97 kB / 480.5 MB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/0.3439, allocations: 12 kB / 480.5 MB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001489/0.3454, allocations: 0.5475 MB / 481.1 MB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008792/0.3463, allocations: 243.6 kB / 481.3 MB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009098/0.3554, allocations: 8.195 MB / 489.5 MB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.3565, allocations: 67.92 kB / 489.6 MB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.712e-05/0.3566, allocations: 48.11 kB / 489.6 MB, free: 10.68 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.000898/0.3575, allocations: 0.5287 MB / 490.2 MB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/0.3577, allocations: 131.2 kB / 490.3 MB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003014/0.3607, allocations: 1.759 MB / 492 MB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.3607, allocations: 8 kB / 492.1 MB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.3607, allocations: 4 kB / 492.1 MB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.3607, allocations: 8.078 kB / 492.1 MB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006264/0.367, allocations: 3.514 MB / 495.6 MB, free: 4.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.367, allocations: 0 / 495.6 MB, free: 4.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005305/0.3675, allocations: 128.1 kB / 495.7 MB, free: 4.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001567/0.3691, allocations: 0.5918 MB / 496.3 MB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.495e-05/0.3692, allocations: 23.98 kB / 496.3 MB, free: 3.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008409/0.3776, allocations: 7.334 MB / 0.4918 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.748e-06/0.3776, allocations: 8 kB / 0.4919 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003891/0.3815, allocations: 2.476 MB / 0.4943 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007332/0.3822, allocations: 243.1 kB / 0.4945 GB, free: 9.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.3824, allocations: 31.88 kB / 0.4945 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006385/0.383, allocations: 55.94 kB / 0.4946 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.3832, allocations: 68.52 kB / 0.4947 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.889e-05/0.3833, allocations: 23.98 kB / 0.4947 GB, free: 9.234 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001122/0.3844, allocations: 0.7895 MB / 0.4954 GB, free: 8.438 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3844, allocations: 0 / 0.4954 GB, free: 8.438 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001264/0.3857, allocations: 379.9 kB / 0.4958 GB, free: 8.066 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.004332/0.39, allocations: 3.108 MB / 0.4988 GB, free: 4.906 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003234/0.3932, allocations: 1.921 MB / 0.5007 GB, free: 2.926 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3932, allocations: 0.75 kB / 0.5007 GB, free: 2.926 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002026/0.3953, allocations: 1.2 MB / 0.5019 GB, free: 1.684 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/0.3969, allocations: 375.1 kB / 0.5023 GB, free: 1.324 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02042/0.4173, allocations: 13.69 MB / 0.5156 GB, free: 3.094 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/0.4184, allocations: 0.8786 MB / 0.5165 GB, free: 2.176 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008357/0.4192, allocations: 263 kB / 0.5167 GB, free: 1.914 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007691/0.42, allocations: 0.5657 MB / 0.5173 GB, free: 1.348 MB / 430.1 MB Notification: Performance of SimCode: time 9.62e-07/0.42, allocations: 0 / 0.5173 GB, free: 1.348 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2772/0.6972, allocations: 37.98 MB / 0.5544 GB, free: 93.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.31, allocations: 22.59 kB / 0.5544 GB, free: 93.3 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: 15.998795559164137] 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.448216554243118 13.456556481 13.159695626 Calling exit ...