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.001168/0.001168, allocations: 80.06 kB / 21.19 MB, free: 3.383 MB / 18.57 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.001158/0.001158, allocations: 141.5 kB / 24.54 MB, free: 32 kB / 18.57 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 0.9502/0.9502, allocations: 173.3 MB / 201.1 MB, free: 8.48 MB / 186.7 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.[0-9,]+.|loadInertia.phi|loadInertia.w|imc.idq_sr.[0-9,]+.|imc.is.[0-9,]+.|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.[0-9,]+.|loadInertia.phi|loadInertia.w|imc.idq_sr.[0-9,]+.|imc.is.[0-9,]+.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 268 MB, free: 6.125 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.549e-05, allocations: 2.312 kB / 268 MB, free: 6.121 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01006/0.01009, allocations: 8.171 MB / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005504/0.01559, allocations: 2.645 MB / 278.8 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007836/0.01638, allocations: 51.62 kB / 278.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00157/0.01795, allocations: 0.5978 MB / 279.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001396/0.01934, allocations: 0.6907 MB / 280.2 MB, free: 9.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005223/0.01987, allocations: 295.5 kB / 280.4 MB, free: 9.621 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002037/0.0219, allocations: 2.103 MB / 282.5 MB, free: 7.508 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.02301, allocations: 0.8041 MB / 283.4 MB, free: 6.656 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001492/0.0245, allocations: 1.329 MB / 284.7 MB, free: 5.324 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.02574, allocations: 0.9859 MB / 285.7 MB, free: 4.336 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002995/0.02604, allocations: 228 kB / 285.9 MB, free: 4.113 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005343/0.02658, allocations: 307.8 kB / 286.2 MB, free: 3.812 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006027/0.02718, allocations: 0.666 MB / 286.9 MB, free: 3.145 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007938/0.02797, allocations: 0.7211 MB / 287.6 MB, free: 2.422 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001985/0.02996, allocations: 1.631 MB / 289.2 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.02996, allocations: 0 / 289.2 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.02996, allocations: 0 / 289.2 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.233e-05/0.02999, allocations: 0 / 289.2 MB, free: 0.7852 MB / 266.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.1291/0.1591, allocations: 2.246 MB / 291.5 MB, free: 28.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.1591, allocations: 10.41 kB / 291.5 MB, free: 28.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005831/0.1597, allocations: 351 kB / 291.8 MB, free: 28.42 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.161, allocations: 1.053 MB / 292.9 MB, free: 28.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.301e-05/0.1611, allocations: 117.4 kB / 293 MB, free: 28.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/0.1613, allocations: 157.1 kB / 293.1 MB, free: 28.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.163, allocations: 1.259 MB / 294.4 MB, free: 27.85 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.851e-05/0.1631, allocations: 6.062 kB / 294.4 MB, free: 27.85 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.824e-05/0.1632, allocations: 63.03 kB / 294.5 MB, free: 27.85 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.49e-05/0.1632, allocations: 77.06 kB / 294.5 MB, free: 27.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.1644, allocations: 0.5594 MB / 295.1 MB, free: 27.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005434/0.1698, allocations: 5.284 MB / 300.4 MB, free: 24.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007522/0.1706, allocations: 423 kB / 300.8 MB, free: 24.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005254/0.1711, allocations: 311.3 kB / 301.1 MB, free: 24.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001522/0.1713, allocations: 47.05 kB / 301.1 MB, free: 24.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.1713, allocations: 52.64 kB / 301.2 MB, free: 24.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 2.785e-06/0.1713, allocations: 0 / 301.2 MB, free: 24.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=85): time 0.004818/0.1761, allocations: 2.986 MB / 304.2 MB, free: 23.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.1761, allocations: 60.81 kB / 304.2 MB, free: 23.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007562/0.1769, allocations: 0.9226 MB / 305.2 MB, free: 23.08 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.182e-05/0.1769, allocations: 41.11 kB / 305.2 MB, free: 23.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/0.1772, allocations: 0.8777 MB / 306.1 MB, free: 22.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.1774, allocations: 316 kB / 306.4 MB, free: 22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/0.1775, allocations: 214.8 kB / 306.6 MB, free: 21.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.77e-05/0.1776, allocations: 0.5301 MB / 307.1 MB, free: 21.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.1779, allocations: 185.8 kB / 307.3 MB, free: 21.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003763/0.1782, allocations: 0.656 MB / 308 MB, free: 20.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007211/0.179, allocations: 0.9496 MB / 308.9 MB, free: 19.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.179, allocations: 4 kB / 308.9 MB, free: 19.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.001449/0.1804, allocations: 1.184 MB / 310.1 MB, free: 18.37 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.1804, allocations: 8 kB / 310.1 MB, free: 18.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.1805, allocations: 16 kB / 310.1 MB, free: 18.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008694/0.1813, allocations: 405.4 kB / 310.5 MB, free: 17.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000429/0.1817, allocations: 239.6 kB / 310.7 MB, free: 17.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003121/0.1849, allocations: 8.313 MB / 319.1 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004093/0.1853, allocations: 71.77 kB / 319.1 MB, free: 8.852 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.372e-05/0.1853, allocations: 47.94 kB / 319.2 MB, free: 8.805 MB / 266.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.0002431/0.1856, allocations: 232.2 kB / 319.4 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.1857, allocations: 139.3 kB / 319.5 MB, free: 8.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.1869, allocations: 0.9408 MB / 320.5 MB, free: 7.465 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1869, allocations: 8 kB / 320.5 MB, free: 7.457 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1869, allocations: 7.938 kB / 320.5 MB, free: 7.449 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.1869, allocations: 11.98 kB / 320.5 MB, free: 7.438 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002735/0.1897, allocations: 2.422 MB / 322.9 MB, free: 4.945 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.1897, allocations: 6.078 kB / 322.9 MB, free: 4.941 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002788/0.1899, allocations: 123.8 kB / 323.1 MB, free: 4.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007606/0.1907, allocations: 376.3 kB / 323.4 MB, free: 4.441 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.344e-05/0.1907, allocations: 24 kB / 323.4 MB, free: 4.418 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003383/0.1941, allocations: 6.619 MB / 330.1 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1941, allocations: 4 kB / 330.1 MB, free: 13.44 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.1957, allocations: 1.308 MB / 331.4 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003045/0.1961, allocations: 207.2 kB / 331.6 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.685e-05/0.1961, allocations: 20 kB / 331.6 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002989/0.1964, allocations: 59.92 kB / 331.7 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.1966, allocations: 72.47 kB / 331.7 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-05/0.1966, allocations: 31.98 kB / 331.8 MB, free: 11.68 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005645/0.1972, allocations: 0.5431 MB / 332.3 MB, free: 11.12 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1972, allocations: 4 kB / 332.3 MB, free: 11.12 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009011/0.1981, allocations: 377.9 kB / 332.7 MB, free: 10.75 MB / 282.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.0002874/0.1983, allocations: 181.9 kB / 332.9 MB, free: 10.57 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001632/0.2, allocations: 1.567 MB / 334.4 MB, free: 8.926 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2, allocations: 0 / 334.4 MB, free: 8.926 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.201, allocations: 1.101 MB / 335.5 MB, free: 7.766 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000855/0.2019, allocations: 313.3 kB / 335.8 MB, free: 7.465 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003353/0.2052, allocations: 2.777 MB / 338.6 MB, free: 4.625 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.2055, allocations: 425.1 kB / 339 MB, free: 4.188 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003893/0.2059, allocations: 205.9 kB / 339.2 MB, free: 3.984 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.2061, allocations: 76.48 kB / 339.3 MB, free: 3.91 MB / 282.7 MB Notification: Performance of SimCode: time 7.71e-07/0.2061, allocations: 0 / 339.3 MB, free: 3.91 MB / 282.7 MB Notification: Performance of Templates: time 0.02452/0.2306, allocations: 20.67 MB / 360 MB, free: 15.56 MB / 314.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.2851128042675555]