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.001158/0.001158, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.00134/0.00134, allocations: 164.9 kB / 24.99 MB, free: 8.801 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.001/1.001, allocations: 177 MB / 205.2 MB, free: 5.582 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.2647/0.2647, allocations: 34.87 MB / 296.6 MB, free: 0.5586 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.774e-06/1.774e-06, allocations: 0 / 378.8 MB, free: 2.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.793e-05/3.971e-05, allocations: 10.25 kB / 378.8 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01055/0.01059, allocations: 8.272 MB / 387.1 MB, free: 10.01 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003988/0.01457, allocations: 2.692 MB / 389.8 MB, free: 7.312 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004879/0.01506, allocations: 55.62 kB / 389.8 MB, free: 7.258 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.01623, allocations: 0.5979 MB / 390.4 MB, free: 6.656 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009955/0.01723, allocations: 0.7024 MB / 391.1 MB, free: 5.949 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004367/0.01766, allocations: 291.5 kB / 391.4 MB, free: 5.664 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001634/0.0193, allocations: 2.116 MB / 393.5 MB, free: 3.539 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008377/0.02013, allocations: 0.8041 MB / 394.3 MB, free: 2.684 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001333/0.02147, allocations: 1.337 MB / 395.7 MB, free: 1.344 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.02248, allocations: 0.982 MB / 396.7 MB, free: 368 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002351/0.02271, allocations: 224 kB / 396.9 MB, free: 144 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003909/0.0231, allocations: 319.9 kB / 397.2 MB, free: 15.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004323/0.02354, allocations: 0.666 MB / 397.9 MB, free: 15.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005546/0.02409, allocations: 0.7172 MB / 398.6 MB, free: 14.44 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.02546, allocations: 1.643 MB / 400.2 MB, free: 12.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.02546, allocations: 3.984 kB / 400.2 MB, free: 12.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.02546, allocations: 0 / 400.2 MB, free: 12.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.145e-05/0.02549, allocations: 0 / 400.2 MB, free: 12.79 MB / 378.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.002482/0.02798, allocations: 2.251 MB / 402.5 MB, free: 10.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.02801, allocations: 12.03 kB / 402.5 MB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005378/0.02855, allocations: 355.6 kB / 402.8 MB, free: 10.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.02969, allocations: 1.057 MB / 403.9 MB, free: 9.043 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.915e-05/0.02975, allocations: 119.3 kB / 404 MB, free: 8.926 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/0.0299, allocations: 156.3 kB / 404.2 MB, free: 8.773 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.03139, allocations: 1.26 MB / 405.4 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.737e-05/0.03143, allocations: 7.891 kB / 405.4 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.289e-05/0.03152, allocations: 71.92 kB / 405.5 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.786e-05/0.03159, allocations: 82.89 kB / 405.6 MB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.03288, allocations: 0.5558 MB / 406.1 MB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005188/0.03806, allocations: 5.281 MB / 411.4 MB, free: 1.219 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006867/0.03875, allocations: 425.8 kB / 411.8 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000448/0.0392, allocations: 302.1 kB / 412.1 MB, free: 500 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001302/0.03933, allocations: 44.56 kB / 412.2 MB, free: 456 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.03936, allocations: 42.05 kB / 412.2 MB, free: 404 kB / 378.7 MB Notification: Performance of pre-optimization done (n=65): time 2.224e-06/0.03936, allocations: 0 / 412.2 MB, free: 404 kB / 378.7 MB Notification: Performance of matching and sorting (n=85): time 0.004944/0.0443, allocations: 2.991 MB / 415.2 MB, free: 13.36 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.04433, allocations: 60.41 kB / 415.3 MB, free: 13.29 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008122/0.04514, allocations: 0.9398 MB / 416.2 MB, free: 12.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.424e-05/0.04519, allocations: 41.7 kB / 416.2 MB, free: 12.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003874/0.04558, allocations: 0.8771 MB / 417.1 MB, free: 11.39 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.04574, allocations: 321.3 kB / 417.4 MB, free: 11.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/0.04595, allocations: 212.5 kB / 417.6 MB, free: 10.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.04609, allocations: 0.5277 MB / 418.2 MB, free: 10.32 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002859/0.04637, allocations: 186.5 kB / 418.4 MB, free: 10.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004795/0.04685, allocations: 0.6571 MB / 419 MB, free: 9.277 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.04792, allocations: 0.9494 MB / 420 MB, free: 8.129 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.04793, allocations: 4 kB / 420 MB, free: 8.125 MB / 394.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.001531/0.04946, allocations: 1.174 MB / 421.1 MB, free: 6.918 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.04948, allocations: 12.03 kB / 421.2 MB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.04949, allocations: 12 kB / 421.2 MB, free: 6.895 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009963/0.05049, allocations: 409.6 kB / 421.6 MB, free: 6.469 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004693/0.05096, allocations: 243.5 kB / 421.8 MB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004929/0.05589, allocations: 8.317 MB / 430.1 MB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004434/0.05633, allocations: 71.88 kB / 430.2 MB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.587e-05/0.0564, allocations: 51.98 kB / 430.2 MB, free: 13.31 MB / 410.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 (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.0003388/0.05674, allocations: 228.2 kB / 430.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.05693, allocations: 147.2 kB / 430.6 MB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/0.05827, allocations: 0.9408 MB / 431.5 MB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.05827, allocations: 12 kB / 431.6 MB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.05828, allocations: 4 kB / 431.6 MB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.05829, allocations: 7.922 kB / 431.6 MB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002909/0.0612, allocations: 2.437 MB / 434 MB, free: 9.406 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.0612, allocations: 0 / 434 MB, free: 9.406 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005293/0.06173, allocations: 127.8 kB / 434.1 MB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007653/0.06249, allocations: 369.5 kB / 434.5 MB, free: 8.906 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.342e-05/0.06254, allocations: 27.92 kB / 434.5 MB, free: 8.879 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003615/0.06615, allocations: 6.613 MB / 441.1 MB, free: 1.906 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.06616, allocations: 12 kB / 441.1 MB, free: 1.895 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/0.06795, allocations: 1.308 MB / 442.5 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002603/0.06821, allocations: 207.2 kB / 442.7 MB, free: 324 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.825e-05/0.0683, allocations: 23.98 kB / 442.7 MB, free: 300 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003115/0.06861, allocations: 59.88 kB / 442.7 MB, free: 240 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.06872, allocations: 72.45 kB / 442.8 MB, free: 168 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-05/0.06875, allocations: 28 kB / 442.8 MB, free: 140 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.1383/0.207, allocations: 0.5506 MB / 443.4 MB, free: 97.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.207, allocations: 0 / 443.4 MB, free: 97.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001161/0.2082, allocations: 380.6 kB / 443.8 MB, free: 97.11 MB / 410.7 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.0002622/0.2084, allocations: 173.9 kB / 443.9 MB, free: 97.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001488/0.2099, allocations: 1.564 MB / 445.5 MB, free: 96.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.2099, allocations: 2.75 kB / 445.5 MB, free: 96.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008167/0.2107, allocations: 1.097 MB / 446.6 MB, free: 95.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008267/0.2116, allocations: 316.6 kB / 446.9 MB, free: 95.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/0.2145, allocations: 2.801 MB / 449.7 MB, free: 94.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.2148, allocations: 414.1 kB / 450.1 MB, free: 94.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003781/0.2152, allocations: 208.4 kB / 450.3 MB, free: 94.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.2153, allocations: 78.44 kB / 450.4 MB, free: 94.43 MB / 410.7 MB Notification: Performance of SimCode: time 9.71e-07/0.2153, allocations: 4 kB / 450.4 MB, free: 94.42 MB / 410.7 MB Notification: Performance of Templates: time 0.02286/0.2382, allocations: 20.77 MB / 471.2 MB, free: 92.23 MB / 410.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 os._exit(0), Time elapsed: 3.4604089558124542]