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.001398/0.001398, allocations: 78.64 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001406/0.001406, allocations: 149.7 kB / 23.94 MB, free: 4.176 MB / 14.72 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 1.431/1.431, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] 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.613e-06/1.613e-06, allocations: 0 / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.582e-05, allocations: 2.281 kB / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.008313/0.008338, allocations: 7.258 MB / 326.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005173/0.01351, allocations: 2.538 MB / 328.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006548/0.01417, allocations: 49.97 kB / 328.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.01577, allocations: 0.5977 MB / 329.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001678/0.01745, allocations: 0.6906 MB / 330.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006679/0.01812, allocations: 291.6 kB / 330.4 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002582/0.0207, allocations: 2.104 MB / 332.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.02195, allocations: 0.7948 MB / 333.3 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002064/0.02401, allocations: 1.32 MB / 334.6 MB, free: 9.707 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/0.02545, allocations: 0.9074 MB / 335.5 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003195/0.02577, allocations: 226.6 kB / 335.7 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006835/0.02645, allocations: 319.9 kB / 336 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007185/0.02717, allocations: 0.6572 MB / 336.7 MB, free: 8.621 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009069/0.02808, allocations: 0.7143 MB / 337.4 MB, free: 8.211 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003273/0.03135, allocations: 3.028 MB / 340.4 MB, free: 5.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.03136, allocations: 7.938 kB / 340.4 MB, free: 5.973 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.03136, allocations: 1.156 kB / 340.4 MB, free: 5.973 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.563e-05/0.03139, allocations: 0 / 340.4 MB, free: 5.973 MB / 302.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.004282/0.03567, allocations: 2.077 MB / 342.5 MB, free: 3.977 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.03572, allocations: 8.922 kB / 342.5 MB, free: 3.969 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006542/0.03637, allocations: 227.7 kB / 342.7 MB, free: 3.746 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002047/0.03842, allocations: 1.069 MB / 343.8 MB, free: 2.641 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.713e-05/0.03852, allocations: 119.4 kB / 343.9 MB, free: 2.523 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002649/0.03878, allocations: 160.3 kB / 344.1 MB, free: 2.367 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003431/0.04221, allocations: 2.056 MB / 346.1 MB, free: 248 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.367e-05/0.04227, allocations: 15.88 kB / 346.1 MB, free: 232 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001664/0.04243, allocations: 68 kB / 346.2 MB, free: 164 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.6e-05/0.04253, allocations: 74.92 kB / 346.3 MB, free: 88 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002751/0.04528, allocations: 1.581 MB / 347.9 MB, free: 14.5 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009947/0.05523, allocations: 5.44 MB / 353.3 MB, free: 8.863 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.05669, allocations: 0.7283 MB / 354 MB, free: 8.125 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/0.05775, allocations: 0.549 MB / 354.6 MB, free: 7.574 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001909/0.05794, allocations: 36.62 kB / 354.6 MB, free: 7.535 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.864e-05/0.05799, allocations: 43.69 kB / 354.7 MB, free: 7.484 MB / 318.1 MB Notification: Performance of pre-optimization done (n=65): time 2.575e-06/0.05799, allocations: 0 / 354.7 MB, free: 7.484 MB / 318.1 MB Notification: Performance of matching and sorting (n=85): time 0.01489/0.07288, allocations: 5.455 MB / 360.1 MB, free: 1.992 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.07294, allocations: 64.41 kB / 360.2 MB, free: 1.914 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/0.0746, allocations: 0.9918 MB / 361.2 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.316e-05/0.07468, allocations: 37.7 kB / 361.2 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006438/0.07532, allocations: 0.808 MB / 362 MB, free: 40 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002961/0.07562, allocations: 309.4 kB / 362.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003503/0.07597, allocations: 210.8 kB / 362.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.07615, allocations: 357.9 kB / 362.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008809/0.07703, allocations: 0.5374 MB / 363.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/0.07826, allocations: 0.8876 MB / 364.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00219/0.08045, allocations: 1.524 MB / 365.8 MB, free: 11.92 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.08045, allocations: 4 kB / 365.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003665/0.08412, allocations: 2.028 MB / 367.9 MB, free: 9.855 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/0.08415, allocations: 11.12 kB / 367.9 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.08417, allocations: 12 kB / 367.9 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001541/0.08571, allocations: 0.5475 MB / 368.4 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008876/0.0866, allocations: 243.6 kB / 368.7 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009376/0.09597, allocations: 8.117 MB / 376.8 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009764/0.09695, allocations: 71.92 kB / 376.8 MB, free: 452 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.74e-05/0.09705, allocations: 44 kB / 376.9 MB, free: 408 kB / 334.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.001029/0.09808, allocations: 0.5209 MB / 377.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002288/0.09831, allocations: 115.2 kB / 377.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003298/0.1016, allocations: 1.746 MB / 379.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.1016, allocations: 8 kB / 379.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.1016, allocations: 12 kB / 379.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.1016, allocations: 7.922 kB / 379.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006259/0.1079, allocations: 3.324 MB / 382.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.1079, allocations: 4 kB / 382.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005788/0.1085, allocations: 128.1 kB / 382.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00167/0.1101, allocations: 0.5925 MB / 383.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.038e-05/0.1102, allocations: 27.92 kB / 383.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008917/0.1191, allocations: 7.261 MB / 390.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1191, allocations: 4 kB / 390.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004135/0.1233, allocations: 2.456 MB / 393.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006005/0.1239, allocations: 215.3 kB / 393.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/0.124, allocations: 27.98 kB / 393.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006553/0.1247, allocations: 59.88 kB / 393.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/0.1249, allocations: 68.52 kB / 393.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-05/0.125, allocations: 27.98 kB / 393.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001055/0.126, allocations: 0.6643 MB / 394.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.126, allocations: 0 / 394.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001466/0.1275, allocations: 368 kB / 394.5 MB, free: 14.3 MB / 366.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.0003835/0.1279, allocations: 178.9 kB / 394.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00364/0.1315, allocations: 1.941 MB / 396.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.1315, allocations: 0 / 396.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002296/0.1338, allocations: 1.196 MB / 397.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/0.1355, allocations: 302.9 kB / 398.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006184/0.1417, allocations: 3.154 MB / 401.3 MB, free: 7.375 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/0.1429, allocations: 0.8704 MB / 402.1 MB, free: 6.469 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0008326/0.1438, allocations: 245.9 kB / 402.4 MB, free: 6.227 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000242/0.144, allocations: 76.48 kB / 402.5 MB, free: 6.152 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.144, allocations: 0 / 402.5 MB, free: 6.152 MB / 366.1 MB Notification: Performance of Templates: time 0.03713/0.1811, allocations: 20.45 MB / 422.9 MB, free: 1.992 MB / 382.1 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: 5.000500235706568] 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.18998445942997932 0.20529388799999995 0.17068852099999995 Calling exit ...