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.0008214/0.0008214, allocations: 87.62 kB / 21.44 MB, free: 3.125 MB / 18.57 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.003478/0.003478, allocations: 158.7 kB / 24.7 MB, free: 8.91 MB / 18.57 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 0.8501/0.8501, allocations: 177.1 MB / 205 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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 1.533e-06/1.533e-06, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.266e-05, allocations: 6.281 kB / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.005933/0.005956, allocations: 7.312 MB / 333.2 MB, free: 8.055 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003486/0.009442, allocations: 2.586 MB / 335.7 MB, free: 5.461 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004503/0.009893, allocations: 47.69 kB / 335.8 MB, free: 5.414 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.0111, allocations: 0.6017 MB / 336.4 MB, free: 4.809 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000915/0.01201, allocations: 0.6946 MB / 337.1 MB, free: 4.109 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003602/0.01237, allocations: 287.5 kB / 337.4 MB, free: 3.828 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001328/0.0137, allocations: 2.123 MB / 339.5 MB, free: 1.691 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007391/0.01444, allocations: 0.7924 MB / 340.3 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.0155, allocations: 1.333 MB / 341.6 MB, free: 15.51 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007642/0.01626, allocations: 0.9079 MB / 342.5 MB, free: 14.6 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001693/0.01643, allocations: 224 kB / 342.7 MB, free: 14.38 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003406/0.01677, allocations: 311.8 kB / 343 MB, free: 14.08 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005537/0.01733, allocations: 0.666 MB / 343.7 MB, free: 13.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004694/0.0178, allocations: 0.7171 MB / 344.4 MB, free: 12.69 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002068/0.01987, allocations: 3.034 MB / 347.5 MB, free: 9.645 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.01987, allocations: 0 / 347.5 MB, free: 9.645 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.01987, allocations: 0 / 347.5 MB, free: 9.645 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.341e-05/0.0199, allocations: 0 / 347.5 MB, free: 9.645 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.002506/0.0224, allocations: 2.087 MB / 349.6 MB, free: 7.516 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.02245, allocations: 8.031 kB / 349.6 MB, free: 7.508 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004128/0.02286, allocations: 227.6 kB / 349.8 MB, free: 7.285 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.02431, allocations: 1.085 MB / 350.9 MB, free: 6.172 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.956e-05/0.02437, allocations: 111.4 kB / 351 MB, free: 6.062 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/0.02454, allocations: 160.3 kB / 351.1 MB, free: 5.906 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/0.02665, allocations: 2.063 MB / 353.2 MB, free: 3.773 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.849e-05/0.02668, allocations: 7.938 kB / 353.2 MB, free: 3.766 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.521e-05/0.02678, allocations: 64 kB / 353.3 MB, free: 3.703 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.179e-05/0.02684, allocations: 70.92 kB / 353.3 MB, free: 3.633 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/0.02851, allocations: 1.585 MB / 354.9 MB, free: 2.043 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005586/0.03409, allocations: 5.436 MB / 360.4 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009153/0.03501, allocations: 0.7218 MB / 361.1 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006155/0.03562, allocations: 0.546 MB / 361.6 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001502/0.03577, allocations: 36.62 kB / 361.7 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.0358, allocations: 43.16 kB / 361.7 MB, free: 11.04 MB / 330.7 MB Notification: Performance of pre-optimization done (n=65): time 2.605e-06/0.0358, allocations: 0 / 361.7 MB, free: 11.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=85): time 0.007694/0.0435, allocations: 5.467 MB / 367.2 MB, free: 5.527 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.04354, allocations: 60.41 kB / 367.2 MB, free: 5.453 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009865/0.04453, allocations: 0.9961 MB / 368.2 MB, free: 4.434 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.652e-05/0.04458, allocations: 41.7 kB / 368.3 MB, free: 4.387 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004032/0.04498, allocations: 0.804 MB / 369.1 MB, free: 3.574 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.04513, allocations: 313.3 kB / 369.4 MB, free: 3.266 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002195/0.04535, allocations: 206.9 kB / 369.6 MB, free: 3.059 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.04546, allocations: 361.8 kB / 369.9 MB, free: 2.699 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005332/0.046, allocations: 0.5452 MB / 370.5 MB, free: 2.152 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006798/0.04668, allocations: 0.8798 MB / 371.4 MB, free: 1.129 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.04809, allocations: 1.516 MB / 372.9 MB, free: 15.47 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.0481, allocations: 8 kB / 372.9 MB, free: 15.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00209/0.05019, allocations: 2.02 MB / 374.9 MB, free: 13.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/0.05022, allocations: 8 kB / 374.9 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.05023, allocations: 15.94 kB / 374.9 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008302/0.05106, allocations: 0.5594 MB / 375.5 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004461/0.05151, allocations: 243.6 kB / 375.7 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005532/0.05704, allocations: 8.103 MB / 383.8 MB, free: 4.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005761/0.05762, allocations: 72.05 kB / 383.9 MB, free: 4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-05/0.05768, allocations: 55.98 kB / 383.9 MB, free: 3.945 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.0007459/0.05842, allocations: 0.5208 MB / 384.5 MB, free: 3.414 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.05855, allocations: 111.4 kB / 384.6 MB, free: 3.305 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002018/0.06057, allocations: 1.749 MB / 386.3 MB, free: 1.523 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.06057, allocations: 8 kB / 386.3 MB, free: 1.516 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.06058, allocations: 4 kB / 386.3 MB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.06059, allocations: 12.02 kB / 386.3 MB, free: 1.5 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003485/0.06407, allocations: 3.324 MB / 389.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.06408, allocations: 7.938 kB / 389.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.06435, allocations: 127.8 kB / 389.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000823/0.06517, allocations: 0.5878 MB / 390.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.312e-05/0.06522, allocations: 27.92 kB / 390.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004867/0.07008, allocations: 7.274 MB / 397.7 MB, free: 5.766 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.07009, allocations: 3.938 kB / 397.7 MB, free: 5.762 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/0.07241, allocations: 2.456 MB / 400.2 MB, free: 3.258 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004942/0.07291, allocations: 223.2 kB / 400.4 MB, free: 3.039 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.031e-05/0.07299, allocations: 23.98 kB / 400.4 MB, free: 3.016 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003098/0.0733, allocations: 63.81 kB / 400.5 MB, free: 2.953 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.07341, allocations: 68.52 kB / 400.5 MB, free: 2.887 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.708e-05/0.07345, allocations: 28 kB / 400.6 MB, free: 2.859 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006391/0.07409, allocations: 0.6684 MB / 401.2 MB, free: 2.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.07409, allocations: 0 / 401.2 MB, free: 2.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009457/0.07503, allocations: 379.9 kB / 401.6 MB, free: 1.809 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.0002776/0.07531, allocations: 172.1 kB / 401.8 MB, free: 1.629 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00188/0.07719, allocations: 1.929 MB / 403.7 MB, free: 15.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.07719, allocations: 0 / 403.7 MB, free: 15.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.07825, allocations: 1.188 MB / 404.9 MB, free: 14.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007995/0.07905, allocations: 302.3 kB / 405.2 MB, free: 14.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/0.08241, allocations: 3.203 MB / 408.4 MB, free: 10.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005952/0.08301, allocations: 0.8704 MB / 409.2 MB, free: 9.953 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.08317, allocations: 84.48 kB / 409.3 MB, free: 9.871 MB / 378.7 MB Notification: Performance of SimCode: time 1.303e-06/0.08317, allocations: 0 / 409.3 MB, free: 9.871 MB / 378.7 MB Notification: Performance of Templates: time 0.1707/0.2539, allocations: 58.98 MB / 468.3 MB, free: 108.2 MB / 410.7 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: 8.423056846484542] 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.2602874571457505 0.26583860000000004 0.24466291 Calling exit ...