Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.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.0007739/0.0007739, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001178/0.001952, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0008813/0.0008813, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001219/0.0021, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.041/1.041, allocations: 177.5 MB / 190 MB, free: 4.773 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09773/1.139, allocations: 53.87 MB / 243.9 MB, free: 14.84 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2782/0.2782, allocations: 34.88 MB / 279.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02705/0.3052, allocations: 13.24 MB / 292.8 MB, free: 6.375 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=16100,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") translateModel(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=16100,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 294.2 MB, free: 5.004 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.16e-05/1.329e-05, allocations: 3.078 kB / 294.2 MB, free: 5 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.006924/0.006938, allocations: 8.174 MB / 302.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003439/0.01038, allocations: 2.786 MB / 305.1 MB, free: 9.996 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003588/0.01074, allocations: 51.69 kB / 305.2 MB, free: 9.945 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008861/0.01162, allocations: 0.6212 MB / 305.8 MB, free: 9.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007664/0.01239, allocations: 0.7023 MB / 306.5 MB, free: 8.613 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.01269, allocations: 291.5 kB / 306.8 MB, free: 8.328 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001373/0.01407, allocations: 2.135 MB / 308.9 MB, free: 6.188 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000692/0.01476, allocations: 0.8237 MB / 309.7 MB, free: 5.297 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001201/0.01596, allocations: 1.523 MB / 311.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000788/0.01675, allocations: 0.9547 MB / 312.2 MB, free: 2.812 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00019/0.01694, allocations: 224 kB / 312.4 MB, free: 2.594 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003882/0.01732, allocations: 307.8 kB / 312.7 MB, free: 2.293 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003833/0.01771, allocations: 0.5299 MB / 313.3 MB, free: 1.762 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004628/0.01817, allocations: 0.5888 MB / 313.9 MB, free: 1.168 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.01938, allocations: 1.526 MB / 315.4 MB, free: 15.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.01939, allocations: 0 / 315.4 MB, free: 15.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01939, allocations: 0 / 315.4 MB, free: 15.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.555e-05/0.0194, allocations: 0 / 315.4 MB, free: 15.64 MB / 314.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.002093/0.0215, allocations: 2.332 MB / 317.7 MB, free: 13.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.02153, allocations: 16.03 kB / 317.7 MB, free: 13.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004613/0.02199, allocations: 365.7 kB / 318.1 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008375/0.02283, allocations: 0.7744 MB / 318.9 MB, free: 12.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.823e-05/0.02288, allocations: 119.4 kB / 319 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.02303, allocations: 152.3 kB / 319.1 MB, free: 11.81 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.02411, allocations: 1.185 MB / 320.3 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.385e-05/0.02414, allocations: 7.953 kB / 320.3 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-05/0.02422, allocations: 67.98 kB / 320.4 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-05/0.02428, allocations: 78.91 kB / 320.5 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005656/0.02485, allocations: 444.2 kB / 320.9 MB, free: 9.949 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004969/0.02982, allocations: 4.183 MB / 325.1 MB, free: 5.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006187/0.03044, allocations: 426.1 kB / 325.5 MB, free: 5.137 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003151/0.03075, allocations: 243.3 kB / 325.7 MB, free: 4.895 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.03086, allocations: 36.62 kB / 325.8 MB, free: 4.859 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.03089, allocations: 43.22 kB / 325.8 MB, free: 4.809 MB / 314.7 MB Notification: Performance of pre-optimization done (n=65): time 2.024e-06/0.03089, allocations: 0 / 325.8 MB, free: 4.809 MB / 314.7 MB Notification: Performance of matching and sorting (n=87): time 0.004539/0.03543, allocations: 2.578 MB / 328.4 MB, free: 2.176 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008223/0.03625, allocations: 1.454 MB / 329.9 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006351/0.03689, allocations: 0.7638 MB / 330.6 MB, free: 15.81 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.025e-05/0.03694, allocations: 41.7 kB / 330.7 MB, free: 15.76 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003084/0.03724, allocations: 0.6848 MB / 331.3 MB, free: 15.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/0.03745, allocations: 321.2 kB / 331.7 MB, free: 14.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/0.03764, allocations: 202.8 kB / 331.9 MB, free: 14.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.167e-05/0.03772, allocations: 353.9 kB / 332.2 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.03797, allocations: 169.4 kB / 332.4 MB, free: 14.03 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000436/0.03841, allocations: 0.4972 MB / 332.9 MB, free: 13.39 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000735/0.03914, allocations: 0.8337 MB / 333.7 MB, free: 12.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.03915, allocations: 4 kB / 333.7 MB, free: 12.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001464/0.04061, allocations: 1.004 MB / 334.7 MB, free: 11.36 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.04063, allocations: 8.25 kB / 334.7 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.04064, allocations: 16 kB / 334.7 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008077/0.04145, allocations: 423.7 kB / 335.1 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004676/0.04192, allocations: 255.6 kB / 335.4 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004442/0.04636, allocations: 7.211 MB / 342.6 MB, free: 2.965 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006249/0.04698, allocations: 40.11 kB / 342.6 MB, free: 2.926 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.521e-05/0.04705, allocations: 40 kB / 342.7 MB, free: 2.887 MB / 330.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 (121): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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): 5 systems {(1,1,100.0%), (4,8,87.5%), (1,6,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003919/0.04744, allocations: 177.3 kB / 342.9 MB, free: 2.703 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/0.04762, allocations: 103.8 kB / 343 MB, free: 2.602 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.0487, allocations: 0.7714 MB / 343.7 MB, free: 1.789 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.0487, allocations: 12 kB / 343.7 MB, free: 1.777 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.04871, allocations: 4 kB / 343.7 MB, free: 1.773 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.04872, allocations: 7.922 kB / 343.7 MB, free: 1.766 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00301/0.05173, allocations: 2.11 MB / 345.9 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.05174, allocations: 4 kB / 345.9 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003136/0.05205, allocations: 123.8 kB / 346 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002407/0.05229, allocations: 151.2 kB / 346.1 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007325/0.05303, allocations: 385.9 kB / 346.5 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.073e-05/0.05307, allocations: 23.98 kB / 346.5 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004297/0.05736, allocations: 7.133 MB / 353.7 MB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007777/0.05814, allocations: 1.4 MB / 355.1 MB, free: 5.746 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.05973, allocations: 1.088 MB / 356.2 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.0599, allocations: 20 kB / 356.2 MB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003033/0.0602, allocations: 31.98 kB / 356.2 MB, free: 4.539 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.06037, allocations: 76.45 kB / 356.3 MB, free: 4.461 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.821e-05/0.0604, allocations: 19.98 kB / 356.3 MB, free: 4.441 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004844/0.06089, allocations: 417.7 kB / 356.7 MB, free: 4.008 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06089, allocations: 0 / 356.7 MB, free: 4.008 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001132/0.06202, allocations: 396 kB / 357.1 MB, free: 3.621 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 ($STATESET1.x,imc.inertiaRotor.w,imc.i_0_s,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 (61): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 5 systems {(1,2,100.0%), (3,16,100.0%), (1,1,100.0%), (1,2,100.0%), (2,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.0002795/0.0623, allocations: 155.5 kB / 357.2 MB, free: 3.465 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001593/0.06389, allocations: 1.347 MB / 358.6 MB, free: 2.051 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.716e-05/0.06393, allocations: 19.12 kB / 358.6 MB, free: 2.031 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009972/0.06493, allocations: 1.064 MB / 359.7 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/0.06663, allocations: 3.064 MB / 362.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01293/0.07956, allocations: 2.89 MB / 365.6 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/0.07998, allocations: 390.8 kB / 366 MB, free: 9.863 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004864/0.08046, allocations: 142.1 kB / 366.1 MB, free: 9.723 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004794/0.08094, allocations: 321.1 kB / 366.5 MB, free: 9.406 MB / 362.7 MB Notification: Performance of SimCode: time 2.134e-06/0.08095, allocations: 0 / 366.5 MB, free: 9.406 MB / 362.7 MB Notification: Performance of Templates: time 0.03206/0.113, allocations: 23.08 MB / 389.5 MB, free: 2.688 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.087957935407758]