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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001174/0.001174, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.199/1.199, allocations: 227.2 MB / 245 MB, free: 7.586 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008534/0.0008534, allocations: 97.48 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002156/0.0002157, allocations: 4 kB / 357.9 MB, free: 9.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1893, allocations: 51.48 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1056/0.2949, allocations: 102.2 MB / 0.4997 GB, free: 4.344 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.2952, allocations: 87.95 kB / 0.4997 GB, free: 4.258 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2243/0.5195, allocations: 35.19 MB / 0.5341 GB, free: 77.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.5195, allocations: 0 / 0.5341 GB, free: 77.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001028/0.5196, allocations: 39.98 kB / 0.5341 GB, free: 77.93 MB / 378.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.003216/0.5229, allocations: 1.816 MB / 0.5359 GB, free: 76.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.5229, allocations: 11.97 kB / 0.5359 GB, free: 76.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006414/0.5236, allocations: 221.6 kB / 0.5361 GB, free: 75.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00199/0.5256, allocations: 1.191 MB / 0.5373 GB, free: 74.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.592e-05/0.5256, allocations: 110.9 kB / 0.5374 GB, free: 74.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002089/0.5258, allocations: 163.9 kB / 0.5376 GB, free: 74.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002508/0.5284, allocations: 1.935 MB / 0.5395 GB, free: 72.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.669e-05/0.5284, allocations: 11.91 kB / 0.5395 GB, free: 72.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/0.5286, allocations: 64 kB / 0.5395 GB, free: 72.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.737e-05/0.5286, allocations: 70.92 kB / 0.5396 GB, free: 72.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002002/0.5306, allocations: 1.511 MB / 0.5411 GB, free: 70.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00719/0.5378, allocations: 6.305 MB / 0.5472 GB, free: 64.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.5389, allocations: 0.8739 MB / 0.5481 GB, free: 63.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002052/0.5392, allocations: 129.6 kB / 0.5482 GB, free: 63.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.5392, allocations: 43.12 kB / 0.5482 GB, free: 63.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=70): time 2.545e-06/0.5392, allocations: 3.938 kB / 0.5483 GB, free: 63.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=93): time 0.01118/0.5504, allocations: 6.303 MB / 0.5544 GB, free: 56.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.5504, allocations: 68.39 kB / 0.5545 GB, free: 56.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.5515, allocations: 0.9826 MB / 0.5554 GB, free: 55.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.768e-05/0.5515, allocations: 45.7 kB / 0.5555 GB, free: 55.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003135/0.5519, allocations: 0.7631 MB / 0.5562 GB, free: 54.67 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.552, allocations: 327.3 kB / 0.5565 GB, free: 54.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/0.5521, allocations: 24 kB / 0.5566 GB, free: 54.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.221e-05/0.5522, allocations: 354.1 kB / 0.5569 GB, free: 53.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006173/0.5528, allocations: 0.5726 MB / 0.5575 GB, free: 53.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007133/0.5535, allocations: 0.9069 MB / 0.5583 GB, free: 52.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007735/0.5543, allocations: 0.7291 MB / 0.5591 GB, free: 51.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.5543, allocations: 4 kB / 0.5591 GB, free: 51.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002587/0.5569, allocations: 2.117 MB / 0.5611 GB, free: 49.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.5569, allocations: 11.94 kB / 0.5611 GB, free: 49.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.5569, allocations: 12 kB / 0.5611 GB, free: 49.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.5581, allocations: 0.571 MB / 0.5617 GB, free: 48.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000778/0.5589, allocations: 259.6 kB / 0.562 GB, free: 48.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005522/0.5644, allocations: 8.127 MB / 0.5699 GB, free: 39.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007862/0.5652, allocations: 76.17 kB / 0.57 GB, free: 39.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.745e-05/0.5653, allocations: 51.94 kB / 0.57 GB, free: 39.81 MB / 378.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 (130): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(4,87.5%) 8,(1,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000711/0.566, allocations: 0.5209 MB / 0.5705 GB, free: 39.28 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/0.5662, allocations: 134.3 kB / 0.5706 GB, free: 39.15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002577/0.5688, allocations: 1.908 MB / 0.5725 GB, free: 37.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/0.5688, allocations: 12 kB / 0.5725 GB, free: 37.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.537e-06/0.5688, allocations: 7.953 kB / 0.5725 GB, free: 37.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.5688, allocations: 3.984 kB / 0.5725 GB, free: 37.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005145/0.574, allocations: 3.907 MB / 0.5763 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.574, allocations: 4.375 kB / 0.5764 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000472/0.5745, allocations: 115.9 kB / 0.5765 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001441/0.5759, allocations: 0.6746 MB / 0.5771 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.3e-05/0.576, allocations: 35.94 kB / 0.5772 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006552/0.5826, allocations: 8.199 MB / 0.5852 GB, free: 23.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.5826, allocations: 4 kB / 0.5852 GB, free: 23.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003041/0.5856, allocations: 2.777 MB / 0.5879 GB, free: 20.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005511/0.5862, allocations: 315.6 kB / 0.5882 GB, free: 20.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/0.5864, allocations: 27.95 kB / 0.5882 GB, free: 20.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005953/0.587, allocations: 59.92 kB / 0.5883 GB, free: 20.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.5871, allocations: 80.83 kB / 0.5883 GB, free: 20.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-05/0.5872, allocations: 24 kB / 0.5884 GB, free: 20.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000802/0.588, allocations: 0.7622 MB / 0.5891 GB, free: 19.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.588, allocations: 0 / 0.5891 GB, free: 19.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00122/0.5892, allocations: 428 kB / 0.5895 GB, free: 19.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (imc.inertiaRotor.phi,imc.idq_sr[1],imc.idq_sr[2],imc.idq_rr[1],imc.idq_rr[2],loadInertia.w) * 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 (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,77.8%) 20,(1,100.0%) 1,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003915/0.5896, allocations: 305.9 kB / 0.5898 GB, free: 18.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002454/0.5921, allocations: 2.214 MB / 0.592 GB, free: 16.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.5921, allocations: 2 kB / 0.592 GB, free: 16.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001601/0.5937, allocations: 1.393 MB / 0.5933 GB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.5949, allocations: 344.4 kB / 0.5937 GB, free: 14.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004047/0.599, allocations: 3.98 MB / 0.5975 GB, free: 10.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007799/0.5998, allocations: 1.499 MB / 0.599 GB, free: 9.219 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006934/0.6005, allocations: 275.3 kB / 0.5993 GB, free: 8.945 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/0.6007, allocations: 87.42 kB / 0.5994 GB, free: 8.859 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.6007, allocations: 0 / 0.5994 GB, free: 8.859 MB / 378.7 MB Notification: Performance of Templates: time 0.03239/0.6331, allocations: 23.13 MB / 0.6219 GB, free: 1.898 MB / 394.7 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)