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.001403/0.001403, allocations: 91.5 kB / 20.93 MB, free: 3.617 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.001185/0.001185, allocations: 156.5 kB / 24.23 MB, free: 332 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.114/1.114, allocations: 177 MB / 204.5 MB, free: 5.609 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.2908/0.2908, allocations: 34.87 MB / 295.8 MB, free: 0.5703 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.783e-06/1.783e-06, allocations: 0 / 378.1 MB, free: 2.344 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.915e-05/3.093e-05, allocations: 2.312 kB / 378.1 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01026/0.01029, allocations: 8.272 MB / 386.3 MB, free: 10.02 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005499/0.01579, allocations: 2.692 MB / 389 MB, free: 7.324 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/0.01721, allocations: 51.69 kB / 389.1 MB, free: 7.273 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001953/0.01916, allocations: 0.6095 MB / 389.7 MB, free: 6.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002153/0.02131, allocations: 0.6946 MB / 390.4 MB, free: 5.961 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005258/0.02184, allocations: 295.5 kB / 390.7 MB, free: 5.672 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001966/0.02381, allocations: 2.119 MB / 392.8 MB, free: 3.547 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.02488, allocations: 0.8002 MB / 393.6 MB, free: 2.695 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.02641, allocations: 1.341 MB / 394.9 MB, free: 1.352 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.02748, allocations: 0.9703 MB / 395.9 MB, free: 388 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002998/0.02778, allocations: 232 kB / 396.1 MB, free: 156 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004463/0.02823, allocations: 319.8 kB / 396.4 MB, free: 15.84 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004129/0.02864, allocations: 0.6621 MB / 397.1 MB, free: 15.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006114/0.02925, allocations: 0.7172 MB / 397.8 MB, free: 14.46 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.0308, allocations: 1.639 MB / 399.5 MB, free: 12.81 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.03081, allocations: 4 kB / 399.5 MB, free: 12.81 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.03081, allocations: 0 / 399.5 MB, free: 12.81 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.347e-05/0.03084, allocations: 4 kB / 399.5 MB, free: 12.8 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.002639/0.03348, allocations: 2.258 MB / 401.7 MB, free: 10.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.03353, allocations: 8.031 kB / 401.7 MB, free: 10.49 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000553/0.03408, allocations: 355.6 kB / 402.1 MB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.0352, allocations: 1.061 MB / 403.1 MB, free: 9.051 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.807e-05/0.03525, allocations: 111.4 kB / 403.2 MB, free: 8.941 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.0354, allocations: 152.3 kB / 403.4 MB, free: 8.793 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.03685, allocations: 1.264 MB / 404.7 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.628e-05/0.03689, allocations: 11.95 kB / 404.7 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.673e-05/0.03698, allocations: 63.98 kB / 404.7 MB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.389e-05/0.03704, allocations: 78.86 kB / 404.8 MB, free: 7.297 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.03806, allocations: 0.5636 MB / 405.4 MB, free: 6.727 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005331/0.04339, allocations: 5.285 MB / 410.7 MB, free: 1.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000641/0.04403, allocations: 418 kB / 411.1 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004301/0.04446, allocations: 306.1 kB / 411.4 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/0.04459, allocations: 48.5 kB / 411.4 MB, free: 468 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.04462, allocations: 42.05 kB / 411.5 MB, free: 416 kB / 378.7 MB Notification: Performance of pre-optimization done (n=65): time 3.016e-06/0.04462, allocations: 4 kB / 411.5 MB, free: 412 kB / 378.7 MB Notification: Performance of matching and sorting (n=85): time 0.004916/0.04953, allocations: 2.984 MB / 414.4 MB, free: 13.37 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.04956, allocations: 64.41 kB / 414.5 MB, free: 13.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008149/0.05038, allocations: 0.9398 MB / 415.4 MB, free: 12.33 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.42e-05/0.05042, allocations: 41.7 kB / 415.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003961/0.05082, allocations: 0.8732 MB / 416.4 MB, free: 11.4 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.05099, allocations: 317.4 kB / 416.7 MB, free: 11.09 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/0.0512, allocations: 220.5 kB / 416.9 MB, free: 10.87 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.05134, allocations: 0.5277 MB / 417.4 MB, free: 10.33 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/0.05162, allocations: 186.4 kB / 417.6 MB, free: 10.15 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004695/0.05209, allocations: 0.6571 MB / 418.3 MB, free: 9.289 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008224/0.05291, allocations: 0.9495 MB / 419.2 MB, free: 8.141 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/0.05292, allocations: 4 kB / 419.2 MB, free: 8.137 MB / 394.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.001522/0.05444, allocations: 1.178 MB / 420.4 MB, free: 6.926 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.05446, allocations: 12 kB / 420.4 MB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.05447, allocations: 8 kB / 420.4 MB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008959/0.05537, allocations: 410 kB / 420.8 MB, free: 6.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004649/0.05584, allocations: 235.6 kB / 421 MB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004774/0.06061, allocations: 8.325 MB / 429.4 MB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005176/0.06113, allocations: 67.88 kB / 429.4 MB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.883e-05/0.06119, allocations: 56.12 kB / 429.5 MB, free: 13.32 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.0003472/0.06153, allocations: 228.3 kB / 429.7 MB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.0617, allocations: 147.2 kB / 429.8 MB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.06299, allocations: 0.9447 MB / 430.8 MB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.063, allocations: 8 kB / 430.8 MB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.06301, allocations: 4 kB / 430.8 MB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.06301, allocations: 7.922 kB / 430.8 MB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002943/0.06596, allocations: 2.429 MB / 433.2 MB, free: 9.422 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.06596, allocations: 8 kB / 433.2 MB, free: 9.414 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002852/0.06625, allocations: 120 kB / 433.4 MB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000961/0.06721, allocations: 381.3 kB / 433.7 MB, free: 8.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.951e-05/0.06726, allocations: 27.92 kB / 433.8 MB, free: 8.883 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003949/0.07121, allocations: 6.61 MB / 440.4 MB, free: 1.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.07121, allocations: 0 / 440.4 MB, free: 1.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.07282, allocations: 1.324 MB / 441.7 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002987/0.07312, allocations: 203.2 kB / 441.9 MB, free: 328 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.337e-05/0.0732, allocations: 24.11 kB / 441.9 MB, free: 304 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002956/0.0735, allocations: 63.88 kB / 442 MB, free: 240 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.07362, allocations: 68.52 kB / 442.1 MB, free: 172 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.573e-05/0.07365, allocations: 24 kB / 442.1 MB, free: 148 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.1685/0.2421, allocations: 0.5531 MB / 442.6 MB, free: 97.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2421, allocations: 1.812 kB / 442.6 MB, free: 97.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001748/0.2439, allocations: 378 kB / 443 MB, free: 97.19 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.0003561/0.2442, allocations: 175.6 kB / 443.2 MB, free: 97.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001914/0.2461, allocations: 1.562 MB / 444.7 MB, free: 96.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.2461, allocations: 0 / 444.7 MB, free: 96.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.2472, allocations: 1.101 MB / 445.8 MB, free: 95.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.2484, allocations: 309.8 kB / 446.1 MB, free: 95.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003982/0.2524, allocations: 2.807 MB / 448.9 MB, free: 94.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.2527, allocations: 415.8 kB / 449.3 MB, free: 94.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004672/0.2532, allocations: 210.9 kB / 449.6 MB, free: 94.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.2533, allocations: 73.72 kB / 449.6 MB, free: 94.51 MB / 410.7 MB Notification: Performance of SimCode: time 1.583e-06/0.2533, allocations: 0 / 449.6 MB, free: 94.51 MB / 410.7 MB Notification: Performance of Templates: time 0.02581/0.2792, allocations: 20.78 MB / 470.4 MB, free: 92.33 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.7203999899793416]