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.001539/0.001539, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001682/0.001682, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.415/1.415, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.001498/0.001498, allocations: 47.92 kB / 379 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2387, allocations: 53.36 MB / 432.4 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01018/0.2489, allocations: 8.288 MB / 440.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005141/0.254, allocations: 2.767 MB / 443.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008504/0.2549, allocations: 47.69 kB / 443.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.2566, allocations: 0.6483 MB / 444.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001835/0.2584, allocations: 0.6757 MB / 444.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006636/0.2591, allocations: 291.5 kB / 445.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002716/0.2618, allocations: 2.042 MB / 447.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.2631, allocations: 0.8315 MB / 448 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001439/0.2645, allocations: 0.9149 MB / 448.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001693/0.2662, allocations: 1.105 MB / 450 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003984/0.2666, allocations: 227.9 kB / 450.2 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007623/0.2674, allocations: 319.8 kB / 450.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007301/0.2681, allocations: 0.6427 MB / 451.2 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001274/0.2694, allocations: 1.031 MB / 452.2 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003794/0.2732, allocations: 3.005 MB / 455.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.2732, allocations: 0 / 455.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2732, allocations: 0 / 455.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.203e-05/0.2732, allocations: 0 / 455.2 MB, free: 15.97 MB / 366.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.004593/0.2778, allocations: 2.114 MB / 457.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.2779, allocations: 8.031 kB / 457.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006146/0.2785, allocations: 227.6 kB / 457.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002137/0.2806, allocations: 1.07 MB / 458.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.2807, allocations: 115.4 kB / 458.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002505/0.281, allocations: 163.9 kB / 458.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003287/0.2843, allocations: 1.951 MB / 460.9 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.1e-05/0.2843, allocations: 11.94 kB / 460.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.2845, allocations: 60 kB / 460.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.38e-05/0.2845, allocations: 78.92 kB / 461 MB, free: 10.06 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002637/0.2872, allocations: 1.589 MB / 462.6 MB, free: 8.469 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009944/0.2971, allocations: 6.172 MB / 468.8 MB, free: 2.086 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.2985, allocations: 0.7285 MB / 469.5 MB, free: 1.348 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.2995, allocations: 0.5567 MB / 470 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001957/0.2997, allocations: 40.62 kB / 470.1 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.2997, allocations: 39.22 kB / 470.1 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.695e-06/0.2997, allocations: 0 / 470.1 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01296/0.3127, allocations: 5.477 MB / 475.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.3128, allocations: 60.41 kB / 475.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001718/0.3145, allocations: 1.152 MB / 476.8 MB, free: 9.941 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001017/0.3146, allocations: 45.7 kB / 476.9 MB, free: 9.891 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006289/0.3152, allocations: 0.7964 MB / 477.7 MB, free: 9.086 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002829/0.3155, allocations: 313.3 kB / 478 MB, free: 8.777 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003268/0.3158, allocations: 210.8 kB / 478.2 MB, free: 8.562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.316, allocations: 349.9 kB / 478.5 MB, free: 8.215 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008099/0.3168, allocations: 0.5413 MB / 479.1 MB, free: 7.676 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.3179, allocations: 0.8874 MB / 479.9 MB, free: 6.637 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002019/0.3199, allocations: 1.524 MB / 481.5 MB, free: 4.969 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.3199, allocations: 0 / 481.5 MB, free: 4.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003606/0.3235, allocations: 2.044 MB / 483.5 MB, free: 2.898 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.3235, allocations: 8.25 kB / 483.5 MB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.31e-05/0.3236, allocations: 19.94 kB / 483.5 MB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001463/0.325, allocations: 0.5552 MB / 484.1 MB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008436/0.3259, allocations: 243.6 kB / 484.3 MB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009268/0.3351, allocations: 8.245 MB / 492.6 MB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/0.3363, allocations: 71.83 kB / 492.6 MB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.304e-05/0.3364, allocations: 47.98 kB / 492.7 MB, free: 9.242 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.0009663/0.3374, allocations: 0.5248 MB / 493.2 MB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002987/0.3377, allocations: 127.2 kB / 493.3 MB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003084/0.3408, allocations: 1.755 MB / 495.1 MB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/0.3408, allocations: 12 kB / 495.1 MB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.3408, allocations: 4 kB / 495.1 MB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.3408, allocations: 3.984 kB / 495.1 MB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006488/0.3473, allocations: 3.698 MB / 498.8 MB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.3473, allocations: 0 / 498.8 MB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005309/0.3478, allocations: 123.9 kB / 498.9 MB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001551/0.3494, allocations: 0.5928 MB / 499.5 MB, free: 2.277 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.62e-05/0.3494, allocations: 27.92 kB / 499.6 MB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008526/0.358, allocations: 7.399 MB / 0.4951 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.358, allocations: 4 kB / 0.4951 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004035/0.362, allocations: 2.481 MB / 0.4975 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007941/0.3628, allocations: 243 kB / 0.4977 GB, free: 7.734 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/0.363, allocations: 31.92 kB / 0.4978 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006276/0.3636, allocations: 51.94 kB / 0.4978 GB, free: 7.652 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002043/0.3638, allocations: 72.52 kB / 0.4979 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-05/0.3638, allocations: 20 kB / 0.4979 GB, free: 7.562 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001255/0.3651, allocations: 0.7895 MB / 0.4987 GB, free: 6.766 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3651, allocations: 4 kB / 0.4987 GB, free: 6.762 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001391/0.3665, allocations: 379.9 kB / 0.499 GB, free: 6.391 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.0003745/0.3669, allocations: 184.6 kB / 0.4992 GB, free: 6.203 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003316/0.3702, allocations: 1.918 MB / 0.5011 GB, free: 4.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.3702, allocations: 4 kB / 0.5011 GB, free: 4.227 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002073/0.3723, allocations: 1.184 MB / 0.5022 GB, free: 3.004 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001761/0.374, allocations: 386.9 kB / 0.5026 GB, free: 2.637 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005794/0.3798, allocations: 3.41 MB / 0.5059 GB, free: 15.17 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001182/0.381, allocations: 1.444 MB / 0.5074 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003111/0.3813, allocations: 91.42 kB / 0.5074 GB, free: 13.61 MB / 430.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3813, allocations: 0 / 0.5074 GB, free: 13.61 MB / 430.1 MB Notification: Performance of Templates: time 0.2719/0.6532, allocations: 59.5 MB / 0.5655 GB, free: 82.36 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.735672567039728] 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.6621999049093574 0.6710772819999999 0.39563535000000005 Calling exit ...