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.001178/0.001178, allocations: 205.6 kB / 18.11 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 226.5 MB / 245.4 MB, free: 8.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008086/0.0008086, allocations: 102.1 kB / 297.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002298/0.0002298, allocations: 4 kB / 358.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2107, allocations: 51.3 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1125/0.3233, allocations: 102.2 MB / 0.4996 GB, free: 5.242 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.3235, allocations: 96.44 kB / 0.4997 GB, free: 5.148 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.245/0.5686, allocations: 35.17 MB / 0.5341 GB, free: 79.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.5686, allocations: 0 / 0.5341 GB, free: 79.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001469/0.5688, allocations: 47.94 kB / 0.5341 GB, free: 79.49 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.004056/0.5729, allocations: 1.798 MB / 0.5359 GB, free: 77.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.5729, allocations: 11.97 kB / 0.5359 GB, free: 77.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008858/0.5738, allocations: 226.6 kB / 0.5361 GB, free: 77.4 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002175/0.576, allocations: 1.223 MB / 0.5373 GB, free: 76.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.591e-05/0.5761, allocations: 115.4 kB / 0.5374 GB, free: 76.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002543/0.5763, allocations: 152.3 kB / 0.5375 GB, free: 75.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002552/0.5789, allocations: 1.955 MB / 0.5395 GB, free: 73.83 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.449e-05/0.5789, allocations: 4.188 kB / 0.5395 GB, free: 73.83 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/0.5791, allocations: 71.92 kB / 0.5395 GB, free: 73.76 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.632e-05/0.5791, allocations: 70.92 kB / 0.5396 GB, free: 73.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001978/0.5811, allocations: 1.511 MB / 0.5411 GB, free: 72.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007163/0.5883, allocations: 6.32 MB / 0.5472 GB, free: 65.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.5894, allocations: 0.8656 MB / 0.5481 GB, free: 64.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006349/0.5901, allocations: 0.5374 MB / 0.5486 GB, free: 64.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002048/0.5903, allocations: 133.6 kB / 0.5487 GB, free: 64.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.5903, allocations: 43.59 kB / 0.5488 GB, free: 64.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=70): time 2.555e-06/0.5903, allocations: 3.938 kB / 0.5488 GB, free: 64.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=93): time 0.01152/0.6019, allocations: 6.269 MB / 0.5549 GB, free: 57.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.6019, allocations: 64.41 kB / 0.555 GB, free: 57.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.6031, allocations: 1.113 MB / 0.5561 GB, free: 56.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.639e-05/0.6032, allocations: 41.7 kB / 0.5561 GB, free: 56.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/0.6035, allocations: 0.7592 MB / 0.5568 GB, free: 55.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.6037, allocations: 331.3 kB / 0.5571 GB, free: 55.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/0.6037, allocations: 27.94 kB / 0.5572 GB, free: 55.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.564e-05/0.6038, allocations: 353.9 kB / 0.5575 GB, free: 54.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006394/0.6045, allocations: 0.5648 MB / 0.5581 GB, free: 54.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000751/0.6052, allocations: 0.911 MB / 0.559 GB, free: 53.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/0.6067, allocations: 1.578 MB / 0.5605 GB, free: 51.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.6067, allocations: 7.938 kB / 0.5605 GB, free: 51.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.00272/0.6095, allocations: 2.113 MB / 0.5626 GB, free: 49.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.6095, allocations: 15.94 kB / 0.5626 GB, free: 49.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.6095, allocations: 8 kB / 0.5626 GB, free: 49.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/0.6107, allocations: 0.5633 MB / 0.5631 GB, free: 48.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008058/0.6115, allocations: 263.6 kB / 0.5634 GB, free: 48.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005798/0.6173, allocations: 7.982 MB / 0.5712 GB, free: 39.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008233/0.6182, allocations: 80.08 kB / 0.5713 GB, free: 39.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.182e-05/0.6183, allocations: 48 kB / 0.5713 GB, free: 39.85 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.0007865/0.6191, allocations: 0.5322 MB / 0.5718 GB, free: 39.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.6192, allocations: 122.5 kB / 0.5719 GB, free: 39.19 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002684/0.6219, allocations: 1.904 MB / 0.5738 GB, free: 37.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.622, allocations: 8 kB / 0.5738 GB, free: 37.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.622, allocations: 15.98 kB / 0.5738 GB, free: 37.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.622, allocations: 7.984 kB / 0.5738 GB, free: 37.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005143/0.6271, allocations: 3.904 MB / 0.5776 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.6271, allocations: 4 kB / 0.5777 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004529/0.6276, allocations: 123.7 kB / 0.5778 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001441/0.6291, allocations: 0.6708 MB / 0.5784 GB, free: 32.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.756e-05/0.6291, allocations: 23.98 kB / 0.5784 GB, free: 32.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006819/0.636, allocations: 7.991 MB / 0.5863 GB, free: 24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.636, allocations: 4 kB / 0.5863 GB, free: 24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003344/0.6393, allocations: 2.664 MB / 0.5889 GB, free: 21.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004861/0.6398, allocations: 323.5 kB / 0.5892 GB, free: 20.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/0.64, allocations: 23.98 kB / 0.5892 GB, free: 20.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005806/0.6406, allocations: 63.81 kB / 0.5892 GB, free: 20.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.6407, allocations: 84.83 kB / 0.5893 GB, free: 20.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.715e-05/0.6408, allocations: 27.98 kB / 0.5894 GB, free: 20.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008811/0.6417, allocations: 0.7544 MB / 0.5901 GB, free: 19.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6417, allocations: 0 / 0.5901 GB, free: 19.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0013/0.643, allocations: 424 kB / 0.5905 GB, free: 19.57 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.0003967/0.6434, allocations: 327.7 kB / 0.5908 GB, free: 19.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00257/0.646, allocations: 2.2 MB / 0.593 GB, free: 16.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.646, allocations: 4.062 kB / 0.593 GB, free: 16.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00181/0.6478, allocations: 1.385 MB / 0.5943 GB, free: 15.51 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/0.6495, allocations: 350.2 kB / 0.5947 GB, free: 15.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004794/0.6543, allocations: 3.976 MB / 0.5985 GB, free: 11.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009106/0.6553, allocations: 1.472 MB / 0.6 GB, free: 9.641 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007562/0.656, allocations: 263.3 kB / 0.6002 GB, free: 9.379 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.6562, allocations: 83.44 kB / 0.6003 GB, free: 9.297 MB / 378.7 MB Notification: Performance of SimCode: time 5.62e-07/0.6562, allocations: 0 / 0.6003 GB, free: 9.297 MB / 378.7 MB Notification: Performance of Templates: time 0.03437/0.6906, allocations: 23.38 MB / 0.6231 GB, free: 2.082 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)