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.00157/0.00157, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001649/0.001649, allocations: 214.2 kB / 23.72 MB, free: 4.531 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.476/1.476, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.001624/0.001624, allocations: 43.92 kB / 378.2 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2827, allocations: 53.37 MB / 431.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01034/0.2931, allocations: 7.3 MB / 438.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005458/0.2985, allocations: 2.583 MB / 441.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009007/0.2994, allocations: 47.69 kB / 441.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001864/0.3013, allocations: 0.5902 MB / 442.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001998/0.3033, allocations: 0.6679 MB / 442.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007384/0.304, allocations: 295.6 kB / 443.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002606/0.3066, allocations: 2.039 MB / 445.1 MB, free: 9.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/0.3079, allocations: 0.8315 MB / 445.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.3094, allocations: 0.9227 MB / 446.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/0.3111, allocations: 1.094 MB / 447.9 MB, free: 6.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003697/0.3114, allocations: 232 kB / 448.2 MB, free: 6.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007114/0.3122, allocations: 311.8 kB / 448.5 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006854/0.3128, allocations: 0.6427 MB / 449.1 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009495/0.3138, allocations: 0.8324 MB / 450 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00355/0.3173, allocations: 3.035 MB / 453 MB, free: 1.215 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.3173, allocations: 4 kB / 453 MB, free: 1.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3173, allocations: 0 / 453 MB, free: 1.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.228e-05/0.3174, allocations: 0 / 453 MB, free: 1.211 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.004221/0.3216, allocations: 2.099 MB / 455.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.3217, allocations: 12.03 kB / 455.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005947/0.3223, allocations: 231.6 kB / 455.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002173/0.3244, allocations: 1.074 MB / 456.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.692e-05/0.3245, allocations: 107.4 kB / 456.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002522/0.3248, allocations: 163.9 kB / 456.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003352/0.3281, allocations: 2.059 MB / 458.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.196e-05/0.3282, allocations: 11.95 kB / 458.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/0.3283, allocations: 60 kB / 458.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.905e-05/0.3284, allocations: 74.92 kB / 458.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002705/0.3311, allocations: 1.585 MB / 460.5 MB, free: 9.594 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009978/0.3411, allocations: 5.44 MB / 465.9 MB, free: 3.957 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.3425, allocations: 0.729 MB / 466.6 MB, free: 3.219 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.3435, allocations: 0.5412 MB / 467.2 MB, free: 2.676 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002208/0.3437, allocations: 44.62 kB / 467.2 MB, free: 2.629 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.076e-05/0.3438, allocations: 43.16 kB / 467.3 MB, free: 2.578 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.415e-06/0.3438, allocations: 0 / 467.3 MB, free: 2.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01428/0.3581, allocations: 5.462 MB / 472.7 MB, free: 13.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.3581, allocations: 72.28 kB / 472.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/0.3596, allocations: 0.9999 MB / 473.8 MB, free: 11.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.778e-05/0.3597, allocations: 41.7 kB / 473.8 MB, free: 11.92 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000627/0.3604, allocations: 0.8002 MB / 474.6 MB, free: 11.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002785/0.3606, allocations: 317.3 kB / 474.9 MB, free: 10.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003321/0.361, allocations: 206.9 kB / 475.1 MB, free: 10.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.3611, allocations: 353.9 kB / 475.5 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008209/0.362, allocations: 0.5413 MB / 476 MB, free: 9.699 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.3631, allocations: 0.8757 MB / 476.9 MB, free: 8.672 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002015/0.3651, allocations: 1.527 MB / 478.4 MB, free: 7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.3651, allocations: 4 kB / 478.4 MB, free: 6.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003739/0.3688, allocations: 2.032 MB / 480.5 MB, free: 4.938 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.3689, allocations: 8 kB / 480.5 MB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.387e-05/0.3689, allocations: 12 kB / 480.5 MB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001594/0.3705, allocations: 0.5515 MB / 481 MB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009111/0.3714, allocations: 247.6 kB / 481.3 MB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00952/0.3809, allocations: 8.114 MB / 489.4 MB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.382, allocations: 71.88 kB / 489.5 MB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001586/0.3821, allocations: 47.98 kB / 489.5 MB, free: 11.47 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.001026/0.3832, allocations: 0.5132 MB / 490 MB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/0.3834, allocations: 123.2 kB / 490.1 MB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003253/0.3867, allocations: 1.746 MB / 491.9 MB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.3867, allocations: 11.98 kB / 491.9 MB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.3867, allocations: 4 kB / 491.9 MB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.3867, allocations: 3.984 kB / 491.9 MB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006592/0.3933, allocations: 3.328 MB / 495.2 MB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.3933, allocations: 0 / 495.2 MB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005574/0.3939, allocations: 136 kB / 495.4 MB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001634/0.3955, allocations: 0.5847 MB / 496 MB, free: 4.906 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.051e-05/0.3956, allocations: 23.98 kB / 496 MB, free: 4.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009877/0.4054, allocations: 7.268 MB / 0.4915 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/0.4054, allocations: 7.938 kB / 0.4915 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004838/0.4103, allocations: 2.456 MB / 0.4939 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008128/0.4111, allocations: 231.2 kB / 0.4941 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/0.4113, allocations: 23.98 kB / 0.4941 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006227/0.4119, allocations: 47.94 kB / 0.4941 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/0.4121, allocations: 76.45 kB / 0.4942 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.043e-05/0.4122, allocations: 24 kB / 0.4942 GB, free: 10.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001047/0.4132, allocations: 0.6684 MB / 0.4949 GB, free: 9.719 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4132, allocations: 0 / 0.4949 GB, free: 9.719 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001356/0.4146, allocations: 372 kB / 0.4952 GB, free: 9.355 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.0003371/0.4149, allocations: 179 kB / 0.4954 GB, free: 9.172 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003575/0.4185, allocations: 1.929 MB / 0.4973 GB, free: 7.188 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.4185, allocations: 0 / 0.4973 GB, free: 7.188 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002238/0.4207, allocations: 1.196 MB / 0.4985 GB, free: 5.953 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/0.4224, allocations: 305.5 kB / 0.4988 GB, free: 5.656 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005759/0.4281, allocations: 3.333 MB / 0.502 GB, free: 2.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/0.4292, allocations: 0.8743 MB / 0.5029 GB, free: 1.359 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008073/0.43, allocations: 245.8 kB / 0.5031 GB, free: 1.117 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/0.4302, allocations: 71.44 kB / 0.5032 GB, free: 1.047 MB / 414.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4302, allocations: 0 / 0.5032 GB, free: 1.047 MB / 414.1 MB Notification: Performance of Templates: time 0.04219/0.4724, allocations: 23.01 MB / 0.5256 GB, free: 10.38 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.562886504922062] 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.4819565280340612 0.681879052 0.36160777800000005 Calling exit ...