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.001682/0.001682, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.002308/0.002308, allocations: 214.8 kB / 24.48 MB, free: 3.957 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.465/1.465, allocations: 230.6 MB / 258.3 MB, free: 7.742 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.001553/0.001553, allocations: 51.92 kB / 379 MB, free: 2.539 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2475, allocations: 53.37 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01011/0.2576, allocations: 7.296 MB / 439.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00554/0.2631, allocations: 2.571 MB / 442.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009467/0.2641, allocations: 55.62 kB / 442.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001803/0.2659, allocations: 0.5899 MB / 442.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001757/0.2676, allocations: 0.6679 MB / 443.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006675/0.2683, allocations: 299.5 kB / 443.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002669/0.271, allocations: 2.039 MB / 445.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001299/0.2723, allocations: 0.8354 MB / 446.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001759/0.274, allocations: 0.915 MB / 447.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002093/0.2761, allocations: 1.098 MB / 448.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004012/0.2765, allocations: 224 kB / 448.9 MB, free: 6.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007651/0.2773, allocations: 319.8 kB / 449.2 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007763/0.2781, allocations: 0.6505 MB / 449.9 MB, free: 5.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001181/0.2793, allocations: 0.8324 MB / 450.7 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003693/0.283, allocations: 3.024 MB / 453.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.283, allocations: 0 / 453.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.283, allocations: 4 kB / 453.7 MB, free: 1.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.453e-05/0.283, allocations: 0 / 453.7 MB, free: 1.188 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.00461/0.2876, allocations: 2.107 MB / 455.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.456e-05/0.2877, allocations: 8.031 kB / 455.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000673/0.2884, allocations: 227.6 kB / 456.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002431/0.2908, allocations: 1.078 MB / 457.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.2909, allocations: 111.4 kB / 457.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002784/0.2912, allocations: 163.9 kB / 457.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00355/0.2948, allocations: 2.055 MB / 459.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-05/0.2948, allocations: 7.953 kB / 459.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001477/0.295, allocations: 63.98 kB / 459.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/0.2951, allocations: 82.91 kB / 459.6 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002797/0.2979, allocations: 1.577 MB / 461.2 MB, free: 9.566 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0103/0.3082, allocations: 5.444 MB / 466.7 MB, free: 3.926 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/0.3096, allocations: 0.7285 MB / 467.4 MB, free: 3.188 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009958/0.3106, allocations: 0.5421 MB / 467.9 MB, free: 2.641 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002024/0.3108, allocations: 41.19 kB / 468 MB, free: 2.598 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.3108, allocations: 47.09 kB / 468 MB, free: 2.543 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.555e-06/0.3108, allocations: 0 / 468 MB, free: 2.543 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01357/0.3244, allocations: 5.458 MB / 473.5 MB, free: 13.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/0.3245, allocations: 68.28 kB / 473.5 MB, free: 12.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001577/0.326, allocations: 0.996 MB / 474.5 MB, free: 11.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.3261, allocations: 45.7 kB / 474.6 MB, free: 11.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006356/0.3268, allocations: 0.8078 MB / 475.4 MB, free: 11.08 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002979/0.3271, allocations: 321.3 kB / 475.7 MB, free: 10.76 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003454/0.3274, allocations: 202.9 kB / 475.9 MB, free: 10.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.3276, allocations: 349.9 kB / 476.2 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008498/0.3285, allocations: 0.5413 MB / 476.8 MB, free: 9.668 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/0.3296, allocations: 0.8835 MB / 477.7 MB, free: 8.633 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001996/0.3316, allocations: 1.524 MB / 479.2 MB, free: 6.965 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.3316, allocations: 4 kB / 479.2 MB, free: 6.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003665/0.3353, allocations: 2.024 MB / 481.2 MB, free: 4.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.3353, allocations: 20.03 kB / 481.2 MB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/0.3353, allocations: 12 kB / 481.2 MB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001564/0.3369, allocations: 0.5514 MB / 481.8 MB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008966/0.3378, allocations: 243.6 kB / 482 MB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009015/0.3468, allocations: 8.099 MB / 490.1 MB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.3479, allocations: 75.86 kB / 490.2 MB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.348, allocations: 48.09 kB / 490.3 MB, free: 11.45 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.001022/0.349, allocations: 0.5209 MB / 490.8 MB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002686/0.3492, allocations: 119.2 kB / 490.9 MB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003245/0.3525, allocations: 1.746 MB / 492.6 MB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.3525, allocations: 8 kB / 492.6 MB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.3525, allocations: 4 kB / 492.7 MB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.3525, allocations: 4.078 kB / 492.7 MB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006939/0.3595, allocations: 3.332 MB / 496 MB, free: 5.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.3595, allocations: 0 / 496 MB, free: 5.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005866/0.3601, allocations: 128 kB / 496.1 MB, free: 5.484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001695/0.3618, allocations: 0.5991 MB / 496.7 MB, free: 4.875 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.638e-05/0.3618, allocations: 20 kB / 496.7 MB, free: 4.855 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009129/0.371, allocations: 7.262 MB / 0.4922 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-05/0.371, allocations: 15.88 kB / 0.4922 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004291/0.3753, allocations: 2.449 MB / 0.4946 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007784/0.376, allocations: 227.2 kB / 0.4948 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/0.3762, allocations: 24 kB / 0.4948 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006871/0.3769, allocations: 52.19 kB / 0.4949 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001889/0.3771, allocations: 72.45 kB / 0.4949 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.016e-05/0.3772, allocations: 35.98 kB / 0.495 GB, free: 10.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001103/0.3783, allocations: 0.6606 MB / 0.4956 GB, free: 9.695 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3783, allocations: 4 kB / 0.4956 GB, free: 9.691 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001433/0.3797, allocations: 376 kB / 0.496 GB, free: 9.324 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.0004116/0.3801, allocations: 183 kB / 0.4962 GB, free: 9.137 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003523/0.3836, allocations: 1.93 MB / 0.498 GB, free: 7.152 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3836, allocations: 0 / 0.498 GB, free: 7.152 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002254/0.3859, allocations: 1.196 MB / 0.4992 GB, free: 5.918 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/0.3876, allocations: 300.9 kB / 0.4995 GB, free: 5.625 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006168/0.3937, allocations: 3.379 MB / 0.5028 GB, free: 2.188 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/0.3949, allocations: 0.8665 MB / 0.5036 GB, free: 1.285 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003777/0.3952, allocations: 75.44 kB / 0.5037 GB, free: 1.211 MB / 414.1 MB Notification: Performance of SimCode: time 1.393e-06/0.3952, allocations: 0 / 0.5037 GB, free: 1.211 MB / 414.1 MB Notification: Performance of Templates: time 0.2718/0.667, allocations: 58.92 MB / 0.5613 GB, free: 87.08 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.587266118003754] 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.6766226350155193 0.6858050179999999 0.40041913100000004 Calling exit ...