Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008033/0.0008033, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004437/0.004437, allocations: 146.9 kB / 24.68 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8269/0.8269, allocations: 173.4 MB / 201.2 MB, free: 9.441 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="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",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="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",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 319.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/1.953e-05, allocations: 6.219 kB / 319.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.005559/0.005579, allocations: 7.265 MB / 327 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003167/0.008746, allocations: 2.536 MB / 329.5 MB, free: 12 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004538/0.0092, allocations: 55.69 kB / 329.6 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.01024, allocations: 0.5939 MB / 330.2 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008928/0.01113, allocations: 0.6985 MB / 330.9 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003539/0.01148, allocations: 291.5 kB / 331.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001294/0.01278, allocations: 2.107 MB / 333.2 MB, free: 8.238 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000681/0.01346, allocations: 0.8002 MB / 334 MB, free: 7.391 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008616/0.01432, allocations: 1.318 MB / 335.4 MB, free: 6.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007189/0.01504, allocations: 0.9 MB / 336.3 MB, free: 5.168 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001578/0.0152, allocations: 228 kB / 336.5 MB, free: 4.945 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003278/0.01553, allocations: 319.8 kB / 336.8 MB, free: 4.633 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003647/0.01589, allocations: 0.6583 MB / 337.5 MB, free: 3.973 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004284/0.01632, allocations: 0.7055 MB / 338.2 MB, free: 3.266 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001886/0.0182, allocations: 3.03 MB / 341.2 MB, free: 228 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.01821, allocations: 0 / 341.2 MB, free: 228 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.01821, allocations: 0 / 341.2 MB, free: 228 kB / 298.7 MB Notification: Performance of Transformations before backend: time 1.896e-05/0.01823, allocations: 3.938 kB / 341.2 MB, free: 224 kB / 298.7 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.002132/0.02036, allocations: 2.091 MB / 343.3 MB, free: 14.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.0204, allocations: 8.922 kB / 343.3 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003477/0.02075, allocations: 219.7 kB / 343.5 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.02187, allocations: 1.073 MB / 344.6 MB, free: 12.76 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.128e-05/0.02192, allocations: 107.4 kB / 344.7 MB, free: 12.65 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.02207, allocations: 156.3 kB / 344.8 MB, free: 12.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/0.02408, allocations: 2.064 MB / 346.9 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.575e-05/0.02412, allocations: 11.89 kB / 346.9 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.945e-05/0.02421, allocations: 56 kB / 347 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.765e-05/0.02427, allocations: 82.84 kB / 347 MB, free: 10.22 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001534/0.0258, allocations: 1.577 MB / 348.6 MB, free: 8.637 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005003/0.0308, allocations: 5.451 MB / 354.1 MB, free: 2.988 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008135/0.03162, allocations: 0.7318 MB / 354.8 MB, free: 2.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005589/0.03218, allocations: 0.5343 MB / 355.3 MB, free: 1.711 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001238/0.0323, allocations: 44.61 kB / 355.4 MB, free: 1.664 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.03232, allocations: 39.22 kB / 355.4 MB, free: 1.617 MB / 314.7 MB Notification: Performance of pre-optimization done (n=65): time 2.003e-06/0.03232, allocations: 0 / 355.4 MB, free: 1.617 MB / 314.7 MB Notification: Performance of matching and sorting (n=85): time 0.006984/0.03931, allocations: 5.463 MB / 360.9 MB, free: 12.12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.03934, allocations: 60.41 kB / 360.9 MB, free: 12.04 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008261/0.04017, allocations: 0.9879 MB / 361.9 MB, free: 11.03 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.278e-05/0.04021, allocations: 41.7 kB / 362 MB, free: 10.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000328/0.04054, allocations: 0.808 MB / 362.8 MB, free: 10.17 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.04069, allocations: 313.3 kB / 363.1 MB, free: 9.859 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001918/0.04088, allocations: 210.8 kB / 363.3 MB, free: 9.645 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.935e-05/0.04097, allocations: 353.9 kB / 363.6 MB, free: 9.293 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004896/0.04146, allocations: 0.5452 MB / 364.2 MB, free: 8.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006172/0.04208, allocations: 0.8837 MB / 365.1 MB, free: 7.715 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.04325, allocations: 1.527 MB / 366.6 MB, free: 6.043 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.04326, allocations: 4 kB / 366.6 MB, free: 6.039 MB / 330.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002053/0.04531, allocations: 2.016 MB / 368.6 MB, free: 3.992 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.04533, allocations: 12 kB / 368.6 MB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.04534, allocations: 12.34 kB / 368.6 MB, free: 3.969 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007648/0.04611, allocations: 0.5552 MB / 369.2 MB, free: 3.395 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004263/0.04653, allocations: 247.6 kB / 369.4 MB, free: 3.152 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004871/0.05141, allocations: 8.103 MB / 377.5 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004423/0.05185, allocations: 67.89 kB / 377.6 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.604e-05/0.0519, allocations: 55.98 kB / 377.7 MB, free: 10.52 MB / 346.7 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.0005796/0.05248, allocations: 0.5132 MB / 378.2 MB, free: 10 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.05261, allocations: 115.3 kB / 378.3 MB, free: 9.887 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001714/0.05432, allocations: 1.738 MB / 380 MB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.05433, allocations: 12 kB / 380 MB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.05433, allocations: 7.984 kB / 380 MB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.05434, allocations: 11.92 kB / 380.1 MB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003446/0.05779, allocations: 3.316 MB / 383.4 MB, free: 4.703 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.05779, allocations: 4 kB / 383.4 MB, free: 4.699 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002637/0.05806, allocations: 119.9 kB / 383.5 MB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008104/0.05887, allocations: 0.6044 MB / 384.1 MB, free: 3.965 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.284e-05/0.05891, allocations: 27.92 kB / 384.1 MB, free: 3.938 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004679/0.06359, allocations: 7.256 MB / 391.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.06359, allocations: 4 kB / 391.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002199/0.06579, allocations: 2.452 MB / 393.8 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003083/0.0661, allocations: 219.2 kB / 394.1 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.375e-05/0.06617, allocations: 20 kB / 394.1 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/0.06647, allocations: 63.88 kB / 394.1 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.06658, allocations: 76.44 kB / 394.2 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.618e-05/0.06661, allocations: 23.98 kB / 394.2 MB, free: 9.477 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005858/0.0672, allocations: 0.6604 MB / 394.9 MB, free: 8.805 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0672, allocations: 4 kB / 394.9 MB, free: 8.801 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000894/0.06809, allocations: 376.1 kB / 395.3 MB, free: 8.434 MB / 362.7 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.0004086/0.0685, allocations: 190.7 kB / 395.5 MB, free: 8.238 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001794/0.07029, allocations: 1.93 MB / 397.4 MB, free: 6.254 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.0703, allocations: 0 / 397.4 MB, free: 6.254 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.07133, allocations: 1.188 MB / 398.6 MB, free: 5.023 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007885/0.07212, allocations: 303.2 kB / 398.9 MB, free: 4.723 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002988/0.0751, allocations: 3.201 MB / 402.1 MB, free: 1.465 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006984/0.0758, allocations: 0.8626 MB / 402.9 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.07596, allocations: 80.48 kB / 403 MB, free: 500 kB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.07596, allocations: 0 / 403 MB, free: 500 kB / 362.7 MB Notification: Performance of Templates: time 0.1488/0.2248, allocations: 58.82 MB / 461.8 MB, free: 120.5 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.826762882061303] 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'] 0.23089494742453098 0.236525591 0.21704693200000003 Calling exit ...