Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.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.001347/0.001347, allocations: 106.9 kB / 19.8 MB, free: 2.5 MB / 14.72 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.0038/0.0038, allocations: 218.7 kB / 23 MB, free: 5.574 MB / 14.72 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.655/1.655, allocations: 230.2 MB / 256.2 MB, free: 8.527 MB / 206.1 MB " [Timeout remaining time 178] 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(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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002568/0.002568, allocations: 59.89 kB / 376.5 MB, free: 3.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2929, allocations: 53.33 MB / 429.8 MB, free: 7.566 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01505/0.3079, allocations: 8.287 MB / 438.1 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00712/0.315, allocations: 2.758 MB / 440.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.3162, allocations: 39.88 kB / 440.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002593/0.3188, allocations: 0.6366 MB / 441.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002759/0.3216, allocations: 0.6757 MB / 442.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009424/0.3225, allocations: 287.5 kB / 442.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002926/0.3255, allocations: 2.035 MB / 444.5 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001219/0.3267, allocations: 0.8388 MB / 445.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001239/0.3279, allocations: 0.8993 MB / 446.3 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.3294, allocations: 1.094 MB / 447.4 MB, free: 5.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003288/0.3297, allocations: 228 kB / 447.6 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006126/0.3303, allocations: 319.8 kB / 447.9 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006798/0.331, allocations: 0.6427 MB / 448.5 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001122/0.3321, allocations: 1.035 MB / 449.6 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003464/0.3356, allocations: 3.005 MB / 452.6 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3356, allocations: 0 / 452.6 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3356, allocations: 3.938 kB / 452.6 MB, free: 0.668 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.664e-05/0.3356, allocations: 0 / 452.6 MB, free: 0.668 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.004272/0.3399, allocations: 2.19 MB / 454.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.3399, allocations: 8.031 kB / 454.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006108/0.3405, allocations: 223.7 kB / 455 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001891/0.3424, allocations: 1.15 MB / 456.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.3426, allocations: 111.4 kB / 456.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002448/0.3428, allocations: 159.9 kB / 456.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003227/0.346, allocations: 1.959 MB / 458.4 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.172e-05/0.3461, allocations: 7.953 kB / 458.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001423/0.3462, allocations: 63.98 kB / 458.4 MB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.587e-05/0.3463, allocations: 74.92 kB / 458.5 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002713/0.349, allocations: 1.592 MB / 460.1 MB, free: 8.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01034/0.3594, allocations: 6.282 MB / 466.4 MB, free: 2.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.3608, allocations: 0.8035 MB / 467.2 MB, free: 1.648 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/0.3619, allocations: 0.5457 MB / 467.7 MB, free: 1.098 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002324/0.3621, allocations: 113.6 kB / 467.8 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.153e-05/0.3622, allocations: 43.06 kB / 467.9 MB, free: 0.918 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.585e-06/0.3622, allocations: 0 / 467.9 MB, free: 0.918 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01396/0.3761, allocations: 5.853 MB / 473.7 MB, free: 10.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.3762, allocations: 60.41 kB / 473.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00193/0.3781, allocations: 1.152 MB / 474.9 MB, free: 9.691 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.3782, allocations: 41.7 kB / 475 MB, free: 9.645 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006937/0.3789, allocations: 0.7886 MB / 475.8 MB, free: 8.848 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000285/0.3792, allocations: 325.3 kB / 476.1 MB, free: 8.527 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003524/0.3796, allocations: 206.9 kB / 476.3 MB, free: 8.316 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.3797, allocations: 349.9 kB / 476.6 MB, free: 7.969 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008306/0.3806, allocations: 0.5491 MB / 477.2 MB, free: 7.422 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.3817, allocations: 0.8718 MB / 478.1 MB, free: 6.398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002159/0.3839, allocations: 1.535 MB / 479.6 MB, free: 4.715 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.3839, allocations: 4 kB / 479.6 MB, free: 4.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003725/0.3876, allocations: 2.04 MB / 481.6 MB, free: 2.648 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.3877, allocations: 12 kB / 481.7 MB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.499e-05/0.3877, allocations: 15.94 kB / 481.7 MB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001518/0.3892, allocations: 0.5438 MB / 482.2 MB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009141/0.3901, allocations: 243.6 kB / 482.4 MB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009691/0.3998, allocations: 8.66 MB / 491.1 MB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.4008, allocations: 75.86 kB / 491.2 MB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.4009, allocations: 48.12 kB / 491.2 MB, free: 8.48 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.0008787/0.4018, allocations: 0.5247 MB / 491.8 MB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002609/0.4021, allocations: 131.2 kB / 491.9 MB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003288/0.4054, allocations: 1.751 MB / 493.6 MB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.4054, allocations: 8 kB / 493.6 MB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.4054, allocations: 8 kB / 493.6 MB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.4054, allocations: 7.969 kB / 493.7 MB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006792/0.4122, allocations: 3.73 MB / 497.4 MB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.4122, allocations: 4.031 kB / 497.4 MB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005584/0.4127, allocations: 123.9 kB / 497.5 MB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001609/0.4144, allocations: 0.5913 MB / 498.1 MB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.336e-05/0.4144, allocations: 23.98 kB / 498.1 MB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008881/0.4233, allocations: 7.717 MB / 0.494 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4233, allocations: 3.938 kB / 0.494 GB, free: 9.312 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004013/0.4273, allocations: 2.48 MB / 0.4964 GB, free: 6.789 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005692/0.4279, allocations: 312.3 kB / 0.4967 GB, free: 6.465 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/0.4281, allocations: 27.92 kB / 0.4967 GB, free: 6.438 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000619/0.4287, allocations: 51.94 kB / 0.4968 GB, free: 6.387 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/0.4289, allocations: 76.5 kB / 0.4969 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.294e-05/0.4289, allocations: 20 kB / 0.4969 GB, free: 6.289 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001167/0.4301, allocations: 0.7934 MB / 0.4977 GB, free: 5.488 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4301, allocations: 0 / 0.4977 GB, free: 5.488 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001255/0.4313, allocations: 372 kB / 0.498 GB, free: 5.125 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.0003391/0.4317, allocations: 182.2 kB / 0.4982 GB, free: 4.941 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003408/0.4351, allocations: 2.076 MB / 0.5002 GB, free: 2.773 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.4351, allocations: 8.125 kB / 0.5002 GB, free: 2.766 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002059/0.4371, allocations: 1.256 MB / 0.5014 GB, free: 1.453 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/0.4388, allocations: 385.9 kB / 0.5018 GB, free: 1.086 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005675/0.4445, allocations: 3.358 MB / 0.5051 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001329/0.4458, allocations: 1.46 MB / 0.5065 GB, free: 12.17 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008753/0.4467, allocations: 259.1 kB / 0.5068 GB, free: 11.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/0.447, allocations: 83.42 kB / 0.5068 GB, free: 11.83 MB / 430.1 MB Notification: Performance of SimCode: time 1.062e-06/0.447, allocations: 4 kB / 0.5068 GB, free: 11.83 MB / 430.1 MB Notification: Performance of Templates: time 0.03958/0.4865, allocations: 22.63 MB / 0.5289 GB, free: 5.395 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.682215552777052]