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.0008763/0.0008763, allocations: 88.28 kB / 21.44 MB, free: 3.109 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.00101/0.00101, allocations: 151.5 kB / 24.69 MB, free: 8.879 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 0.9956/0.9956, allocations: 177 MB / 204.9 MB, free: 5.699 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.2738/0.2738, allocations: 34.85 MB / 296.2 MB, free: 0.5117 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.332e-06/1.332e-06, allocations: 0 / 443.6 MB, free: 1.125 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.522e-05, allocations: 2.281 kB / 443.6 MB, free: 1.121 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.1836/0.1836, allocations: 7.375 MB / 451 MB, free: 39.63 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003559/0.1871, allocations: 2.587 MB / 453.6 MB, free: 37.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006495/0.1878, allocations: 51.94 kB / 453.7 MB, free: 37.83 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.189, allocations: 0.5987 MB / 454.3 MB, free: 37.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001137/0.1901, allocations: 0.6973 MB / 455 MB, free: 37.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004214/0.1906, allocations: 293.5 kB / 455.2 MB, free: 36.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001351/0.1919, allocations: 2.116 MB / 457.4 MB, free: 35.81 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008165/0.1927, allocations: 0.8027 MB / 458.2 MB, free: 35.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001559/0.1943, allocations: 1.327 MB / 459.5 MB, free: 34.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009337/0.1952, allocations: 0.9096 MB / 460.4 MB, free: 34.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002149/0.1954, allocations: 227 kB / 460.6 MB, free: 34.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00053/0.196, allocations: 316.3 kB / 460.9 MB, free: 34.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004635/0.1964, allocations: 0.6545 MB / 461.6 MB, free: 34.06 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000531/0.197, allocations: 0.7185 MB / 462.3 MB, free: 33.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001895/0.1988, allocations: 3.033 MB / 465.3 MB, free: 32.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1989, allocations: 0 / 465.3 MB, free: 32.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1989, allocations: 0 / 465.3 MB, free: 32.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.12e-05/0.1989, allocations: 7.875 kB / 465.3 MB, free: 32.68 MB / 410.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.002455/0.2013, allocations: 2.091 MB / 467.4 MB, free: 31.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.2014, allocations: 13.03 kB / 467.4 MB, free: 31.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004102/0.2018, allocations: 228.2 kB / 467.7 MB, free: 31.33 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.2031, allocations: 1.08 MB / 468.7 MB, free: 30.69 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.226e-05/0.2031, allocations: 112.2 kB / 468.9 MB, free: 30.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.2033, allocations: 154.9 kB / 469 MB, free: 30.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/0.2054, allocations: 2.063 MB / 471.1 MB, free: 29.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.604e-05/0.2055, allocations: 10.64 kB / 471.1 MB, free: 29.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.922e-05/0.2056, allocations: 61.22 kB / 471.1 MB, free: 29.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.819e-05/0.2056, allocations: 78.12 kB / 471.2 MB, free: 29.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001714/0.2073, allocations: 1.581 MB / 472.8 MB, free: 29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005721/0.2131, allocations: 5.456 MB / 478.3 MB, free: 25.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008505/0.2139, allocations: 0.7243 MB / 479 MB, free: 25.53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006308/0.2145, allocations: 0.5385 MB / 479.5 MB, free: 25.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001535/0.2147, allocations: 42.09 kB / 479.6 MB, free: 25.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.2147, allocations: 42.09 kB / 479.6 MB, free: 25.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=65): time 3.847e-06/0.2147, allocations: 0 / 479.6 MB, free: 25.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=85): time 0.008254/0.223, allocations: 5.453 MB / 485.1 MB, free: 23.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.223, allocations: 61.62 kB / 485.1 MB, free: 23.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.2242, allocations: 0.9988 MB / 486.1 MB, free: 23.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.632e-05/0.2243, allocations: 41.3 kB / 486.2 MB, free: 22.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004076/0.2247, allocations: 0.8101 MB / 487 MB, free: 22.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.2248, allocations: 316.2 kB / 487.3 MB, free: 22.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002562/0.2251, allocations: 212 kB / 487.5 MB, free: 21.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.541e-05/0.2252, allocations: 351.9 kB / 487.8 MB, free: 21.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006603/0.2258, allocations: 0.5429 MB / 488.4 MB, free: 21.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008156/0.2266, allocations: 0.8856 MB / 489.2 MB, free: 20.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001466/0.2281, allocations: 1.521 MB / 490.8 MB, free: 19.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.2281, allocations: 2.375 kB / 490.8 MB, free: 19.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003175/0.2313, allocations: 2.027 MB / 492.8 MB, free: 19.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/0.2313, allocations: 12.34 kB / 492.8 MB, free: 19.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.423e-05/0.2314, allocations: 10.97 kB / 492.8 MB, free: 19.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/0.2325, allocations: 0.551 MB / 493.4 MB, free: 18.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005654/0.233, allocations: 237.8 kB / 493.6 MB, free: 18.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00581/0.2388, allocations: 8.12 MB / 0.49 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009307/0.2398, allocations: 71.73 kB / 0.49 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.017e-05/0.2399, allocations: 46.64 kB / 0.4901 GB, free: 12.61 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.0009331/0.2408, allocations: 0.5185 MB / 0.4906 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/0.241, allocations: 119.3 kB / 0.4907 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002558/0.2436, allocations: 1.74 MB / 0.4924 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.2436, allocations: 12.09 kB / 0.4924 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.038e-05/0.2436, allocations: 5.812 kB / 0.4924 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.2436, allocations: 8.062 kB / 0.4924 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005899/0.2495, allocations: 3.321 MB / 0.4957 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.2495, allocations: 3.375 kB / 0.4957 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004264/0.25, allocations: 126.2 kB / 0.4958 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001365/0.2513, allocations: 0.5983 MB / 0.4964 GB, free: 9.922 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.833e-05/0.2514, allocations: 28.95 kB / 0.4964 GB, free: 9.906 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005616/0.257, allocations: 7.267 MB / 0.5035 GB, free: 4.773 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.257, allocations: 1.281 kB / 0.5035 GB, free: 4.773 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0027/0.2597, allocations: 2.457 MB / 0.5059 GB, free: 3.613 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004173/0.2602, allocations: 215.6 kB / 0.5061 GB, free: 3.426 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.882e-05/0.2602, allocations: 22.02 kB / 0.5061 GB, free: 3.406 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003396/0.2606, allocations: 65.31 kB / 0.5062 GB, free: 3.359 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.2607, allocations: 73.25 kB / 0.5063 GB, free: 3.324 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-05/0.2608, allocations: 26.86 kB / 0.5063 GB, free: 3.301 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006829/0.2614, allocations: 0.6695 MB / 0.5069 GB, free: 2.715 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2614, allocations: 0 / 0.5069 GB, free: 2.715 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001138/0.2626, allocations: 377 kB / 0.5073 GB, free: 2.348 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.0002726/0.2628, allocations: 170.7 kB / 0.5075 GB, free: 2.191 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001899/0.2647, allocations: 1.933 MB / 0.5093 GB, free: 352 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.2647, allocations: 0 / 0.5093 GB, free: 352 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.2659, allocations: 1.188 MB / 0.5105 GB, free: 15.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008994/0.2668, allocations: 320.6 kB / 0.5108 GB, free: 14.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004321/0.2711, allocations: 3.232 MB / 0.514 GB, free: 11.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007353/0.2718, allocations: 0.8665 MB / 0.5148 GB, free: 10.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/0.2721, allocations: 80.48 kB / 0.5149 GB, free: 10.56 MB / 426.7 MB Notification: Performance of SimCode: time 1.112e-06/0.2721, allocations: 4 kB / 0.5149 GB, free: 10.55 MB / 426.7 MB Notification: Performance of Templates: time 0.04362/0.3157, allocations: 59.1 MB / 0.5726 GB, free: 15.48 MB / 490.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 > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 7.089214441832155]