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.002738/0.002738, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.003046/0.003046, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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 1.631/1.631, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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 1.623e-06/1.623e-06, allocations: 0 / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.098e-05/3.26e-05, allocations: 2.312 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01634/0.01637, allocations: 8.14 MB / 280.5 MB, free: 9.645 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007587/0.02396, allocations: 2.672 MB / 283.1 MB, free: 6.961 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.02524, allocations: 51.69 kB / 283.2 MB, free: 6.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002615/0.02785, allocations: 0.6017 MB / 283.8 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002084/0.02993, allocations: 0.6945 MB / 284.5 MB, free: 5.605 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008035/0.03074, allocations: 291.5 kB / 284.8 MB, free: 5.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00321/0.03395, allocations: 2.116 MB / 286.9 MB, free: 3.195 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/0.03529, allocations: 0.8002 MB / 287.7 MB, free: 2.344 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002186/0.03747, allocations: 1.341 MB / 289 MB, free: 1 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001703/0.03918, allocations: 0.9742 MB / 290 MB, free: 24 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.1098/0.149, allocations: 226.4 kB / 290.2 MB, free: 17.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/0.1503, allocations: 315.6 kB / 290.5 MB, free: 17.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000801/0.1511, allocations: 0.6723 MB / 291.2 MB, free: 17.51 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001208/0.1523, allocations: 0.7183 MB / 291.9 MB, free: 17.51 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004134/0.1565, allocations: 3.051 MB / 295 MB, free: 17.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1565, allocations: 0 / 295 MB, free: 17.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1565, allocations: 2 kB / 295 MB, free: 17.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.086e-05/0.1565, allocations: 0 / 295 MB, free: 17.38 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.004681/0.1612, allocations: 2.416 MB / 297.4 MB, free: 16.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1613, allocations: 9.656 kB / 297.4 MB, free: 16.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009337/0.1622, allocations: 354 kB / 297.8 MB, free: 16.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002084/0.1643, allocations: 1.067 MB / 298.8 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.325e-05/0.1644, allocations: 117.4 kB / 298.9 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002564/0.1646, allocations: 158 kB / 299.1 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003031/0.1676, allocations: 1.899 MB / 301 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.405e-05/0.1677, allocations: 2.062 kB / 301 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001545/0.1679, allocations: 65.3 kB / 301.1 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.95e-05/0.1679, allocations: 80.45 kB / 301.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002011/0.17, allocations: 1.174 MB / 302.3 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009575/0.1795, allocations: 7.527 MB / 309.8 MB, free: 9.746 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009686/0.1805, allocations: 0.4978 MB / 310.3 MB, free: 9.512 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007042/0.1812, allocations: 382.3 kB / 310.7 MB, free: 9.352 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001812/0.1814, allocations: 54.09 kB / 310.8 MB, free: 9.328 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.1814, allocations: 45.05 kB / 310.8 MB, free: 9.281 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 2.064e-06/0.1814, allocations: 0 / 310.8 MB, free: 9.281 MB / 266.7 MB Notification: Performance of matching and sorting (n=85): time 0.007744/0.1892, allocations: 3.244 MB / 314 MB, free: 6.914 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.1892, allocations: 60.41 kB / 314.1 MB, free: 6.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.1904, allocations: 1.24 MB / 315.3 MB, free: 5.574 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.918e-05/0.1905, allocations: 41.7 kB / 315.4 MB, free: 5.527 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003812/0.1909, allocations: 0.9259 MB / 316.3 MB, free: 4.594 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/0.1911, allocations: 344.1 kB / 316.6 MB, free: 4.262 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003123/0.1914, allocations: 259.9 kB / 316.9 MB, free: 4.004 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1915, allocations: 0.5667 MB / 317.5 MB, free: 3.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004302/0.1919, allocations: 274.5 kB / 317.7 MB, free: 3.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005937/0.1925, allocations: 0.7921 MB / 318.5 MB, free: 2.176 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.1936, allocations: 1.171 MB / 319.7 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.1936, allocations: 7.375 kB / 319.7 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002554/0.1962, allocations: 1.363 MB / 321.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.1962, allocations: 11.98 kB / 321.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/0.1962, allocations: 16 kB / 321.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001794/0.198, allocations: 419.8 kB / 321.5 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008823/0.1989, allocations: 241.6 kB / 321.7 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009656/0.2086, allocations: 8.556 MB / 330.3 MB, free: 5.863 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.2096, allocations: 79.89 kB / 330.4 MB, free: 5.785 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.2098, allocations: 51.66 kB / 330.4 MB, free: 5.738 MB / 282.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.0009208/0.2107, allocations: 454.2 kB / 330.9 MB, free: 5.297 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003218/0.211, allocations: 155.2 kB / 331 MB, free: 5.145 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002869/0.2139, allocations: 1.037 MB / 332.1 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.2139, allocations: 12 kB / 332.1 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.2139, allocations: 4 kB / 332.1 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.2139, allocations: 7.984 kB / 332.1 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006644/0.2205, allocations: 2.913 MB / 335 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.2205, allocations: 4 kB / 335 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005666/0.2211, allocations: 122.8 kB / 335.1 MB, free: 1.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001617/0.2227, allocations: 386.2 kB / 335.5 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-05/0.2228, allocations: 23.98 kB / 335.5 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008551/0.2314, allocations: 6.801 MB / 342.3 MB, free: 9.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.2314, allocations: 4 kB / 342.3 MB, free: 9.477 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003354/0.2347, allocations: 1.501 MB / 343.8 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007673/0.2355, allocations: 207.2 kB / 344 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/0.2357, allocations: 23.98 kB / 344.1 MB, free: 7.703 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006598/0.2363, allocations: 55.94 kB / 344.1 MB, free: 7.648 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/0.2365, allocations: 76.45 kB / 344.2 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.415e-05/0.2366, allocations: 28 kB / 344.2 MB, free: 7.547 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001248/0.2378, allocations: 0.7386 MB / 344.9 MB, free: 6.797 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2378, allocations: 0 / 344.9 MB, free: 6.797 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0016/0.2394, allocations: 371.9 kB / 345.3 MB, free: 6.434 MB / 298.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.0004304/0.2399, allocations: 178.2 kB / 345.5 MB, free: 6.258 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003771/0.2436, allocations: 1.748 MB / 347.2 MB, free: 4.477 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.2436, allocations: 0 / 347.2 MB, free: 4.477 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002275/0.2459, allocations: 1.176 MB / 348.4 MB, free: 3.262 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/0.2477, allocations: 322.1 kB / 348.7 MB, free: 2.961 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005576/0.2533, allocations: 2.903 MB / 351.6 MB, free: 15.99 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/0.2545, allocations: 0.8275 MB / 352.5 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007841/0.2553, allocations: 213.8 kB / 352.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/0.2555, allocations: 76.48 kB / 352.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of SimCode: time 1.272e-06/0.2555, allocations: 0 / 352.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of Templates: time 0.04128/0.2968, allocations: 20.76 MB / 373.5 MB, free: 10.44 MB / 330.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.444767902023159]