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.001412/0.001412, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001537/0.001537, allocations: 207.3 kB / 23.72 MB, free: 4.391 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.471/1.471, allocations: 230.5 MB / 257.4 MB, free: 7.785 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: 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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 63.89 kB / 378.2 MB, free: 2.371 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2347, allocations: 53.41 MB / 431.6 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.00976/0.2444, allocations: 7.29 MB / 438.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004484/0.2489, allocations: 2.576 MB / 441.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005889/0.2495, allocations: 51.69 kB / 441.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001425/0.2509, allocations: 0.5938 MB / 442.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001362/0.2523, allocations: 0.6757 MB / 442.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000558/0.2528, allocations: 287.6 kB / 443.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002086/0.2549, allocations: 2.035 MB / 445.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001129/0.256, allocations: 0.8041 MB / 446 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.2571, allocations: 0.9227 MB / 446.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00132/0.2585, allocations: 1.012 MB / 447.9 MB, free: 6.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003088/0.2588, allocations: 228 kB / 448.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005611/0.2593, allocations: 311.8 kB / 448.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006623/0.26, allocations: 0.6428 MB / 449.1 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009209/0.2609, allocations: 0.8363 MB / 449.9 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003097/0.264, allocations: 3.024 MB / 452.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.264, allocations: 0 / 452.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.264, allocations: 0 / 452.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.35e-05/0.264, allocations: 0 / 452.9 MB, free: 1.121 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.004036/0.2681, allocations: 2.113 MB / 455 MB, free: 14.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.2681, allocations: 11.98 kB / 455 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006283/0.2687, allocations: 231.6 kB / 455.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00219/0.2709, allocations: 1.078 MB / 456.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.67e-05/0.271, allocations: 107.4 kB / 456.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002598/0.2713, allocations: 167.9 kB / 456.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003368/0.2747, allocations: 2.055 MB / 458.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.917e-05/0.2747, allocations: 7.953 kB / 458.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001505/0.2749, allocations: 60 kB / 458.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.442e-05/0.275, allocations: 78.91 kB / 458.8 MB, free: 11.08 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002732/0.2777, allocations: 1.581 MB / 460.4 MB, free: 9.492 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009681/0.2874, allocations: 5.452 MB / 465.8 MB, free: 3.844 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.2888, allocations: 0.729 MB / 466.6 MB, free: 3.109 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/0.2899, allocations: 0.5382 MB / 467.1 MB, free: 2.566 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001854/0.29, allocations: 40.62 kB / 467.2 MB, free: 2.523 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.2901, allocations: 43.16 kB / 467.2 MB, free: 2.473 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.505e-06/0.2901, allocations: 4 kB / 467.2 MB, free: 2.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01401/0.3041, allocations: 5.47 MB / 472.7 MB, free: 12.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.3041, allocations: 64.34 kB / 472.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/0.3057, allocations: 0.996 MB / 473.7 MB, free: 11.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.766e-05/0.3057, allocations: 41.7 kB / 473.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006333/0.3064, allocations: 0.8041 MB / 474.6 MB, free: 11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002806/0.3066, allocations: 321.3 kB / 474.9 MB, free: 10.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003343/0.307, allocations: 202.9 kB / 475.1 MB, free: 10.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.3072, allocations: 353.9 kB / 475.4 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000836/0.308, allocations: 0.5413 MB / 476 MB, free: 9.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/0.3091, allocations: 0.8796 MB / 476.9 MB, free: 8.559 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002041/0.3112, allocations: 1.527 MB / 478.4 MB, free: 6.887 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/0.3112, allocations: 8 kB / 478.4 MB, free: 6.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003599/0.3148, allocations: 2.028 MB / 480.4 MB, free: 4.824 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.3148, allocations: 8 kB / 480.4 MB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.3148, allocations: 12 kB / 480.4 MB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001483/0.3163, allocations: 0.5555 MB / 481 MB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008519/0.3172, allocations: 247.6 kB / 481.2 MB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008981/0.3262, allocations: 8.096 MB / 489.3 MB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008859/0.327, allocations: 79.86 kB / 489.4 MB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.654e-05/0.3271, allocations: 44.09 kB / 489.4 MB, free: 11.37 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.0008594/0.328, allocations: 0.5209 MB / 490 MB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/0.3282, allocations: 119.2 kB / 490.1 MB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00325/0.3315, allocations: 1.746 MB / 491.8 MB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.976e-06/0.3315, allocations: 12 kB / 491.8 MB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.3315, allocations: 4 kB / 491.8 MB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.3315, allocations: 3.984 kB / 491.9 MB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006376/0.3379, allocations: 3.332 MB / 495.2 MB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.3379, allocations: 0 / 495.2 MB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005621/0.3384, allocations: 123.9 kB / 495.3 MB, free: 5.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001639/0.3401, allocations: 0.5966 MB / 495.9 MB, free: 4.797 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.259e-05/0.3401, allocations: 20 kB / 495.9 MB, free: 4.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008805/0.3489, allocations: 7.272 MB / 0.4914 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.349, allocations: 7.938 kB / 0.4914 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004052/0.353, allocations: 2.452 MB / 0.4938 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006886/0.3537, allocations: 231.2 kB / 0.494 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/0.3538, allocations: 23.94 kB / 0.494 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000659/0.3545, allocations: 51.94 kB / 0.4941 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/0.3547, allocations: 76.5 kB / 0.4942 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.397e-05/0.3547, allocations: 27.98 kB / 0.4942 GB, free: 10.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001027/0.3558, allocations: 0.6645 MB / 0.4948 GB, free: 9.609 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3558, allocations: 0 / 0.4948 GB, free: 9.609 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001321/0.3571, allocations: 376 kB / 0.4952 GB, free: 9.242 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.0003422/0.3574, allocations: 178 kB / 0.4954 GB, free: 9.062 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003418/0.3609, allocations: 1.925 MB / 0.4973 GB, free: 7.082 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.3609, allocations: 4.75 kB / 0.4973 GB, free: 7.078 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002178/0.363, allocations: 1.192 MB / 0.4984 GB, free: 5.848 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/0.3645, allocations: 317.8 kB / 0.4987 GB, free: 5.539 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005478/0.37, allocations: 3.319 MB / 0.502 GB, free: 2.168 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/0.3711, allocations: 0.8782 MB / 0.5028 GB, free: 1.254 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007736/0.3719, allocations: 245.8 kB / 0.5031 GB, free: 1.012 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/0.3721, allocations: 75.42 kB / 0.5031 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of SimCode: time 9.11e-07/0.3721, allocations: 0 / 0.5031 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of Templates: time 0.03919/0.4113, allocations: 22.59 MB / 0.5252 GB, free: 10.63 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.516874693334103] 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.42058803886175156 0.605748318 0.33884322899999997 Calling exit ...