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.002541/0.002541, allocations: 95.59 kB / 20.97 MB, free: 3.434 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.002881/0.002881, allocations: 156.9 kB / 24.27 MB, free: 140 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.581/1.581, allocations: 177 MB / 204.5 MB, free: 5.613 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 4.388e-06/4.388e-06, allocations: 4 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.288e-05/3.727e-05, allocations: 2.312 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01206/0.0121, allocations: 8.133 MB / 280.4 MB, free: 9.621 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005537/0.01764, allocations: 2.68 MB / 283 MB, free: 6.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007972/0.01844, allocations: 51.69 kB / 283.1 MB, free: 6.879 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001721/0.02016, allocations: 0.5978 MB / 283.7 MB, free: 6.277 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001676/0.02183, allocations: 0.6985 MB / 284.4 MB, free: 5.574 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006471/0.02248, allocations: 291.5 kB / 284.7 MB, free: 5.289 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002599/0.02508, allocations: 2.112 MB / 286.8 MB, free: 3.168 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001484/0.02656, allocations: 0.7963 MB / 287.6 MB, free: 2.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002067/0.02863, allocations: 1.341 MB / 288.9 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1179/0.1466, allocations: 0.9769 MB / 289.9 MB, free: 17.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006943/0.1473, allocations: 224.8 kB / 290.1 MB, free: 17.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008831/0.1481, allocations: 316.7 kB / 290.4 MB, free: 17.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006404/0.1488, allocations: 0.6667 MB / 291.1 MB, free: 17.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008949/0.1497, allocations: 0.7199 MB / 291.8 MB, free: 17.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003427/0.1531, allocations: 3.056 MB / 294.9 MB, free: 16.9 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1531, allocations: 3.5 kB / 294.9 MB, free: 16.9 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1531, allocations: 2.094 kB / 294.9 MB, free: 16.9 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.073e-05/0.1532, allocations: 0 / 294.9 MB, free: 16.9 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.004091/0.1573, allocations: 2.414 MB / 297.3 MB, free: 15.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.1573, allocations: 14.61 kB / 297.3 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008086/0.1581, allocations: 350.3 kB / 297.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001872/0.16, allocations: 1.076 MB / 298.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.57e-05/0.1601, allocations: 111.6 kB / 298.8 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002361/0.1603, allocations: 157.2 kB / 299 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002729/0.163, allocations: 1.894 MB / 300.9 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.12e-05/0.1631, allocations: 10.09 kB / 300.9 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001405/0.1632, allocations: 62.62 kB / 300.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.469e-05/0.1633, allocations: 76.17 kB / 301 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001933/0.1652, allocations: 1.176 MB / 302.2 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008942/0.1742, allocations: 7.533 MB / 309.7 MB, free: 9.109 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009517/0.1751, allocations: 0.5078 MB / 310.2 MB, free: 8.871 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006957/0.1758, allocations: 377.2 kB / 310.6 MB, free: 8.707 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001825/0.176, allocations: 45.09 kB / 310.6 MB, free: 8.691 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.176, allocations: 45.83 kB / 310.7 MB, free: 8.641 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 2.164e-06/0.176, allocations: 0 / 310.7 MB, free: 8.641 MB / 266.7 MB Notification: Performance of matching and sorting (n=85): time 0.007543/0.1836, allocations: 3.247 MB / 313.9 MB, free: 6.402 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.1836, allocations: 60.41 kB / 314 MB, free: 6.328 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.1848, allocations: 1.244 MB / 315.2 MB, free: 5.059 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.59e-05/0.1849, allocations: 41.7 kB / 315.3 MB, free: 5.012 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003829/0.1853, allocations: 0.9259 MB / 316.2 MB, free: 4.082 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.1854, allocations: 342.6 kB / 316.5 MB, free: 3.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003135/0.1858, allocations: 256.5 kB / 316.8 MB, free: 3.492 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1859, allocations: 0.5667 MB / 317.4 MB, free: 2.918 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004118/0.1863, allocations: 274.5 kB / 317.6 MB, free: 2.648 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005923/0.1869, allocations: 0.7891 MB / 318.4 MB, free: 1.672 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.188, allocations: 1.176 MB / 319.6 MB, free: 348 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.188, allocations: 5.188 kB / 319.6 MB, free: 344 kB / 266.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00285/0.1908, allocations: 1.366 MB / 321 MB, free: 15.01 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.1908, allocations: 11.98 kB / 321 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/0.1909, allocations: 12 kB / 321 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001756/0.1926, allocations: 424.7 kB / 321.4 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008643/0.1935, allocations: 241.5 kB / 321.6 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009743/0.2032, allocations: 8.562 MB / 330.2 MB, free: 5.344 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.2045, allocations: 75.86 kB / 330.3 MB, free: 5.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/0.2047, allocations: 48 kB / 330.3 MB, free: 5.223 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.001117/0.2058, allocations: 465.9 kB / 330.8 MB, free: 4.777 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004211/0.2062, allocations: 155.2 kB / 330.9 MB, free: 4.625 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002906/0.2091, allocations: 1.028 MB / 332 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.2091, allocations: 12 kB / 332 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.2091, allocations: 8 kB / 332 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.2091, allocations: 3.984 kB / 332 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006929/0.2161, allocations: 2.914 MB / 334.9 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.2161, allocations: 4 kB / 334.9 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005879/0.2167, allocations: 122.7 kB / 335 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001595/0.2183, allocations: 389.7 kB / 335.4 MB, free: 116 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.488e-05/0.2183, allocations: 27.98 kB / 335.4 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008743/0.2271, allocations: 6.79 MB / 342.2 MB, free: 8.957 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.2271, allocations: 4 kB / 342.2 MB, free: 8.953 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003427/0.2305, allocations: 1.508 MB / 343.7 MB, free: 7.398 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008443/0.2313, allocations: 207.2 kB / 343.9 MB, free: 7.195 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/0.2315, allocations: 23.98 kB / 344 MB, free: 7.172 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006564/0.2322, allocations: 59.94 kB / 344 MB, free: 7.113 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002087/0.2324, allocations: 75.92 kB / 344.1 MB, free: 7.043 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.892e-05/0.2325, allocations: 20 kB / 344.1 MB, free: 7.023 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001244/0.2337, allocations: 0.7425 MB / 344.8 MB, free: 6.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2337, allocations: 4 kB / 344.8 MB, free: 6.266 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001595/0.2353, allocations: 371.9 kB / 345.2 MB, free: 5.902 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.0004013/0.2357, allocations: 177.8 kB / 345.4 MB, free: 5.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003674/0.2394, allocations: 1.741 MB / 347.1 MB, free: 3.953 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/0.2394, allocations: 8 kB / 347.1 MB, free: 3.945 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002261/0.2417, allocations: 1.165 MB / 348.3 MB, free: 2.734 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00182/0.2435, allocations: 315 kB / 348.6 MB, free: 2.438 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005428/0.2489, allocations: 2.906 MB / 351.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.25, allocations: 0.8236 MB / 352.3 MB, free: 14.61 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006847/0.2507, allocations: 209.8 kB / 352.5 MB, free: 14.4 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002283/0.2509, allocations: 80.48 kB / 352.6 MB, free: 14.32 MB / 314.7 MB Notification: Performance of SimCode: time 1.262e-06/0.2509, allocations: 0 / 352.6 MB, free: 14.32 MB / 314.7 MB Notification: Performance of Templates: time 0.04055/0.2915, allocations: 20.77 MB / 373.4 MB, free: 9.918 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.320609053014778]