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.001055/0.001055, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001301/0.002356, allocations: 449.7 kB / 10.37 MB, free: 324 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.001033/0.001033, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001321/0.002353, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.049/1.049, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09703/1.146, allocations: 53.87 MB / 243.8 MB, free: 14.9 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.289/0.289, allocations: 34.85 MB / 279.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03059/0.3196, allocations: 13.23 MB / 292.6 MB, free: 6.461 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.442e-06/1.442e-06, allocations: 0 / 293.9 MB, free: 5.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.326e-05, allocations: 2.312 kB / 293.9 MB, free: 5.117 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01827/0.01829, allocations: 8.173 MB / 302.1 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008407/0.0267, allocations: 2.794 MB / 304.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009449/0.02764, allocations: 47.69 kB / 304.9 MB, free: 10.06 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001558/0.0292, allocations: 0.6212 MB / 305.6 MB, free: 9.434 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00168/0.03088, allocations: 0.6945 MB / 306.3 MB, free: 8.734 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005802/0.03146, allocations: 291.5 kB / 306.5 MB, free: 8.449 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002202/0.03366, allocations: 2.125 MB / 308.7 MB, free: 6.316 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/0.03484, allocations: 0.8276 MB / 309.5 MB, free: 5.422 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002613/0.03745, allocations: 1.519 MB / 311 MB, free: 3.898 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00169/0.03914, allocations: 0.9664 MB / 312 MB, free: 2.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005236/0.03966, allocations: 220 kB / 312.2 MB, free: 2.715 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000774/0.04044, allocations: 311.8 kB / 312.5 MB, free: 2.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005907/0.04103, allocations: 0.526 MB / 313 MB, free: 1.883 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001097/0.04213, allocations: 0.5888 MB / 313.6 MB, free: 1.293 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002503/0.04463, allocations: 1.526 MB / 315.1 MB, free: 15.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-05/0.04464, allocations: 0 / 315.1 MB, free: 15.76 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.04464, allocations: 4 kB / 315.1 MB, free: 15.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.691e-05/0.04469, allocations: 0 / 315.1 MB, free: 15.75 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.002214/0.04691, allocations: 2.336 MB / 317.5 MB, free: 13.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.04694, allocations: 8.031 kB / 317.5 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004906/0.04743, allocations: 369.7 kB / 317.9 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008887/0.04831, allocations: 0.7744 MB / 318.6 MB, free: 12.19 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.647e-05/0.04837, allocations: 115.4 kB / 318.7 MB, free: 12.08 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.04851, allocations: 164.3 kB / 318.9 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.04959, allocations: 1.177 MB / 320.1 MB, free: 10.67 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/0.04963, allocations: 3.953 kB / 320.1 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.699e-05/0.0497, allocations: 71.98 kB / 320.1 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.609e-05/0.04976, allocations: 78.91 kB / 320.2 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005804/0.05034, allocations: 448.1 kB / 320.7 MB, free: 10.06 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003936/0.05428, allocations: 4.195 MB / 324.9 MB, free: 5.672 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000486/0.05476, allocations: 411.3 kB / 325.3 MB, free: 5.258 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002951/0.05506, allocations: 251.3 kB / 325.5 MB, free: 5.008 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.406e-05/0.05515, allocations: 32.64 kB / 325.5 MB, free: 4.977 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.05518, allocations: 51.2 kB / 325.6 MB, free: 4.918 MB / 314.7 MB Notification: Performance of pre-optimization done (n=65): time 1.873e-06/0.05518, allocations: 0 / 325.6 MB, free: 4.918 MB / 314.7 MB Notification: Performance of matching and sorting (n=87): time 0.004991/0.06017, allocations: 2.548 MB / 328.1 MB, free: 2.312 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008247/0.06099, allocations: 1.456 MB / 329.6 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005956/0.06159, allocations: 0.7678 MB / 330.4 MB, free: 15.94 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.584e-05/0.06163, allocations: 41.7 kB / 330.4 MB, free: 15.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002812/0.06192, allocations: 0.6809 MB / 331.1 MB, free: 15.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.06207, allocations: 325.2 kB / 331.4 MB, free: 14.88 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/0.06225, allocations: 198.8 kB / 331.6 MB, free: 14.68 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.489e-05/0.06234, allocations: 349.8 kB / 331.9 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002587/0.0626, allocations: 169.4 kB / 332.1 MB, free: 14.17 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004336/0.06303, allocations: 0.5009 MB / 332.6 MB, free: 13.53 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007513/0.06378, allocations: 0.7987 MB / 333.4 MB, free: 12.58 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.06379, allocations: 4 kB / 333.4 MB, free: 12.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001282/0.06507, allocations: 1.001 MB / 334.4 MB, free: 11.54 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.06509, allocations: 15.94 kB / 334.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.0651, allocations: 12 kB / 334.4 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008024/0.0659, allocations: 427.3 kB / 334.8 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004663/0.06637, allocations: 251.6 kB / 335.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003966/0.07033, allocations: 7.207 MB / 342.3 MB, free: 3.145 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005096/0.07084, allocations: 32 kB / 342.3 MB, free: 3.113 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.438e-05/0.0709, allocations: 43.98 kB / 342.4 MB, free: 3.07 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.0003432/0.07124, allocations: 184.5 kB / 342.6 MB, free: 2.879 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.07139, allocations: 95.84 kB / 342.6 MB, free: 2.785 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009988/0.07239, allocations: 0.7675 MB / 343.4 MB, free: 1.977 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.07239, allocations: 11.98 kB / 343.4 MB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.0724, allocations: 12 kB / 343.4 MB, free: 1.953 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.07241, allocations: 7.922 kB / 343.4 MB, free: 1.945 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002624/0.07503, allocations: 2.102 MB / 345.6 MB, free: 15.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.07504, allocations: 3.984 kB / 345.6 MB, free: 15.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003216/0.07536, allocations: 124.2 kB / 345.7 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002243/0.07558, allocations: 163.2 kB / 345.8 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007073/0.07629, allocations: 391.6 kB / 346.2 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/0.07633, allocations: 20 kB / 346.2 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003764/0.08009, allocations: 7.122 MB / 353.4 MB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005776/0.08067, allocations: 1.403 MB / 354.8 MB, free: 5.922 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.08203, allocations: 1.076 MB / 355.8 MB, free: 4.773 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.08216, allocations: 16 kB / 355.9 MB, free: 4.758 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002747/0.08243, allocations: 35.98 kB / 355.9 MB, free: 4.723 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.08257, allocations: 80.38 kB / 356 MB, free: 4.641 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.75e-05/0.08261, allocations: 20 kB / 356 MB, free: 4.621 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003686/0.08298, allocations: 370.4 kB / 356.3 MB, free: 4.246 MB / 346.7 MB Notification: Performance of sort global known variables: time 3e-08/0.08298, allocations: 0 / 356.3 MB, free: 4.246 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009827/0.08396, allocations: 387.9 kB / 356.7 MB, free: 3.867 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.0002334/0.08419, allocations: 156.7 kB / 356.9 MB, free: 3.707 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001341/0.08554, allocations: 1.337 MB / 358.2 MB, free: 2.301 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.171e-05/0.08557, allocations: 19.12 kB / 358.2 MB, free: 2.285 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007918/0.08636, allocations: 1.015 MB / 359.3 MB, free: 1.199 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007714/0.08713, allocations: 406.8 kB / 359.6 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/0.09964, allocations: 2.9 MB / 362.5 MB, free: 13.85 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/0.1, allocations: 390.8 kB / 362.9 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005108/0.1006, allocations: 146.1 kB / 363.1 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005681/0.1011, allocations: 309.1 kB / 363.4 MB, free: 12.99 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.1011, allocations: 4 kB / 363.4 MB, free: 12.99 MB / 362.7 MB Notification: Performance of Templates: time 0.03353/0.1347, allocations: 23.39 MB / 386.8 MB, free: 5.965 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.081917786039412]