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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001677/0.001677, allocations: 110.4 kB / 21.17 MB, free: 0.7695 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.001962/0.001962, allocations: 212.8 kB / 24.46 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.525/1.525, allocations: 230.4 MB / 258.1 MB, free: 8.164 MB / 206.1 MB " [Timeout remaining time 178] 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] "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.002005/0.002005, allocations: 67.84 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2409, allocations: 53.32 MB / 432.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01105/0.252, allocations: 8.295 MB / 440.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005727/0.2577, allocations: 2.758 MB / 443.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00117/0.2589, allocations: 35.88 kB / 443.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002139/0.261, allocations: 0.6486 MB / 443.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002257/0.2633, allocations: 0.664 MB / 444.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009784/0.2642, allocations: 299.5 kB / 444.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003197/0.2674, allocations: 2.031 MB / 446.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001478/0.2689, allocations: 0.831 MB / 447.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001483/0.2704, allocations: 0.8993 MB / 448.5 MB, free: 6.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001973/0.2724, allocations: 1.098 MB / 449.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005295/0.2729, allocations: 228 kB / 449.8 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008766/0.2738, allocations: 319.8 kB / 450.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007349/0.2745, allocations: 0.635 MB / 450.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001217/0.2757, allocations: 1.034 MB / 451.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003563/0.2793, allocations: 3.005 MB / 454.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2793, allocations: 4 kB / 454.8 MB, free: 500 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2793, allocations: 0 / 454.8 MB, free: 500 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.535e-05/0.2794, allocations: 3.984 kB / 454.8 MB, free: 496 kB / 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.004524/0.2839, allocations: 2.182 MB / 457 MB, free: 14.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.2839, allocations: 8.031 kB / 457 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006343/0.2846, allocations: 231.6 kB / 457.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002181/0.2867, allocations: 1.142 MB / 458.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.2869, allocations: 111.4 kB / 458.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002683/0.2872, allocations: 159.9 kB / 458.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003238/0.2904, allocations: 1.959 MB / 460.6 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.942e-05/0.2905, allocations: 15.88 kB / 460.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001469/0.2906, allocations: 63.98 kB / 460.7 MB, free: 10.47 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000114/0.2907, allocations: 78.91 kB / 460.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002638/0.2934, allocations: 1.581 MB / 462.3 MB, free: 8.809 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01051/0.3039, allocations: 6.294 MB / 468.6 MB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.3053, allocations: 0.8043 MB / 469.4 MB, free: 1.465 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.3064, allocations: 0.5413 MB / 470 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002432/0.3066, allocations: 113.6 kB / 470.1 MB, free: 0.793 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.895e-05/0.3067, allocations: 47.12 kB / 470.1 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.825e-06/0.3067, allocations: 0 / 470.1 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01412/0.3208, allocations: 5.854 MB / 476 MB, free: 10.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.3209, allocations: 60.41 kB / 476 MB, free: 10.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001731/0.3226, allocations: 1.149 MB / 477.2 MB, free: 9.512 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.716e-05/0.3227, allocations: 37.7 kB / 477.2 MB, free: 9.469 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006474/0.3233, allocations: 0.8003 MB / 478 MB, free: 8.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002731/0.3236, allocations: 317.3 kB / 478.3 MB, free: 8.348 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003337/0.3239, allocations: 210.9 kB / 478.5 MB, free: 8.137 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.3241, allocations: 353.9 kB / 478.9 MB, free: 7.785 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008073/0.3249, allocations: 0.5374 MB / 479.4 MB, free: 7.246 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.326, allocations: 0.8835 MB / 480.3 MB, free: 6.215 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002007/0.328, allocations: 1.524 MB / 481.8 MB, free: 4.543 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3281, allocations: 0 / 481.8 MB, free: 4.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003467/0.3315, allocations: 2.051 MB / 483.9 MB, free: 2.465 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.3315, allocations: 11.12 kB / 483.9 MB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/0.3316, allocations: 15.94 kB / 483.9 MB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001431/0.333, allocations: 0.5477 MB / 484.5 MB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008519/0.3338, allocations: 247.6 kB / 484.7 MB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009295/0.3431, allocations: 8.648 MB / 493.4 MB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008936/0.344, allocations: 79.89 kB / 493.4 MB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.762e-05/0.3441, allocations: 47.98 kB / 493.5 MB, free: 8.297 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.0008533/0.345, allocations: 0.5169 MB / 494 MB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/0.3452, allocations: 131.3 kB / 494.1 MB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003106/0.3483, allocations: 1.762 MB / 495.9 MB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/0.3483, allocations: 12 kB / 495.9 MB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3483, allocations: 4 kB / 495.9 MB, free: 5.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.3483, allocations: 3.984 kB / 495.9 MB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006476/0.3548, allocations: 3.729 MB / 499.6 MB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.3548, allocations: 4 kB / 499.6 MB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005453/0.3554, allocations: 119.9 kB / 499.8 MB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001606/0.357, allocations: 0.5967 MB / 0.4886 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.898e-05/0.357, allocations: 27.98 kB / 0.4887 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009058/0.3661, allocations: 7.709 MB / 0.4962 GB, free: 9.141 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.3661, allocations: 4 kB / 0.4962 GB, free: 9.137 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00401/0.3701, allocations: 2.477 MB / 0.4986 GB, free: 6.609 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00075/0.3709, allocations: 320.2 kB / 0.4989 GB, free: 6.277 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001762/0.371, allocations: 23.94 kB / 0.4989 GB, free: 6.254 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006663/0.3717, allocations: 59.88 kB / 0.499 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/0.3719, allocations: 68.55 kB / 0.4991 GB, free: 6.125 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.314e-05/0.3719, allocations: 20.25 kB / 0.4991 GB, free: 6.105 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001234/0.3732, allocations: 0.7895 MB / 0.4998 GB, free: 5.309 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3732, allocations: 0 / 0.4998 GB, free: 5.309 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001325/0.3745, allocations: 380 kB / 0.5002 GB, free: 4.938 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.0003446/0.3748, allocations: 183.2 kB / 0.5004 GB, free: 4.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003491/0.3783, allocations: 2.072 MB / 0.5024 GB, free: 2.586 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/0.3783, allocations: 3.984 kB / 0.5024 GB, free: 2.582 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002166/0.3805, allocations: 1.264 MB / 0.5036 GB, free: 1.262 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/0.3822, allocations: 384.9 kB / 0.504 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005357/0.3876, allocations: 3.349 MB / 0.5073 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/0.3888, allocations: 1.464 MB / 0.5087 GB, free: 11.99 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007804/0.3896, allocations: 267 kB / 0.509 GB, free: 11.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/0.3898, allocations: 83.42 kB / 0.509 GB, free: 11.64 MB / 430.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3898, allocations: 0 / 0.509 GB, free: 11.64 MB / 430.1 MB Notification: Performance of Templates: time 0.04026/0.4301, allocations: 22.65 MB / 0.5312 GB, free: 5.23 MB / 446.1 MB " [Timeout remaining time 660] 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 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.527174839284271] Failed to read output from testmodel.py, exit status != 0: ['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'] 0.4396517490968108 0.6158866399999999 0.333863356 Calling exit ...