Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001953/0.001953, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002431/0.002431, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.489e-05/2.642e-05, allocations: 2.312 kB / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01105/0.01108, allocations: 7.306 MB / 279.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005696/0.01677, allocations: 2.563 MB / 282.1 MB, free: 7.875 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000931/0.0177, allocations: 51.62 kB / 282.1 MB, free: 7.824 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001891/0.0196, allocations: 0.6057 MB / 282.7 MB, free: 7.215 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002011/0.02161, allocations: 0.7063 MB / 283.5 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007393/0.02235, allocations: 283.5 kB / 283.7 MB, free: 6.227 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002911/0.02526, allocations: 2.116 MB / 285.8 MB, free: 4.105 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001465/0.02672, allocations: 0.7963 MB / 286.6 MB, free: 3.258 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002519/0.02924, allocations: 1.333 MB / 288 MB, free: 1.922 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001699/0.03094, allocations: 0.9039 MB / 288.9 MB, free: 1.016 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000506/0.03145, allocations: 228 kB / 289.1 MB, free: 0.793 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008634/0.03231, allocations: 315.8 kB / 289.4 MB, free: 496 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.111/0.1434, allocations: 0.655 MB / 290.1 MB, free: 17.69 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00159/0.1449, allocations: 0.7168 MB / 290.8 MB, free: 17.69 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003817/0.1488, allocations: 3.037 MB / 293.8 MB, free: 17.56 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1488, allocations: 1.062 kB / 293.8 MB, free: 17.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1488, allocations: 0 / 293.8 MB, free: 17.56 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.833e-05/0.1488, allocations: 0 / 293.8 MB, free: 17.56 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.004313/0.1532, allocations: 2.088 MB / 295.9 MB, free: 16.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.1532, allocations: 14.05 kB / 295.9 MB, free: 16.65 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008573/0.154, allocations: 355.2 kB / 296.3 MB, free: 16.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001768/0.1558, allocations: 1.117 MB / 297.4 MB, free: 16.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.429e-05/0.1559, allocations: 117.9 kB / 297.5 MB, free: 16.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002454/0.1561, allocations: 158.4 kB / 297.7 MB, free: 16.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003141/0.1593, allocations: 2.054 MB / 299.7 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.016e-05/0.1593, allocations: 9.906 kB / 299.7 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/0.1595, allocations: 61.06 kB / 299.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.566e-05/0.1596, allocations: 78.7 kB / 299.9 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002381/0.162, allocations: 1.584 MB / 301.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008276/0.1702, allocations: 5.536 MB / 307 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.1713, allocations: 0.7301 MB / 307.7 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007775/0.1721, allocations: 0.5459 MB / 308.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001908/0.1723, allocations: 43.41 kB / 308.3 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.1723, allocations: 39.19 kB / 308.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 2.685e-06/0.1723, allocations: 0 / 308.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=85): time 0.01133/0.1836, allocations: 5.489 MB / 313.8 MB, free: 7.027 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.1837, allocations: 60.41 kB / 313.9 MB, free: 6.953 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.1848, allocations: 1 MB / 314.9 MB, free: 5.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.866e-05/0.1848, allocations: 41.7 kB / 314.9 MB, free: 5.883 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000305/0.1851, allocations: 0.8114 MB / 315.7 MB, free: 5.066 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.1853, allocations: 305.5 kB / 316 MB, free: 4.773 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002663/0.1856, allocations: 210.8 kB / 316.2 MB, free: 4.562 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.817e-05/0.1856, allocations: 353.9 kB / 316.6 MB, free: 4.211 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000591/0.1862, allocations: 0.5413 MB / 317.1 MB, free: 3.668 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006843/0.1869, allocations: 0.8835 MB / 318 MB, free: 2.645 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.1882, allocations: 1.525 MB / 319.5 MB, free: 1.023 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.1882, allocations: 4 kB / 319.5 MB, free: 1.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003389/0.1916, allocations: 2.081 MB / 321.6 MB, free: 14.99 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.1917, allocations: 12 kB / 321.6 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.1917, allocations: 8.375 kB / 321.6 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002045/0.1937, allocations: 0.6781 MB / 322.3 MB, free: 14.28 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008662/0.1946, allocations: 242.6 kB / 322.6 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/0.2047, allocations: 8.119 MB / 330.7 MB, free: 5.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.2057, allocations: 80.03 kB / 330.8 MB, free: 5.512 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.2058, allocations: 48 kB / 330.8 MB, free: 5.465 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.001037/0.2068, allocations: 0.5152 MB / 331.3 MB, free: 4.953 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000308/0.2071, allocations: 139.3 kB / 331.4 MB, free: 4.816 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003578/0.2107, allocations: 1.75 MB / 333.2 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.2107, allocations: 11.98 kB / 333.2 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.2107, allocations: 8 kB / 333.2 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.2108, allocations: 3.984 kB / 333.2 MB, free: 3.043 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006597/0.2174, allocations: 3.337 MB / 336.6 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.2174, allocations: 0 / 336.6 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000579/0.2179, allocations: 127.4 kB / 336.7 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00188/0.2198, allocations: 0.6252 MB / 337.3 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.423e-05/0.2199, allocations: 23.98 kB / 337.3 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009736/0.2296, allocations: 7.294 MB / 344.6 MB, free: 7.352 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.2296, allocations: 0 / 344.6 MB, free: 7.352 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004724/0.2344, allocations: 2.489 MB / 347.1 MB, free: 4.824 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007249/0.2351, allocations: 223.2 kB / 347.3 MB, free: 4.605 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001687/0.2353, allocations: 23.98 kB / 347.4 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006637/0.2359, allocations: 59.77 kB / 347.4 MB, free: 4.527 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/0.2361, allocations: 75.92 kB / 347.5 MB, free: 4.457 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-05/0.2362, allocations: 20 kB / 347.5 MB, free: 4.438 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001151/0.2373, allocations: 0.6723 MB / 348.2 MB, free: 3.754 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2373, allocations: 0 / 348.2 MB, free: 3.754 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00154/0.2389, allocations: 376 kB / 348.5 MB, free: 3.387 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.0003901/0.2393, allocations: 174.3 kB / 348.7 MB, free: 3.215 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003658/0.2429, allocations: 1.941 MB / 350.7 MB, free: 1.254 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.2429, allocations: 0 / 350.7 MB, free: 1.254 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002246/0.2452, allocations: 1.188 MB / 351.8 MB, free: 44 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/0.2469, allocations: 314.1 kB / 352.2 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005979/0.2529, allocations: 3.203 MB / 355.4 MB, free: 12.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/0.254, allocations: 0.8782 MB / 356.2 MB, free: 11.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007467/0.2548, allocations: 245.8 kB / 356.5 MB, free: 11.35 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002468/0.255, allocations: 72.5 kB / 356.5 MB, free: 11.28 MB / 314.7 MB Notification: Performance of SimCode: time 1.413e-06/0.255, allocations: 4 kB / 356.6 MB, free: 11.27 MB / 314.7 MB Notification: Performance of Templates: time 0.03993/0.295, allocations: 20.65 MB / 377.2 MB, free: 6.988 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.068522767047398]