Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.47/1.47, allocations: 230.6 MB / 258.2 MB, free: 7.816 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 47.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2329, allocations: 53.37 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.009936/0.2428, allocations: 7.297 MB / 439.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005304/0.2481, allocations: 2.571 MB / 442.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/0.2492, allocations: 55.69 kB / 442.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002005/0.2512, allocations: 0.5941 MB / 442.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002078/0.2533, allocations: 0.6718 MB / 443.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007829/0.2541, allocations: 291.6 kB / 443.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002716/0.2568, allocations: 2.031 MB / 445.8 MB, free: 9.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.2582, allocations: 0.807 MB / 446.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001462/0.2596, allocations: 0.9227 MB / 447.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001747/0.2614, allocations: 1.012 MB / 448.6 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004644/0.2618, allocations: 228 kB / 448.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007832/0.2626, allocations: 311.8 kB / 449.1 MB, free: 5.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008031/0.2634, allocations: 0.6427 MB / 449.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001358/0.2648, allocations: 0.8285 MB / 450.6 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00351/0.2683, allocations: 3.036 MB / 453.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2683, allocations: 0 / 453.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2683, allocations: 0 / 453.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.9e-05/0.2683, allocations: 0 / 453.6 MB, free: 1.316 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.004109/0.2725, allocations: 2.105 MB / 455.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.2725, allocations: 12.03 kB / 455.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006079/0.2731, allocations: 227.6 kB / 456 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002204/0.2753, allocations: 1.074 MB / 457 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.2754, allocations: 119.3 kB / 457.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002588/0.2757, allocations: 163.9 kB / 457.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003313/0.279, allocations: 2.055 MB / 459.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.772e-05/0.279, allocations: 7.891 kB / 459.4 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/0.2792, allocations: 64 kB / 459.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-05/0.2793, allocations: 74.92 kB / 459.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002669/0.2819, allocations: 1.581 MB / 461.1 MB, free: 9.695 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009788/0.2917, allocations: 5.444 MB / 466.5 MB, free: 4.055 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.2931, allocations: 0.7287 MB / 467.3 MB, free: 3.316 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/0.2941, allocations: 0.5343 MB / 467.8 MB, free: 2.777 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001892/0.2943, allocations: 40.62 kB / 467.8 MB, free: 2.734 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/0.2944, allocations: 51.16 kB / 467.9 MB, free: 2.676 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.635e-06/0.2944, allocations: 0 / 467.9 MB, free: 2.676 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01363/0.308, allocations: 5.466 MB / 473.4 MB, free: 13.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.3081, allocations: 68.28 kB / 473.4 MB, free: 13.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/0.3097, allocations: 0.9999 MB / 474.4 MB, free: 12.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.936e-05/0.3097, allocations: 41.7 kB / 474.5 MB, free: 12.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006887/0.3104, allocations: 0.8002 MB / 475.3 MB, free: 11.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002976/0.3107, allocations: 317.3 kB / 475.6 MB, free: 10.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003527/0.3111, allocations: 210.9 kB / 475.8 MB, free: 10.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.3113, allocations: 345.9 kB / 476.1 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008477/0.3121, allocations: 0.5452 MB / 476.7 MB, free: 9.797 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/0.3133, allocations: 0.8834 MB / 477.5 MB, free: 8.762 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002143/0.3154, allocations: 1.524 MB / 479.1 MB, free: 7.094 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.3154, allocations: 4 kB / 479.1 MB, free: 7.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003717/0.3191, allocations: 2.024 MB / 481.1 MB, free: 5.035 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.3192, allocations: 8 kB / 481.1 MB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.307e-05/0.3192, allocations: 12.34 kB / 481.1 MB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00149/0.3207, allocations: 0.5629 MB / 481.7 MB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008591/0.3215, allocations: 247.6 kB / 481.9 MB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009469/0.331, allocations: 8.099 MB / 490 MB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009983/0.332, allocations: 71.88 kB / 490.1 MB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/0.3321, allocations: 47.98 kB / 490.1 MB, free: 11.57 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.0009639/0.3331, allocations: 0.5248 MB / 490.7 MB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003005/0.3334, allocations: 119.2 kB / 490.8 MB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003244/0.3367, allocations: 1.746 MB / 492.5 MB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.3367, allocations: 8 kB / 492.5 MB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.802e-05/0.3367, allocations: 4 kB / 492.5 MB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.3367, allocations: 3.984 kB / 492.5 MB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006621/0.3433, allocations: 3.328 MB / 495.9 MB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.3433, allocations: 0 / 495.9 MB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005558/0.3439, allocations: 131.8 kB / 496 MB, free: 5.609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001615/0.3455, allocations: 0.5928 MB / 496.6 MB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-05/0.3456, allocations: 23.98 kB / 496.6 MB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008809/0.3544, allocations: 7.265 MB / 0.4921 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.3544, allocations: 7.938 kB / 0.4921 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004098/0.3585, allocations: 2.464 MB / 0.4945 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006805/0.3592, allocations: 223.1 kB / 0.4947 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002289/0.3594, allocations: 23.98 kB / 0.4947 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006781/0.3601, allocations: 55.94 kB / 0.4948 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/0.3602, allocations: 68.52 kB / 0.4948 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.674e-05/0.3603, allocations: 28 kB / 0.4949 GB, free: 10.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001128/0.3614, allocations: 0.6684 MB / 0.4955 GB, free: 9.812 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3614, allocations: 0 / 0.4955 GB, free: 9.812 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001358/0.3628, allocations: 368 kB / 0.4959 GB, free: 9.453 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.0003622/0.3632, allocations: 175 kB / 0.496 GB, free: 9.273 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003433/0.3666, allocations: 1.937 MB / 0.4979 GB, free: 7.281 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.3666, allocations: 0 / 0.4979 GB, free: 7.281 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002116/0.3687, allocations: 1.2 MB / 0.4991 GB, free: 6.043 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/0.3702, allocations: 301.7 kB / 0.4994 GB, free: 5.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005791/0.376, allocations: 3.372 MB / 0.5027 GB, free: 2.316 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001139/0.3772, allocations: 0.8665 MB / 0.5035 GB, free: 1.414 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003356/0.3775, allocations: 79.42 kB / 0.5036 GB, free: 1.336 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3775, allocations: 0 / 0.5036 GB, free: 1.336 MB / 414.1 MB Notification: Performance of Templates: time 0.2463/0.6238, allocations: 58.93 MB / 0.5611 GB, free: 87.78 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 11.722648813854903] 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.6325715440325439 0.641736059 0.37102856700000003 Calling exit ...