Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001331/0.001331, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.005938/0.005938, allocations: 160.8 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8877/0.8877, allocations: 177 MB / 204.9 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.318e-05/3.502e-05, allocations: 4.109 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.006681/0.006716, allocations: 7.317 MB / 333.1 MB, free: 7.996 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004882/0.0116, allocations: 2.582 MB / 335.7 MB, free: 5.406 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009433/0.01254, allocations: 51.69 kB / 335.7 MB, free: 5.355 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001552/0.01409, allocations: 0.5901 MB / 336.3 MB, free: 4.762 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001458/0.01555, allocations: 0.6945 MB / 337 MB, free: 4.062 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005346/0.01609, allocations: 291.5 kB / 337.3 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001873/0.01796, allocations: 2.119 MB / 339.4 MB, free: 1.648 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008877/0.01885, allocations: 0.808 MB / 340.2 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001649/0.0205, allocations: 1.329 MB / 341.6 MB, free: 15.46 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001388/0.02188, allocations: 0.9117 MB / 342.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003694/0.02225, allocations: 228 kB / 342.7 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004554/0.02271, allocations: 311.9 kB / 343 MB, free: 14.02 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004051/0.02311, allocations: 0.6543 MB / 343.7 MB, free: 13.36 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007727/0.02389, allocations: 0.7172 MB / 344.4 MB, free: 12.64 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002277/0.02616, allocations: 3.034 MB / 347.4 MB, free: 9.598 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.02617, allocations: 0 / 347.4 MB, free: 9.598 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.02617, allocations: 0 / 347.4 MB, free: 9.598 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.949e-05/0.02625, allocations: 3.938 kB / 347.4 MB, free: 9.594 MB / 314.7 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.003449/0.0297, allocations: 2.083 MB / 349.5 MB, free: 7.469 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.02975, allocations: 15.98 kB / 349.5 MB, free: 7.453 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004382/0.03019, allocations: 231.6 kB / 349.7 MB, free: 7.227 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.03152, allocations: 1.062 MB / 350.8 MB, free: 6.137 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.747e-05/0.03157, allocations: 115.4 kB / 350.9 MB, free: 6.023 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.03173, allocations: 160.3 kB / 351.1 MB, free: 5.867 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/0.03389, allocations: 2.059 MB / 353.1 MB, free: 3.738 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.977e-05/0.03393, allocations: 15.95 kB / 353.1 MB, free: 3.723 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.579e-05/0.03402, allocations: 67.97 kB / 353.2 MB, free: 3.656 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.058e-05/0.03408, allocations: 78.86 kB / 353.3 MB, free: 3.578 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001718/0.0358, allocations: 1.577 MB / 354.9 MB, free: 1.996 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006095/0.0419, allocations: 5.447 MB / 360.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008871/0.04278, allocations: 0.7172 MB / 361 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006013/0.04338, allocations: 0.5421 MB / 361.6 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001364/0.04352, allocations: 40.62 kB / 361.6 MB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.04355, allocations: 43.16 kB / 361.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of pre-optimization done (n=65): time 2.815e-06/0.04355, allocations: 4 kB / 361.7 MB, free: 10.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=85): time 0.007701/0.05125, allocations: 5.462 MB / 367.1 MB, free: 5.473 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.05129, allocations: 64.34 kB / 367.2 MB, free: 5.395 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00099/0.05228, allocations: 0.9922 MB / 368.2 MB, free: 4.379 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.922e-05/0.05233, allocations: 41.7 kB / 368.2 MB, free: 4.332 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003596/0.05269, allocations: 0.804 MB / 369 MB, free: 3.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/0.05286, allocations: 321.3 kB / 369.3 MB, free: 3.203 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/0.05307, allocations: 202.9 kB / 369.5 MB, free: 3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.837e-05/0.05317, allocations: 357.9 kB / 369.9 MB, free: 2.645 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005098/0.05368, allocations: 0.5452 MB / 370.4 MB, free: 2.098 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008722/0.05455, allocations: 0.8798 MB / 371.3 MB, free: 1.074 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.05577, allocations: 1.531 MB / 372.8 MB, free: 15.4 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.05578, allocations: 4 kB / 372.8 MB, free: 15.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002149/0.05793, allocations: 2.024 MB / 374.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.05795, allocations: 11.12 kB / 374.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.05797, allocations: 12 kB / 374.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000858/0.05882, allocations: 0.5516 MB / 375.4 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004718/0.0593, allocations: 243.6 kB / 375.7 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005452/0.06475, allocations: 8.093 MB / 383.8 MB, free: 4.016 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007175/0.06546, allocations: 75.89 kB / 383.8 MB, free: 3.941 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.567e-05/0.06553, allocations: 44 kB / 383.9 MB, free: 3.898 MB / 346.7 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.0007753/0.06631, allocations: 0.5209 MB / 384.4 MB, free: 3.367 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.06648, allocations: 111.3 kB / 384.5 MB, free: 3.258 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002122/0.0686, allocations: 1.75 MB / 386.3 MB, free: 1.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.06861, allocations: 8 kB / 386.3 MB, free: 1.473 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.06862, allocations: 11.98 kB / 386.3 MB, free: 1.461 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.06863, allocations: 7.922 kB / 386.3 MB, free: 1.453 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003832/0.07246, allocations: 3.324 MB / 389.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.07246, allocations: 4.031 kB / 389.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002926/0.07276, allocations: 123.9 kB / 389.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008841/0.07364, allocations: 0.5997 MB / 390.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.053e-05/0.07369, allocations: 27.92 kB / 390.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005287/0.07898, allocations: 7.274 MB / 397.6 MB, free: 5.715 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.07898, allocations: 7.938 kB / 397.6 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002729/0.08171, allocations: 2.449 MB / 400.1 MB, free: 3.207 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004539/0.08217, allocations: 235.1 kB / 400.3 MB, free: 2.977 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.887e-05/0.08224, allocations: 23.98 kB / 400.3 MB, free: 2.953 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00033/0.08257, allocations: 51.88 kB / 400.4 MB, free: 2.902 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.0827, allocations: 72.47 kB / 400.5 MB, free: 2.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.752e-05/0.08274, allocations: 27.98 kB / 400.5 MB, free: 2.805 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006662/0.0834, allocations: 0.6644 MB / 401.2 MB, free: 2.129 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.0834, allocations: 4 kB / 401.2 MB, free: 2.125 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009116/0.08431, allocations: 379.9 kB / 401.5 MB, free: 1.754 MB / 362.7 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.0002841/0.0846, allocations: 167.3 kB / 401.7 MB, free: 1.578 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002032/0.08663, allocations: 1.925 MB / 403.6 MB, free: 15.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.08663, allocations: 0 / 403.6 MB, free: 15.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001108/0.08774, allocations: 1.185 MB / 404.8 MB, free: 14.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008894/0.08863, allocations: 313.3 kB / 405.1 MB, free: 14.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003887/0.09252, allocations: 3.213 MB / 408.3 MB, free: 10.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006564/0.09317, allocations: 0.8665 MB / 409.2 MB, free: 9.895 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/0.09337, allocations: 80.48 kB / 409.3 MB, free: 9.816 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.09337, allocations: 4 kB / 409.3 MB, free: 9.812 MB / 378.7 MB Notification: Performance of Templates: time 0.1658/0.2592, allocations: 58.98 MB / 468.3 MB, free: 108 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.413551083765924] 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.26651185378432274 0.272143713 0.24452437900000001 Calling exit ...