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.0009843/0.0009843, allocations: 87.67 kB / 21.19 MB, free: 3.371 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.00105/0.00105, allocations: 160.5 kB / 24.56 MB, free: 12 kB / 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.022/1.022, allocations: 177 MB / 204.8 MB, free: 5.605 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.2964/0.2964, allocations: 34.87 MB / 296.3 MB, free: 468 kB / 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 3.326e-06/3.326e-06, allocations: 3.984 kB / 378.8 MB, free: 1.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.612e-05, allocations: 3.156 kB / 378.8 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.007222/0.007248, allocations: 8.296 MB / 387.1 MB, free: 9.645 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003951/0.0112, allocations: 2.707 MB / 389.8 MB, free: 6.93 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006303/0.01183, allocations: 47.69 kB / 389.9 MB, free: 6.883 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.0131, allocations: 0.6056 MB / 390.5 MB, free: 6.273 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.01431, allocations: 0.6946 MB / 391.2 MB, free: 5.574 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004751/0.01479, allocations: 299.4 kB / 391.5 MB, free: 5.281 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001731/0.01652, allocations: 2.112 MB / 393.6 MB, free: 3.16 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008205/0.01734, allocations: 0.8041 MB / 394.4 MB, free: 2.305 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.01857, allocations: 1.337 MB / 395.7 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.01957, allocations: 0.982 MB / 396.7 MB, free: 15.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002422/0.01981, allocations: 231.9 kB / 396.9 MB, free: 15.75 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004156/0.02023, allocations: 311.8 kB / 397.3 MB, free: 15.45 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000452/0.02068, allocations: 0.666 MB / 397.9 MB, free: 14.78 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006052/0.02128, allocations: 0.7211 MB / 398.6 MB, free: 14.06 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.02265, allocations: 1.635 MB / 400.3 MB, free: 12.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.02265, allocations: 0 / 400.3 MB, free: 12.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.02265, allocations: 0 / 400.3 MB, free: 12.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.472e-05/0.02268, allocations: 0 / 400.3 MB, free: 12.42 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.002412/0.02509, allocations: 2.258 MB / 402.5 MB, free: 10.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.02513, allocations: 8.031 kB / 402.5 MB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005361/0.02566, allocations: 359.6 kB / 402.9 MB, free: 9.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.02685, allocations: 1.053 MB / 403.9 MB, free: 8.668 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.76e-05/0.02692, allocations: 115.4 kB / 404.1 MB, free: 8.555 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001681/0.02709, allocations: 160.3 kB / 404.2 MB, free: 8.398 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.02859, allocations: 1.26 MB / 405.5 MB, free: 7.059 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.435e-05/0.02863, allocations: 11.95 kB / 405.5 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.495e-05/0.02871, allocations: 56 kB / 405.5 MB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-05/0.02878, allocations: 78.91 kB / 405.6 MB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.02978, allocations: 0.5674 MB / 406.2 MB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00508/0.03486, allocations: 5.289 MB / 411.5 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006761/0.03554, allocations: 429.9 kB / 411.9 MB, free: 416 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004402/0.03598, allocations: 306.1 kB / 412.2 MB, free: 104 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001382/0.03612, allocations: 48.62 kB / 412.2 MB, free: 56 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.03614, allocations: 42.05 kB / 412.3 MB, free: 4 kB / 378.7 MB Notification: Performance of pre-optimization done (n=65): time 2.094e-06/0.03615, allocations: 0 / 412.3 MB, free: 4 kB / 378.7 MB Notification: Performance of matching and sorting (n=85): time 0.004683/0.04083, allocations: 2.976 MB / 415.3 MB, free: 12.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.04087, allocations: 68.34 kB / 415.3 MB, free: 12.9 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008801/0.04175, allocations: 0.9398 MB / 416.3 MB, free: 11.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.652e-05/0.04179, allocations: 41.7 kB / 416.3 MB, free: 11.89 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004626/0.04225, allocations: 0.877 MB / 417.2 MB, free: 11 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/0.04243, allocations: 321.3 kB / 417.5 MB, free: 10.69 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/0.04265, allocations: 212.5 kB / 417.7 MB, free: 10.47 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.04279, allocations: 0.5355 MB / 418.2 MB, free: 9.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002905/0.04308, allocations: 178.5 kB / 418.4 MB, free: 9.754 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005177/0.0436, allocations: 0.661 MB / 419.1 MB, free: 8.891 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008665/0.04447, allocations: 0.9495 MB / 420 MB, free: 7.742 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.04447, allocations: 4 kB / 420 MB, free: 7.738 MB / 394.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.001624/0.0461, allocations: 1.178 MB / 421.2 MB, free: 6.527 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.04612, allocations: 8 kB / 421.2 MB, free: 6.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.04613, allocations: 12.31 kB / 421.2 MB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008856/0.04702, allocations: 397.7 kB / 421.6 MB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004582/0.04748, allocations: 243.6 kB / 421.9 MB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004425/0.0519, allocations: 8.321 MB / 430.2 MB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004042/0.05231, allocations: 76.05 kB / 430.2 MB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.169e-05/0.05237, allocations: 48 kB / 430.3 MB, free: 12.93 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.0003318/0.0527, allocations: 220.3 kB / 430.5 MB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.05288, allocations: 151.2 kB / 430.7 MB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.05417, allocations: 0.9447 MB / 431.6 MB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.05418, allocations: 11.94 kB / 431.6 MB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.05418, allocations: 4 kB / 431.6 MB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.05419, allocations: 7.922 kB / 431.6 MB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00298/0.05717, allocations: 2.429 MB / 434.1 MB, free: 9.031 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.05718, allocations: 8 kB / 434.1 MB, free: 9.023 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002813/0.05746, allocations: 119.9 kB / 434.2 MB, free: 8.906 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007944/0.05825, allocations: 377.5 kB / 434.5 MB, free: 8.523 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.441e-05/0.0583, allocations: 27.92 kB / 434.6 MB, free: 8.496 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003878/0.06217, allocations: 6.621 MB / 441.2 MB, free: 1.516 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.06218, allocations: 0 / 441.2 MB, free: 1.516 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.06379, allocations: 1.316 MB / 442.5 MB, free: 136 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1695/0.2333, allocations: 207.1 kB / 442.7 MB, free: 92.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003358/0.2337, allocations: 22.19 kB / 442.7 MB, free: 92.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004773/0.2341, allocations: 57.23 kB / 442.8 MB, free: 92.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/0.2343, allocations: 69.25 kB / 442.9 MB, free: 92.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.173e-05/0.2344, allocations: 31.36 kB / 442.9 MB, free: 92.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006783/0.235, allocations: 0.5552 MB / 443.4 MB, free: 92.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.235, allocations: 3 kB / 443.5 MB, free: 92.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001175/0.2362, allocations: 366.9 kB / 443.8 MB, free: 92.16 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.0003171/0.2365, allocations: 185.4 kB / 444 MB, free: 92.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001799/0.2383, allocations: 1.565 MB / 445.6 MB, free: 91.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.2383, allocations: 0 / 445.6 MB, free: 91.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009831/0.2393, allocations: 1.1 MB / 446.7 MB, free: 90.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009635/0.2403, allocations: 311.8 kB / 447 MB, free: 90.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003797/0.2441, allocations: 2.8 MB / 449.8 MB, free: 89.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.2444, allocations: 415.6 kB / 450.2 MB, free: 89.51 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004797/0.2449, allocations: 210 kB / 450.4 MB, free: 89.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.245, allocations: 80.03 kB / 450.4 MB, free: 89.48 MB / 410.7 MB Notification: Performance of SimCode: time 2.144e-06/0.245, allocations: 0 / 450.4 MB, free: 89.48 MB / 410.7 MB Notification: Performance of Templates: time 0.02786/0.2729, allocations: 20.77 MB / 471.2 MB, free: 87.32 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.6789635573513806]