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.000938/0.000938, allocations: 84.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.0009713/0.0009713, allocations: 161.7 kB / 24.91 MB, free: 8.68 MB / 18.57 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.012/1.012, allocations: 177 MB / 205.2 MB, free: 5.469 MB / 186.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.2615/0.2615, allocations: 34.87 MB / 296.6 MB, free: 0.5195 MB / 266.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.954e-06/1.954e-06, allocations: 0 / 326 MB, free: 7.098 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/3.006e-05, allocations: 6.047 kB / 326 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.009084/0.009114, allocations: 8.067 MB / 334.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004865/0.01398, allocations: 2.771 MB / 336.8 MB, free: 12.2 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009019/0.01488, allocations: 51.62 kB / 336.9 MB, free: 12.15 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.01628, allocations: 0.6063 MB / 337.5 MB, free: 11.54 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001438/0.01772, allocations: 0.7023 MB / 338.2 MB, free: 10.84 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004938/0.01822, allocations: 295.5 kB / 338.5 MB, free: 10.55 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001759/0.01997, allocations: 2.131 MB / 340.6 MB, free: 8.41 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008065/0.02078, allocations: 0.8237 MB / 341.4 MB, free: 7.52 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00144/0.02222, allocations: 1.388 MB / 342.8 MB, free: 6.129 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009198/0.02314, allocations: 0.9625 MB / 343.8 MB, free: 5.164 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002155/0.02336, allocations: 220 kB / 344 MB, free: 4.949 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003892/0.02375, allocations: 307.8 kB / 344.3 MB, free: 4.648 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003962/0.02414, allocations: 0.6427 MB / 344.9 MB, free: 4.004 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005852/0.02473, allocations: 0.7094 MB / 345.7 MB, free: 3.293 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.02617, allocations: 1.624 MB / 347.3 MB, free: 1.664 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.02617, allocations: 0 / 347.3 MB, free: 1.664 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.02617, allocations: 0 / 347.3 MB, free: 1.664 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.12e-05/0.02619, allocations: 0 / 347.3 MB, free: 1.664 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.002067/0.02826, allocations: 1.957 MB / 349.2 MB, free: 15.67 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.02829, allocations: 12.03 kB / 349.2 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004713/0.02877, allocations: 292.7 kB / 349.5 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009637/0.02973, allocations: 0.7783 MB / 350.3 MB, free: 14.56 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.274e-05/0.02979, allocations: 115.4 kB / 350.4 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.02996, allocations: 152.3 kB / 350.6 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.03114, allocations: 1.185 MB / 351.8 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.546e-05/0.03117, allocations: 11.89 kB / 351.8 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-05/0.03126, allocations: 63.98 kB / 351.8 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.561e-05/0.03132, allocations: 78.91 kB / 351.9 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006235/0.03195, allocations: 448.2 kB / 352.3 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004359/0.03631, allocations: 4.175 MB / 356.5 MB, free: 8.066 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000535/0.03684, allocations: 406.9 kB / 356.9 MB, free: 7.652 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003116/0.03715, allocations: 243.3 kB / 357.2 MB, free: 7.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001088/0.03726, allocations: 44.62 kB / 357.2 MB, free: 7.367 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.03729, allocations: 39.22 kB / 357.2 MB, free: 7.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=65): time 2.495e-06/0.03729, allocations: 0 / 357.2 MB, free: 7.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=87): time 0.004479/0.04177, allocations: 2.551 MB / 359.8 MB, free: 4.719 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000777/0.04255, allocations: 1.451 MB / 361.2 MB, free: 3.148 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005776/0.04312, allocations: 0.7676 MB / 362 MB, free: 2.359 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.011e-05/0.04318, allocations: 41.7 kB / 362 MB, free: 2.312 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002717/0.04345, allocations: 0.6809 MB / 362.7 MB, free: 1.621 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/0.04362, allocations: 329.2 kB / 363 MB, free: 1.297 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/0.04381, allocations: 198.8 kB / 363.2 MB, free: 1.094 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.532e-05/0.0439, allocations: 353.8 kB / 363.6 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/0.04417, allocations: 169.4 kB / 363.8 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004097/0.04458, allocations: 0.4972 MB / 364.3 MB, free: 15.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007521/0.04534, allocations: 0.8027 MB / 365.1 MB, free: 14.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.04534, allocations: 4 kB / 365.1 MB, free: 14.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001352/0.04669, allocations: 0.9968 MB / 366.1 MB, free: 13.95 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.04671, allocations: 8 kB / 366.1 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.04673, allocations: 12 kB / 366.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008432/0.04757, allocations: 439.4 kB / 366.5 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004012/0.04797, allocations: 211.6 kB / 366.7 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003915/0.05189, allocations: 7.193 MB / 373.9 MB, free: 5.594 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004631/0.05235, allocations: 32 kB / 373.9 MB, free: 5.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.253e-05/0.0524, allocations: 39.98 kB / 374 MB, free: 5.523 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 (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.0003303/0.05273, allocations: 196.4 kB / 374.2 MB, free: 5.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.05289, allocations: 91.91 kB / 374.3 MB, free: 5.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.05407, allocations: 0.7714 MB / 375 MB, free: 4.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.05407, allocations: 12 kB / 375 MB, free: 4.418 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.05408, allocations: 4 kB / 375 MB, free: 4.414 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.05409, allocations: 11.92 kB / 375.1 MB, free: 4.402 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002609/0.0567, allocations: 2.11 MB / 377.2 MB, free: 2.184 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.0567, allocations: 0 / 377.2 MB, free: 2.184 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.05696, allocations: 107.8 kB / 377.3 MB, free: 2.078 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007274/0.05768, allocations: 379.3 kB / 377.6 MB, free: 1.684 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.861e-05/0.05772, allocations: 23.98 kB / 377.7 MB, free: 1.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004063/0.06179, allocations: 7.109 MB / 384.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005841/0.06237, allocations: 1.404 MB / 386.2 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/0.06378, allocations: 1.084 MB / 387.3 MB, free: 7.414 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002863/0.06406, allocations: 155.2 kB / 387.4 MB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.169e-05/0.06416, allocations: 23.98 kB / 387.4 MB, free: 7.238 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.06443, allocations: 27.98 kB / 387.5 MB, free: 7.211 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.06457, allocations: 76.45 kB / 387.5 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.432e-05/0.06461, allocations: 23.98 kB / 387.6 MB, free: 7.113 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003506/0.06496, allocations: 366.4 kB / 387.9 MB, free: 6.742 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.06496, allocations: 4 kB / 387.9 MB, free: 6.738 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001069/0.06603, allocations: 384 kB / 388.3 MB, free: 6.363 MB / 362.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.0002793/0.06631, allocations: 160.2 kB / 388.5 MB, free: 6.195 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001682/0.06799, allocations: 1.325 MB / 389.8 MB, free: 4.797 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.945e-05/0.06801, allocations: 12.5 kB / 389.8 MB, free: 4.785 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008527/0.06887, allocations: 1.011 MB / 390.8 MB, free: 3.703 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007904/0.06966, allocations: 310.9 kB / 391.1 MB, free: 3.414 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0036/0.07326, allocations: 2.793 MB / 393.9 MB, free: 0.543 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.07366, allocations: 386.8 kB / 394.3 MB, free: 144 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004011/0.07406, allocations: 146.2 kB / 394.4 MB, free: 15.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004779/0.07453, allocations: 313 kB / 394.7 MB, free: 15.69 MB / 378.7 MB Notification: Performance of SimCode: time 1.183e-06/0.07454, allocations: 0 / 394.7 MB, free: 15.69 MB / 378.7 MB Notification: Performance of Templates: time 0.02772/0.1023, allocations: 22.48 MB / 417.2 MB, free: 9.59 MB / 394.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: 3.9679165934212506]