Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 108.6 kB / 21.18 MB, free: 0.7812 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 185.9 kB / 24.47 MB, free: 4.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 253.3 MB, free: 12.99 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 47.94 kB / 371.7 MB, free: 9.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2654, allocations: 52.19 MB / 423.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01123/0.2767, allocations: 8.258 MB / 432.2 MB, free: 6.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005661/0.2823, allocations: 2.703 MB / 434.9 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001108/0.2834, allocations: 47.69 kB / 434.9 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002058/0.2855, allocations: 0.6523 MB / 435.6 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002031/0.2875, allocations: 0.664 MB / 436.2 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008455/0.2884, allocations: 291.5 kB / 436.5 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002976/0.2914, allocations: 2.039 MB / 438.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001473/0.2928, allocations: 0.8314 MB / 439.4 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001529/0.2944, allocations: 0.9032 MB / 440.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001886/0.2962, allocations: 1.094 MB / 441.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004917/0.2967, allocations: 228 kB / 441.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008247/0.2976, allocations: 319.8 kB / 441.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008203/0.2984, allocations: 0.6505 MB / 442.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00171/0.3001, allocations: 1.023 MB / 443.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004085/0.3042, allocations: 3.009 MB / 446.6 MB, free: 7.816 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3042, allocations: 0 / 446.6 MB, free: 7.816 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3042, allocations: 3.938 kB / 446.6 MB, free: 7.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.278e-05/0.3043, allocations: 0 / 446.6 MB, free: 7.812 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.005152/0.3094, allocations: 2.103 MB / 448.7 MB, free: 5.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3095, allocations: 12.03 kB / 448.7 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007252/0.3102, allocations: 219.7 kB / 448.9 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002403/0.3126, allocations: 1.078 MB / 450 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.3127, allocations: 111.4 kB / 450.1 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003316/0.313, allocations: 160.1 kB / 450.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003879/0.3169, allocations: 1.959 MB / 452.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.312e-05/0.317, allocations: 7.953 kB / 452.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001933/0.3172, allocations: 64 kB / 452.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001237/0.3173, allocations: 74.92 kB / 452.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00311/0.3204, allocations: 1.585 MB / 454 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01112/0.3315, allocations: 6.164 MB / 460.1 MB, free: 9.949 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.333, allocations: 0.7331 MB / 460.9 MB, free: 9.207 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.334, allocations: 0.5383 MB / 461.4 MB, free: 8.664 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002089/0.3342, allocations: 44.56 kB / 461.4 MB, free: 8.617 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/0.3343, allocations: 43.22 kB / 461.5 MB, free: 8.566 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 3.627e-06/0.3343, allocations: 0 / 461.5 MB, free: 8.566 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01406/0.3483, allocations: 5.473 MB / 466.9 MB, free: 3.059 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.3484, allocations: 68.34 kB / 467 MB, free: 2.977 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/0.3504, allocations: 1.148 MB / 468.2 MB, free: 1.812 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.3505, allocations: 41.7 kB / 468.2 MB, free: 1.766 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007314/0.3513, allocations: 0.7886 MB / 469 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003279/0.3516, allocations: 305.4 kB / 469.3 MB, free: 0.668 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003972/0.352, allocations: 214.8 kB / 469.5 MB, free: 460 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.3522, allocations: 349.9 kB / 469.8 MB, free: 104 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009239/0.3531, allocations: 0.5414 MB / 470.4 MB, free: 15.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.3543, allocations: 0.8835 MB / 471.3 MB, free: 14.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002169/0.3565, allocations: 1.527 MB / 472.8 MB, free: 12.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/0.3565, allocations: 4 kB / 472.8 MB, free: 12.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003914/0.3604, allocations: 2.032 MB / 474.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.3604, allocations: 12.03 kB / 474.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.368e-05/0.3605, allocations: 12 kB / 474.9 MB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001559/0.362, allocations: 0.5591 MB / 475.4 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009086/0.3629, allocations: 243.6 kB / 475.7 MB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009859/0.3728, allocations: 8.253 MB / 483.9 MB, free: 1.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.3739, allocations: 71.86 kB / 484 MB, free: 1.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001773/0.3741, allocations: 44 kB / 484 MB, free: 1.129 MB / 382.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.001069/0.3751, allocations: 0.5248 MB / 484.5 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003456/0.3755, allocations: 131.2 kB / 484.7 MB, free: 476 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003461/0.3789, allocations: 1.751 MB / 486.4 MB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.3789, allocations: 15.88 kB / 486.4 MB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/0.379, allocations: 4 kB / 486.4 MB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/0.379, allocations: 8.078 kB / 486.4 MB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007673/0.3866, allocations: 3.701 MB / 490.2 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.3867, allocations: 4 kB / 490.2 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005787/0.3872, allocations: 123.9 kB / 490.3 MB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001692/0.3889, allocations: 0.603 MB / 490.9 MB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.01e-05/0.389, allocations: 23.98 kB / 490.9 MB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00934/0.3984, allocations: 7.385 MB / 498.3 MB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.3984, allocations: 8 kB / 498.3 MB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004228/0.4026, allocations: 2.469 MB / 0.489 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007477/0.4033, allocations: 243.2 kB / 0.4893 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002946/0.4036, allocations: 28.17 kB / 0.4893 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007669/0.4044, allocations: 55.94 kB / 0.4893 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/0.4046, allocations: 76.39 kB / 0.4894 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.431e-05/0.4047, allocations: 28 kB / 0.4894 GB, free: 15.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001426/0.4061, allocations: 0.7854 MB / 0.4902 GB, free: 14.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4061, allocations: 0 / 0.4902 GB, free: 14.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001492/0.4076, allocations: 383.9 kB / 0.4906 GB, free: 14.27 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.0003798/0.408, allocations: 186.8 kB / 0.4908 GB, free: 14.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003649/0.4116, allocations: 1.925 MB / 0.4926 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.4116, allocations: 0 / 0.4926 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002284/0.4139, allocations: 1.185 MB / 0.4938 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002259/0.4162, allocations: 363 kB / 0.4941 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006999/0.4232, allocations: 3.395 MB / 0.4974 GB, free: 7.062 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001717/0.4249, allocations: 1.452 MB / 0.4989 GB, free: 5.582 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004126/0.4253, allocations: 87.42 kB / 0.499 GB, free: 5.496 MB / 414.1 MB Notification: Performance of SimCode: time 1.302e-06/0.4253, allocations: 0 / 0.499 GB, free: 5.496 MB / 414.1 MB Notification: Performance of Templates: time 0.2665/0.6918, allocations: 59.35 MB / 0.5569 GB, free: 97.42 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 12.400980167090893] 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.701117716031149 0.710731448 0.40405953199999994 Calling exit ...