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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001599, allocations: 112.2 kB / 17.74 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001806/0.001807, allocations: 187.1 kB / 18.67 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.782/1.782, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001267, allocations: 43.94 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3864, allocations: 49.44 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01159/0.3981, allocations: 8.179 MB / 409.6 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007367/0.4055, allocations: 2.689 MB / 412.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001569/0.4071, allocations: 39.81 kB / 412.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002518/0.4097, allocations: 0.6407 MB / 413 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002702/0.4125, allocations: 0.6718 MB / 413.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008265/0.4133, allocations: 287.5 kB / 413.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002967/0.4163, allocations: 2.029 MB / 415.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001845/0.4181, allocations: 1.417 MB / 417.4 MB, free: 8.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001645/0.4198, allocations: 0.8954 MB / 418.3 MB, free: 7.922 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001592/0.4214, allocations: 1.055 MB / 419.3 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003273/0.4217, allocations: 228 kB / 419.5 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006685/0.4224, allocations: 319.8 kB / 419.8 MB, free: 6.328 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007593/0.4232, allocations: 0.635 MB / 420.5 MB, free: 5.691 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00148/0.4247, allocations: 1.031 MB / 421.5 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003982/0.4287, allocations: 2.991 MB / 424.5 MB, free: 1.656 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.4287, allocations: 4 kB / 424.5 MB, free: 1.652 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4287, allocations: 4 kB / 424.5 MB, free: 1.648 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.98e-05/0.4288, allocations: 0 / 424.5 MB, free: 1.648 MB / 334.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.004421/0.4332, allocations: 2.125 MB / 426.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.4333, allocations: 8.031 kB / 426.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006139/0.4339, allocations: 218.7 kB / 426.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002043/0.436, allocations: 1.134 MB / 428 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.477e-05/0.4361, allocations: 115.4 kB / 428.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002496/0.4363, allocations: 156 kB / 428.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00309/0.4394, allocations: 1.966 MB / 430.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.998e-05/0.4395, allocations: 7.906 kB / 430.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.4396, allocations: 63.98 kB / 430.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.937e-05/0.4397, allocations: 74.92 kB / 430.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002613/0.4424, allocations: 1.589 MB / 432 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01022/0.4526, allocations: 6.268 MB / 438.2 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.454, allocations: 0.8399 MB / 439.1 MB, free: 2.695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009588/0.455, allocations: 0.5691 MB / 439.6 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002475/0.4552, allocations: 121.6 kB / 439.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.4553, allocations: 43.12 kB / 439.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 2.966e-06/0.4553, allocations: 0 / 439.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=85): time 0.01328/0.4686, allocations: 5.835 MB / 445.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.4687, allocations: 64.34 kB / 445.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/0.4704, allocations: 1.144 MB / 446.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.046e-05/0.4704, allocations: 41.7 kB / 446.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005756/0.471, allocations: 0.767 MB / 447.6 MB, free: 9.902 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002683/0.4713, allocations: 307.6 kB / 447.9 MB, free: 9.598 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003389/0.4717, allocations: 210.8 kB / 448.1 MB, free: 9.383 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.4718, allocations: 349.9 kB / 448.5 MB, free: 9.035 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008204/0.4726, allocations: 0.5413 MB / 449 MB, free: 8.496 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.4737, allocations: 0.8796 MB / 449.9 MB, free: 7.465 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002059/0.4758, allocations: 1.524 MB / 451.4 MB, free: 5.789 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-05/0.4758, allocations: 4 kB / 451.4 MB, free: 5.785 MB / 366.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003672/0.4795, allocations: 2.047 MB / 453.5 MB, free: 3.715 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.4795, allocations: 8 kB / 453.5 MB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.729e-05/0.4796, allocations: 12 kB / 453.5 MB, free: 3.695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0015/0.4811, allocations: 0.5516 MB / 454.1 MB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008475/0.4819, allocations: 247.5 kB / 454.3 MB, free: 2.883 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008959/0.4909, allocations: 8.643 MB / 462.9 MB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.4921, allocations: 80.02 kB / 463 MB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002098/0.4923, allocations: 44 kB / 463.1 MB, free: 9.555 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.001063/0.4934, allocations: 0.5169 MB / 463.6 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003489/0.4938, allocations: 122.5 kB / 463.7 MB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003094/0.4969, allocations: 1.774 MB / 465.5 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.4969, allocations: 8 kB / 465.5 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.632e-05/0.4969, allocations: 4 kB / 465.5 MB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.892e-05/0.497, allocations: 7.922 kB / 465.5 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0068/0.5038, allocations: 3.749 MB / 469.2 MB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.5038, allocations: 4 kB / 469.2 MB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005524/0.5044, allocations: 123.9 kB / 469.4 MB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001589/0.506, allocations: 0.5888 MB / 470 MB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.447e-05/0.5061, allocations: 31.98 kB / 470 MB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008633/0.5147, allocations: 7.697 MB / 477.7 MB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.5148, allocations: 4 kB / 477.7 MB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004069/0.5188, allocations: 2.48 MB / 480.2 MB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007408/0.5196, allocations: 307.6 kB / 480.5 MB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002971/0.5199, allocations: 28.17 kB / 480.5 MB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007824/0.5207, allocations: 59.94 kB / 480.6 MB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001979/0.5209, allocations: 68.5 kB / 480.6 MB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.026e-05/0.521, allocations: 28 kB / 480.6 MB, free: 7.344 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001351/0.5224, allocations: 0.7815 MB / 481.4 MB, free: 6.555 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5224, allocations: 0 / 481.4 MB, free: 6.555 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001571/0.5239, allocations: 380 kB / 481.8 MB, free: 6.184 MB / 398.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.0004128/0.5244, allocations: 175 kB / 482 MB, free: 6.004 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003431/0.5278, allocations: 2.142 MB / 484.1 MB, free: 3.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.5278, allocations: 0 / 484.1 MB, free: 3.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002087/0.5299, allocations: 1.303 MB / 485.4 MB, free: 2.406 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001831/0.5318, allocations: 362.4 kB / 485.8 MB, free: 2.055 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006048/0.5378, allocations: 3.328 MB / 489.1 MB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001407/0.5393, allocations: 1.452 MB / 490.6 MB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003319/0.5396, allocations: 91.42 kB / 490.6 MB, free: 13.1 MB / 414.1 MB Notification: Performance of SimCode: time 1.453e-06/0.5396, allocations: 0 / 490.6 MB, free: 13.1 MB / 414.1 MB Notification: Performance of Templates: time 0.07094/0.6106, allocations: 59.22 MB / 0.537 GB, free: 1.922 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1)