Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 161.4 kB / 24.49 MB, free: 3.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 173.4 MB / 201.1 MB, free: 12.67 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 51.72 kB / 319.4 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1027, allocations: 52.16 MB / 371.6 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01747/0.1202, allocations: 7.259 MB / 378.8 MB, free: 28 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007804/0.128, allocations: 2.54 MB / 381.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007211/0.1287, allocations: 47.69 kB / 381.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002511/0.1312, allocations: 0.5863 MB / 382 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002445/0.1337, allocations: 0.668 MB / 382.7 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.1347, allocations: 287.6 kB / 383 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003899/0.1386, allocations: 2.035 MB / 385 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002016/0.1406, allocations: 0.7924 MB / 385.8 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001823/0.1425, allocations: 0.9149 MB / 386.7 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002326/0.1448, allocations: 1.012 MB / 387.7 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006055/0.1454, allocations: 227.9 kB / 387.9 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009956/0.1464, allocations: 311.8 kB / 388.2 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001153/0.1475, allocations: 0.6428 MB / 388.9 MB, free: 5.898 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001548/0.1491, allocations: 0.8363 MB / 389.7 MB, free: 5.059 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004281/0.1534, allocations: 3.017 MB / 392.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1534, allocations: 0 / 392.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1534, allocations: 0 / 392.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.2e-05/0.1534, allocations: 0 / 392.7 MB, free: 2.031 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.004281/0.1577, allocations: 2.115 MB / 394.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.1577, allocations: 8.922 kB / 394.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005885/0.1583, allocations: 219.7 kB / 395.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002011/0.1603, allocations: 1.078 MB / 396.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.603e-05/0.1604, allocations: 111.4 kB / 396.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002446/0.1607, allocations: 160.1 kB / 396.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003246/0.1639, allocations: 2.055 MB / 398.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.167e-05/0.164, allocations: 11.95 kB / 398.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/0.1641, allocations: 59.98 kB / 398.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.46e-05/0.1642, allocations: 74.92 kB / 398.6 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002686/0.1669, allocations: 1.585 MB / 400.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008772/0.1757, allocations: 5.444 MB / 405.6 MB, free: 4.777 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.177, allocations: 0.7366 MB / 406.4 MB, free: 4.031 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001077/0.1781, allocations: 0.5421 MB / 406.9 MB, free: 3.484 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001793/0.1783, allocations: 40.62 kB / 407 MB, free: 3.441 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.1783, allocations: 43.16 kB / 407 MB, free: 3.391 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.074e-06/0.1783, allocations: 3.938 kB / 407 MB, free: 3.387 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01392/0.1923, allocations: 5.458 MB / 412.5 MB, free: 13.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.1923, allocations: 60.41 kB / 412.5 MB, free: 13.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.1937, allocations: 0.9995 MB / 413.5 MB, free: 12.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.333e-05/0.1937, allocations: 37.7 kB / 413.6 MB, free: 12.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006252/0.1944, allocations: 0.8041 MB / 414.4 MB, free: 11.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002662/0.1946, allocations: 317.3 kB / 414.7 MB, free: 11.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003372/0.195, allocations: 206.9 kB / 414.9 MB, free: 11.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.1951, allocations: 357.9 kB / 415.2 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008353/0.196, allocations: 0.5413 MB / 415.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.1971, allocations: 0.8759 MB / 416.6 MB, free: 9.496 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00211/0.1992, allocations: 1.527 MB / 418.2 MB, free: 7.824 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.1992, allocations: 4 kB / 418.2 MB, free: 7.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003527/0.2027, allocations: 2.032 MB / 420.2 MB, free: 5.762 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.2028, allocations: 8 kB / 420.2 MB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.2028, allocations: 12 kB / 420.2 MB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00146/0.2042, allocations: 0.5477 MB / 420.8 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008644/0.2051, allocations: 243.6 kB / 421 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009137/0.2142, allocations: 8.111 MB / 429.1 MB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000763/0.215, allocations: 79.81 kB / 429.2 MB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.185e-05/0.2151, allocations: 48 kB / 429.2 MB, free: 12.3 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.0008024/0.2159, allocations: 0.513 MB / 429.8 MB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001984/0.2161, allocations: 119.2 kB / 429.9 MB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00319/0.2193, allocations: 1.742 MB / 431.6 MB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.2193, allocations: 11.94 kB / 431.6 MB, free: 9.879 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.2193, allocations: 4 kB / 431.6 MB, free: 9.875 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.2193, allocations: 7.984 kB / 431.6 MB, free: 9.867 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006079/0.2254, allocations: 3.32 MB / 435 MB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.2254, allocations: 7.938 kB / 435 MB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005518/0.2259, allocations: 123.9 kB / 435.1 MB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001633/0.2276, allocations: 0.5888 MB / 435.7 MB, free: 5.742 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.89e-05/0.2276, allocations: 27.98 kB / 435.7 MB, free: 5.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008853/0.2365, allocations: 7.27 MB / 443 MB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.2365, allocations: 15.86 kB / 443 MB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003971/0.2405, allocations: 2.452 MB / 445.4 MB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005226/0.241, allocations: 227.4 kB / 445.7 MB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/0.2411, allocations: 23.98 kB / 445.7 MB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006261/0.2418, allocations: 55.94 kB / 445.7 MB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.2419, allocations: 76.45 kB / 445.8 MB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.545e-05/0.242, allocations: 28 kB / 445.8 MB, free: 11.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009576/0.2429, allocations: 0.6643 MB / 446.5 MB, free: 10.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2429, allocations: 0 / 446.5 MB, free: 10.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00126/0.2442, allocations: 371.9 kB / 446.9 MB, free: 10.18 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.0003255/0.2445, allocations: 178.9 kB / 447 MB, free: 9.996 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003289/0.2478, allocations: 1.933 MB / 449 MB, free: 8.008 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.2478, allocations: 0 / 449 MB, free: 8.008 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002171/0.25, allocations: 1.189 MB / 450.2 MB, free: 6.777 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.2514, allocations: 305.3 kB / 450.5 MB, free: 6.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005208/0.2566, allocations: 3.315 MB / 453.8 MB, free: 3.109 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/0.2577, allocations: 0.8782 MB / 454.7 MB, free: 2.195 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000646/0.2583, allocations: 241.8 kB / 454.9 MB, free: 1.957 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002197/0.2586, allocations: 84.47 kB / 455 MB, free: 1.875 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2586, allocations: 0 / 455 MB, free: 1.875 MB / 414.1 MB Notification: Performance of Templates: time 0.2358/0.4944, allocations: 20.54 MB / 475.5 MB, free: 91.36 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.224294358049519] 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.5025314469821751 0.516727037 0.36100850700000003 Calling exit ...