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.001718/0.001718, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001742/0.001742, allocations: 215.3 kB / 23.74 MB, free: 4.656 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.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 8.039 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.002194/0.002194, allocations: 47.92 kB / 378.3 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2409, allocations: 53.36 MB / 431.6 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01084/0.2517, allocations: 8.278 MB / 439.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006021/0.2577, allocations: 2.767 MB / 442.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009646/0.2587, allocations: 47.69 kB / 442.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001856/0.2606, allocations: 0.6483 MB / 443.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001783/0.2624, allocations: 0.6718 MB / 444.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006275/0.263, allocations: 291.5 kB / 444.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002583/0.2656, allocations: 2.039 MB / 446.4 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/0.2667, allocations: 0.8393 MB / 447.2 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.2679, allocations: 0.9111 MB / 448.1 MB, free: 6.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001496/0.2694, allocations: 1.098 MB / 449.2 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003006/0.2697, allocations: 224 kB / 449.4 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005483/0.2703, allocations: 319.8 kB / 449.8 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000651/0.2709, allocations: 0.6505 MB / 450.4 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001023/0.272, allocations: 1.035 MB / 451.4 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003174/0.2751, allocations: 3.005 MB / 454.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2751, allocations: 0 / 454.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2751, allocations: 0 / 454.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.814e-05/0.2752, allocations: 0 / 454.4 MB, free: 15.99 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.00403/0.2792, allocations: 2.11 MB / 456.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.2793, allocations: 8.031 kB / 456.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005823/0.2798, allocations: 227.6 kB / 456.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/0.2818, allocations: 1.074 MB / 457.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.496e-05/0.2819, allocations: 111.4 kB / 458 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002379/0.2822, allocations: 167.8 kB / 458.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003042/0.2852, allocations: 1.951 MB / 460.1 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.898e-05/0.2852, allocations: 15.89 kB / 460.1 MB, free: 10.22 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/0.2854, allocations: 60 kB / 460.2 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000133/0.2855, allocations: 78.91 kB / 460.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002834/0.2883, allocations: 1.581 MB / 461.8 MB, free: 8.496 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009409/0.2978, allocations: 6.179 MB / 468 MB, free: 2.105 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.2991, allocations: 0.7309 MB / 468.7 MB, free: 1.367 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00099/0.3001, allocations: 0.542 MB / 469.3 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001819/0.3003, allocations: 44.56 kB / 469.3 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.3003, allocations: 43.22 kB / 469.4 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.114e-06/0.3003, allocations: 0 / 469.4 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.0129/0.3132, allocations: 5.481 MB / 474.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.3133, allocations: 64.34 kB / 474.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001639/0.3149, allocations: 1.152 MB / 476.1 MB, free: 9.957 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.569e-05/0.315, allocations: 41.7 kB / 476.1 MB, free: 9.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000642/0.3156, allocations: 0.7925 MB / 476.9 MB, free: 9.109 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002772/0.3159, allocations: 309.3 kB / 477.2 MB, free: 8.805 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003333/0.3162, allocations: 214.9 kB / 477.4 MB, free: 8.586 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.3164, allocations: 345.9 kB / 477.7 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008628/0.3173, allocations: 0.5452 MB / 478.3 MB, free: 7.699 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/0.3184, allocations: 0.8873 MB / 479.2 MB, free: 6.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002078/0.3204, allocations: 1.524 MB / 480.7 MB, free: 4.992 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.3204, allocations: 0 / 480.7 MB, free: 4.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00359/0.324, allocations: 2.04 MB / 482.7 MB, free: 2.926 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.3241, allocations: 12 kB / 482.7 MB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.46e-05/0.3241, allocations: 15.94 kB / 482.8 MB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001529/0.3256, allocations: 0.5553 MB / 483.3 MB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008678/0.3265, allocations: 243.6 kB / 483.6 MB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009222/0.3357, allocations: 8.241 MB / 491.8 MB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.3367, allocations: 75.81 kB / 491.9 MB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.713e-05/0.3368, allocations: 48 kB / 491.9 MB, free: 9.27 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.0009431/0.3378, allocations: 0.5247 MB / 492.4 MB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002322/0.338, allocations: 127.2 kB / 492.6 MB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003142/0.3411, allocations: 1.759 MB / 494.3 MB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.3411, allocations: 12 kB / 494.3 MB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3411, allocations: 4 kB / 494.3 MB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.3412, allocations: 3.984 kB / 494.3 MB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006456/0.3476, allocations: 3.705 MB / 498 MB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.3476, allocations: 0 / 498 MB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005509/0.3482, allocations: 127.8 kB / 498.2 MB, free: 2.895 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001562/0.3497, allocations: 0.5912 MB / 498.8 MB, free: 2.293 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-05/0.3498, allocations: 23.98 kB / 498.8 MB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008672/0.3585, allocations: 7.393 MB / 0.4943 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3585, allocations: 8 kB / 0.4943 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003965/0.3624, allocations: 2.481 MB / 0.4967 GB, free: 7.992 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000629/0.3631, allocations: 247.2 kB / 0.497 GB, free: 7.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001687/0.3632, allocations: 27.94 kB / 0.497 GB, free: 7.723 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006561/0.3639, allocations: 55.94 kB / 0.4971 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/0.364, allocations: 68.52 kB / 0.4971 GB, free: 7.602 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.068e-05/0.3641, allocations: 23.98 kB / 0.4972 GB, free: 7.578 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001182/0.3653, allocations: 0.7934 MB / 0.4979 GB, free: 6.777 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3653, allocations: 0 / 0.4979 GB, free: 6.777 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001272/0.3666, allocations: 379.9 kB / 0.4983 GB, free: 6.406 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.0003449/0.3669, allocations: 179 kB / 0.4985 GB, free: 6.223 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003337/0.3702, allocations: 1.929 MB / 0.5003 GB, free: 4.238 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3702, allocations: 0 / 0.5003 GB, free: 4.238 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002118/0.3724, allocations: 1.189 MB / 0.5015 GB, free: 3.012 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/0.3739, allocations: 377.3 kB / 0.5019 GB, free: 2.652 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005181/0.3791, allocations: 3.346 MB / 0.5051 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/0.3803, allocations: 1.46 MB / 0.5066 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006641/0.381, allocations: 263 kB / 0.5068 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002325/0.3812, allocations: 87.42 kB / 0.5069 GB, free: 13.42 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3812, allocations: 0 / 0.5069 GB, free: 13.42 MB / 430.1 MB Notification: Performance of Templates: time 0.05062/0.4319, allocations: 22.98 MB / 0.5293 GB, free: 6.664 MB / 446.1 MB " [Timeout remaining time 660] 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: 5.680764325894415] 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.44371425616554916 0.6502488940000001 0.37245361000000005 Calling exit ...