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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=50000,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=50000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0018/0.0018, allocations: 109.7 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002242/0.002242, allocations: 206.8 kB / 19.4 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.125/2.125, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002424/0.002424, allocations: 55.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3681, allocations: 50.54 MB / 409.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.00854/0.3767, allocations: 8.215 MB / 418.2 MB, free: 9.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004163/0.3809, allocations: 2.734 MB / 420.9 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006556/0.3816, allocations: 39.88 kB / 420.9 MB, free: 6.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.383, allocations: 0.6135 MB / 421.5 MB, free: 5.969 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.3843, allocations: 0.6328 MB / 422.2 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004869/0.3848, allocations: 291.6 kB / 422.5 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001867/0.3866, allocations: 2.039 MB / 424.5 MB, free: 3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001486/0.3881, allocations: 1.421 MB / 425.9 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001166/0.3893, allocations: 0.8955 MB / 426.8 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001291/0.3906, allocations: 1.066 MB / 427.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002524/0.3909, allocations: 224 kB / 428.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004881/0.3914, allocations: 315.8 kB / 428.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005262/0.3919, allocations: 0.635 MB / 429 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000811/0.3927, allocations: 1.038 MB / 430.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002664/0.3954, allocations: 2.996 MB / 433.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3954, allocations: 0 / 433.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3954, allocations: 0 / 433.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.783e-05/0.3955, allocations: 0 / 433.1 MB, free: 10.35 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.003726/0.3992, allocations: 2.143 MB / 435.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.3993, allocations: 15.91 kB / 435.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005167/0.3998, allocations: 214.7 kB / 435.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001796/0.4016, allocations: 1.138 MB / 436.6 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.521e-05/0.4017, allocations: 111.4 kB / 436.7 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002066/0.4019, allocations: 159.8 kB / 436.8 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002654/0.4046, allocations: 1.963 MB / 438.8 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.047e-05/0.4046, allocations: 3.906 kB / 438.8 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/0.4047, allocations: 64 kB / 438.9 MB, free: 4.402 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.155e-05/0.4048, allocations: 78.91 kB / 439 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00221/0.407, allocations: 1.585 MB / 440.5 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007917/0.415, allocations: 6.272 MB / 446.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.4162, allocations: 0.8341 MB / 447.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000892/0.4171, allocations: 0.573 MB / 448.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001916/0.4173, allocations: 117.6 kB / 448.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.4173, allocations: 39.12 kB / 448.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 1.894e-06/0.4173, allocations: 0 / 448.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01163/0.429, allocations: 5.842 MB / 454.2 MB, free: 4.641 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.429, allocations: 60.41 kB / 454.3 MB, free: 4.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.4303, allocations: 1.152 MB / 455.4 MB, free: 3.402 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.64e-05/0.4303, allocations: 41.7 kB / 455.5 MB, free: 3.355 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004737/0.4308, allocations: 0.7748 MB / 456.2 MB, free: 2.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/0.431, allocations: 303.6 kB / 456.5 MB, free: 2.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002872/0.4313, allocations: 202.8 kB / 456.7 MB, free: 2.062 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.4315, allocations: 357.9 kB / 457.1 MB, free: 1.707 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007043/0.4322, allocations: 0.5413 MB / 457.6 MB, free: 1.168 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008795/0.4331, allocations: 0.8835 MB / 458.5 MB, free: 136 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001686/0.4347, allocations: 1.52 MB / 460 MB, free: 14.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.4348, allocations: 4 kB / 460 MB, free: 14.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003215/0.438, allocations: 2.047 MB / 462.1 MB, free: 12.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.438, allocations: 8 kB / 462.1 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.438, allocations: 15.94 kB / 462.1 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001264/0.4393, allocations: 0.5555 MB / 462.7 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007302/0.44, allocations: 239.6 kB / 462.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00753/0.4476, allocations: 8.648 MB / 471.5 MB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006819/0.4483, allocations: 75.8 kB / 471.6 MB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.402e-05/0.4484, allocations: 48.16 kB / 471.7 MB, free: 2.227 MB / 382.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.0006438/0.449, allocations: 0.5169 MB / 472.2 MB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.4492, allocations: 122.5 kB / 472.3 MB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002706/0.4519, allocations: 1.774 MB / 474.1 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.4519, allocations: 8 kB / 474.1 MB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.4519, allocations: 15.94 kB / 474.1 MB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.452, allocations: 3.984 kB / 474.1 MB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005622/0.4576, allocations: 3.749 MB / 477.8 MB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.4576, allocations: 0 / 477.8 MB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004798/0.4581, allocations: 127.8 kB / 478 MB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001436/0.4595, allocations: 0.5913 MB / 478.6 MB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.018e-05/0.4596, allocations: 23.98 kB / 478.6 MB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00724/0.4669, allocations: 7.698 MB / 486.3 MB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4669, allocations: 4.125 kB / 486.3 MB, free: 3.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003339/0.4702, allocations: 2.484 MB / 488.8 MB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005426/0.4708, allocations: 311.6 kB / 489.1 MB, free: 196 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/0.4709, allocations: 27.92 kB / 489.1 MB, free: 168 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005837/0.4715, allocations: 51.94 kB / 489.2 MB, free: 116 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.4716, allocations: 76.48 kB / 489.2 MB, free: 36 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.356e-05/0.4717, allocations: 23.98 kB / 489.3 MB, free: 12 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009729/0.4727, allocations: 0.7895 MB / 490 MB, free: 15.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.413e-06/0.4727, allocations: 0 / 490 MB, free: 15.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001116/0.4738, allocations: 379.9 kB / 490.4 MB, free: 14.84 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.0002888/0.4741, allocations: 179 kB / 490.6 MB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002878/0.477, allocations: 2.135 MB / 492.7 MB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.477, allocations: 4.062 kB / 492.7 MB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001854/0.4789, allocations: 1.299 MB / 494 MB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.4803, allocations: 375.1 kB / 494.4 MB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004264/0.4846, allocations: 3.326 MB / 497.7 MB, free: 7.328 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009761/0.4856, allocations: 1.452 MB / 499.2 MB, free: 5.844 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/0.4858, allocations: 87.42 kB / 499.3 MB, free: 5.758 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4858, allocations: 3.938 kB / 499.3 MB, free: 5.754 MB / 414.1 MB Notification: Performance of Templates: time 0.8457/1.332, allocations: 59.58 MB / 0.5457 GB, free: 128.8 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile (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)