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.001763/0.001763, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.00213/0.00213, allocations: 163.1 kB / 24.49 MB, free: 3.453 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.423/1.423, allocations: 177.2 MB / 204.9 MB, free: 8.941 MB / 190.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.001531/0.001531, allocations: 51.5 kB / 325.6 MB, free: 280 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09107/0.0926, allocations: 53.34 MB / 378.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.009605/0.1022, allocations: 7.292 MB / 386.2 MB, free: 8.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004547/0.1068, allocations: 2.571 MB / 388.8 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004854/0.1072, allocations: 55.62 kB / 388.8 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.1087, allocations: 0.5902 MB / 389.4 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001348/0.1101, allocations: 0.6796 MB / 390.1 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005505/0.1106, allocations: 279.6 kB / 390.4 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002137/0.1127, allocations: 2.043 MB / 392.4 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001182/0.1139, allocations: 0.8041 MB / 393.2 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/0.115, allocations: 0.9072 MB / 394.1 MB, free: 368 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001407/0.1164, allocations: 1.019 MB / 395.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003102/0.1167, allocations: 228 kB / 395.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005556/0.1173, allocations: 311.8 kB / 395.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006925/0.118, allocations: 0.6428 MB / 396.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009179/0.1189, allocations: 0.8324 MB / 397.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003018/0.1219, allocations: 3.036 MB / 400.2 MB, free: 10.28 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1219, allocations: 0 / 400.2 MB, free: 10.28 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1219, allocations: 0 / 400.2 MB, free: 10.28 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.836e-05/0.122, allocations: 0 / 400.2 MB, free: 10.28 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.003826/0.1258, allocations: 2.107 MB / 402.3 MB, free: 8.133 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.1258, allocations: 8.031 kB / 402.3 MB, free: 8.125 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005978/0.1264, allocations: 227.6 kB / 402.5 MB, free: 7.902 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0019/0.1283, allocations: 1.074 MB / 403.6 MB, free: 6.793 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.1284, allocations: 119.4 kB / 403.7 MB, free: 6.676 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000235/0.1287, allocations: 155.9 kB / 403.9 MB, free: 6.523 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003159/0.1318, allocations: 2.059 MB / 405.9 MB, free: 4.395 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.957e-05/0.1319, allocations: 7.953 kB / 405.9 MB, free: 4.387 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/0.132, allocations: 60 kB / 406 MB, free: 4.328 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.162e-05/0.1321, allocations: 74.92 kB / 406.1 MB, free: 4.254 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002612/0.1347, allocations: 1.589 MB / 407.7 MB, free: 2.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008676/0.1434, allocations: 5.455 MB / 413.1 MB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.1448, allocations: 0.7219 MB / 413.8 MB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/0.1458, allocations: 0.5421 MB / 414.4 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000192/0.146, allocations: 36.62 kB / 414.4 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/0.1461, allocations: 47.16 kB / 414.5 MB, free: 11.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=65): time 2.174e-06/0.1461, allocations: 0 / 414.5 MB, free: 11.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.01383/0.1599, allocations: 5.458 MB / 419.9 MB, free: 6.141 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.1599, allocations: 72.34 kB / 420 MB, free: 6.055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/0.1616, allocations: 0.9922 MB / 421 MB, free: 5.039 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.298e-05/0.1617, allocations: 41.7 kB / 421 MB, free: 4.992 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006671/0.1624, allocations: 0.8079 MB / 421.8 MB, free: 4.176 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002812/0.1626, allocations: 313.3 kB / 422.1 MB, free: 3.867 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003508/0.163, allocations: 210.9 kB / 422.3 MB, free: 3.652 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.1632, allocations: 357.9 kB / 422.7 MB, free: 3.297 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008633/0.164, allocations: 0.5452 MB / 423.2 MB, free: 2.754 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.1652, allocations: 0.8798 MB / 424.1 MB, free: 1.723 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002179/0.1674, allocations: 1.524 MB / 425.6 MB, free: 56 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.852e-05/0.1674, allocations: 4 kB / 425.6 MB, free: 52 kB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004181/0.1716, allocations: 2.028 MB / 427.7 MB, free: 13.99 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.1716, allocations: 14.5 kB / 427.7 MB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/0.1716, allocations: 8 kB / 427.7 MB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001532/0.1731, allocations: 0.5632 MB / 428.3 MB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000884/0.174, allocations: 239.6 kB / 428.5 MB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009074/0.1831, allocations: 8.108 MB / 436.6 MB, free: 4.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009624/0.1841, allocations: 67.88 kB / 436.7 MB, free: 4.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.1842, allocations: 51.98 kB / 436.7 MB, free: 4.527 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.0008943/0.1851, allocations: 0.513 MB / 437.2 MB, free: 4.004 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000282/0.1854, allocations: 127.3 kB / 437.4 MB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003331/0.1887, allocations: 1.746 MB / 439.1 MB, free: 2.113 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.1887, allocations: 8 kB / 439.1 MB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.1887, allocations: 11.94 kB / 439.1 MB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.1887, allocations: 7.984 kB / 439.1 MB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006574/0.1953, allocations: 3.312 MB / 442.4 MB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.1953, allocations: 4 kB / 442.4 MB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000564/0.1959, allocations: 123.8 kB / 442.6 MB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001652/0.1975, allocations: 0.5998 MB / 443.2 MB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.81e-05/0.1976, allocations: 27.98 kB / 443.2 MB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008864/0.2065, allocations: 7.263 MB / 450.5 MB, free: 6.371 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.2065, allocations: 3.938 kB / 450.5 MB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004036/0.2105, allocations: 2.464 MB / 452.9 MB, free: 3.848 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005759/0.2111, allocations: 223.2 kB / 453.1 MB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/0.2113, allocations: 23.98 kB / 453.2 MB, free: 3.605 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006846/0.2119, allocations: 55.94 kB / 453.2 MB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.2121, allocations: 76.45 kB / 453.3 MB, free: 3.477 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.537e-05/0.2122, allocations: 20 kB / 453.3 MB, free: 3.457 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001017/0.2132, allocations: 0.6723 MB / 454 MB, free: 2.773 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2132, allocations: 3.938 kB / 454 MB, free: 2.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001353/0.2145, allocations: 375.9 kB / 454.4 MB, free: 2.402 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.0003482/0.2149, allocations: 178.2 kB / 454.5 MB, free: 2.223 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003553/0.2184, allocations: 1.929 MB / 456.5 MB, free: 244 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.2184, allocations: 4 kB / 456.5 MB, free: 240 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002168/0.2206, allocations: 1.196 MB / 457.7 MB, free: 15 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.2221, allocations: 307.1 kB / 458 MB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005414/0.2275, allocations: 3.312 MB / 461.3 MB, free: 11.33 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/0.2286, allocations: 0.8783 MB / 462.1 MB, free: 10.42 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007116/0.2293, allocations: 253.8 kB / 462.4 MB, free: 10.17 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000241/0.2296, allocations: 76.5 kB / 462.5 MB, free: 10.09 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2296, allocations: 0 / 462.5 MB, free: 10.09 MB / 430.1 MB Notification: Performance of Templates: time 0.2121/0.4417, allocations: 20.66 MB / 483.1 MB, free: 81.73 MB / 430.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 -s ida -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.175770731992088] 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.44870191905647516 0.45809393600000003 0.334101751 Calling exit ...