Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|imc.idq_rr.1.|imc.idq_rr.2.|loadInertia.phi|loadInertia.w|imc.idq_sr.1.|imc.idq_sr.2.|imc.is.1.|imc.is.2.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|imc.idq_rr.1.|imc.idq_rr.2.|loadInertia.phi|loadInertia.w|imc.idq_sr.1.|imc.idq_sr.2.|imc.is.1.|imc.is.2.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001849/0.001849, allocations: 108.7 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002091/0.002091, allocations: 207.9 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.456/1.456, allocations: 230.4 MB / 251.1 MB, free: 8.465 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 71.83 kB / 369 MB, free: 6.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2494, allocations: 53.31 MB / 422.3 MB, free: 7.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.0105/0.2599, allocations: 8.257 MB / 430.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005343/0.2652, allocations: 2.746 MB / 433.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009408/0.2662, allocations: 43.81 kB / 433.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001747/0.2679, allocations: 0.6482 MB / 434 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001648/0.2695, allocations: 0.668 MB / 434.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006111/0.2702, allocations: 283.6 kB / 434.9 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002363/0.2725, allocations: 2.046 MB / 437 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00139/0.2739, allocations: 1.026 MB / 438 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001397/0.2753, allocations: 0.9032 MB / 438.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00158/0.2769, allocations: 1.094 MB / 440 MB, free: 6.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003303/0.2772, allocations: 228 kB / 440.2 MB, free: 5.801 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006018/0.2778, allocations: 315.8 kB / 440.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006604/0.2785, allocations: 0.6466 MB / 441.2 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001135/0.2796, allocations: 1.027 MB / 442.2 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003459/0.2831, allocations: 3.017 MB / 445.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2831, allocations: 0 / 445.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2831, allocations: 4 kB / 445.2 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.88e-05/0.2831, allocations: 4 kB / 445.2 MB, free: 0.7773 MB / 350.1 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.004195/0.2873, allocations: 2.173 MB / 447.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.2874, allocations: 12.03 kB / 447.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006807/0.2881, allocations: 227.7 kB / 447.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002237/0.2903, allocations: 1.138 MB / 448.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/0.2904, allocations: 112.3 kB / 448.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002638/0.2907, allocations: 163.9 kB / 449 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003496/0.2942, allocations: 1.959 MB / 451 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.953e-05/0.2943, allocations: 15.81 kB / 451 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.2944, allocations: 60 kB / 451.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.761e-05/0.2945, allocations: 78.91 kB / 451.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002744/0.2972, allocations: 1.581 MB / 452.7 MB, free: 9.113 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01026/0.3075, allocations: 6.294 MB / 459 MB, free: 2.602 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.3089, allocations: 0.7963 MB / 459.8 MB, free: 1.777 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009966/0.3099, allocations: 0.538 MB / 460.3 MB, free: 1.234 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002336/0.3101, allocations: 117.6 kB / 460.5 MB, free: 1.102 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/0.3102, allocations: 39.12 kB / 460.5 MB, free: 1.055 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.334e-06/0.3102, allocations: 4 kB / 460.5 MB, free: 1.051 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.0134/0.3236, allocations: 5.857 MB / 466.4 MB, free: 11.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.3236, allocations: 60.41 kB / 466.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/0.3253, allocations: 1.153 MB / 467.6 MB, free: 9.816 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.178e-05/0.3254, allocations: 37.7 kB / 467.6 MB, free: 9.773 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006548/0.3261, allocations: 0.8002 MB / 468.4 MB, free: 8.965 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002778/0.3263, allocations: 313.3 kB / 468.7 MB, free: 8.656 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003413/0.3267, allocations: 210.9 kB / 468.9 MB, free: 8.441 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.3268, allocations: 349.9 kB / 469.3 MB, free: 8.094 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008535/0.3277, allocations: 0.5413 MB / 469.8 MB, free: 7.555 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.3288, allocations: 0.8873 MB / 470.7 MB, free: 6.516 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002073/0.3309, allocations: 1.524 MB / 472.2 MB, free: 4.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.3309, allocations: 4 kB / 472.2 MB, free: 4.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003555/0.3345, allocations: 2.044 MB / 474.3 MB, free: 2.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.3345, allocations: 8 kB / 474.3 MB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/0.3345, allocations: 12 kB / 474.3 MB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/0.3359, allocations: 0.5516 MB / 474.8 MB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008549/0.3368, allocations: 243.6 kB / 475.1 MB, free: 1.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009221/0.346, allocations: 8.659 MB / 483.7 MB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.3471, allocations: 72.08 kB / 483.8 MB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.001e-05/0.3472, allocations: 44 kB / 483.8 MB, free: 8.609 MB / 398.1 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.0008753/0.3481, allocations: 0.5323 MB / 484.4 MB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002202/0.3483, allocations: 131.2 kB / 484.5 MB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003186/0.3515, allocations: 1.759 MB / 486.3 MB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.3515, allocations: 8 kB / 486.3 MB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.3515, allocations: 4 kB / 486.3 MB, free: 6.148 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.3515, allocations: 3.984 kB / 486.3 MB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006183/0.3577, allocations: 3.741 MB / 490 MB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.3577, allocations: 4 kB / 490 MB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005304/0.3582, allocations: 127.8 kB / 490.2 MB, free: 2.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001523/0.3597, allocations: 0.5914 MB / 490.7 MB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.768e-05/0.3598, allocations: 31.98 kB / 490.8 MB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00901/0.3688, allocations: 7.691 MB / 498.5 MB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.3688, allocations: 4 kB / 498.5 MB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004194/0.373, allocations: 2.48 MB / 0.4892 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007455/0.3738, allocations: 316.3 kB / 0.4895 GB, free: 6.582 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001929/0.3739, allocations: 23.98 kB / 0.4895 GB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006604/0.3746, allocations: 60.28 kB / 0.4896 GB, free: 6.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002022/0.3748, allocations: 68.44 kB / 0.4897 GB, free: 6.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.829e-05/0.3749, allocations: 35.98 kB / 0.4897 GB, free: 6.395 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001309/0.3762, allocations: 0.7856 MB / 0.4905 GB, free: 5.602 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3762, allocations: 0 / 0.4905 GB, free: 5.602 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001512/0.3777, allocations: 379.9 kB / 0.4908 GB, free: 5.23 MB / 414.1 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.0004147/0.3781, allocations: 171 kB / 0.491 GB, free: 5.055 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003557/0.3817, allocations: 2.083 MB / 0.493 GB, free: 2.879 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.3817, allocations: 3.938 kB / 0.493 GB, free: 2.875 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002238/0.3839, allocations: 1.272 MB / 0.4943 GB, free: 1.547 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/0.3857, allocations: 370.4 kB / 0.4946 GB, free: 1.191 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005537/0.3912, allocations: 3.342 MB / 0.4979 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001334/0.3926, allocations: 1.46 MB / 0.4993 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008837/0.3935, allocations: 267 kB / 0.4996 GB, free: 12.03 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/0.3937, allocations: 83.42 kB / 0.4996 GB, free: 11.95 MB / 430.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3937, allocations: 0 / 0.4996 GB, free: 11.95 MB / 430.1 MB Notification: Performance of Templates: time 0.04063/0.4343, allocations: 22.46 MB / 0.5216 GB, free: 5.719 MB / 446.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 480]