Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007042/0.007042, allocations: 166.5 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.178/1.178, allocations: 170.8 MB / 186.6 MB, free: 0.9609 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001588/0.001588, allocations: 110.6 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003294, allocations: 8 kB / 274.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2291, allocations: 38.77 MB / 312.9 MB, free: 38.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1289/0.358, allocations: 105.1 MB / 418 MB, free: 1.324 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.3583, allocations: 91.95 kB / 418.1 MB, free: 1.234 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3078/0.6661, allocations: 61.54 MB / 479.7 MB, free: 46.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6662, allocations: 0 / 479.7 MB, free: 46.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002126/0.6664, allocations: 71.94 kB / 479.7 MB, free: 46.02 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 727 * Number of variables: 727 Notification: Performance of Generate backend data structure: time 0.007618/0.674, allocations: 3.385 MB / 483.1 MB, free: 42.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.6741, allocations: 8.031 kB / 483.1 MB, free: 42.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002089/0.6762, allocations: 487.5 kB / 483.6 MB, free: 42.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004885/0.6811, allocations: 1.986 MB / 485.6 MB, free: 40.03 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003002/0.6814, allocations: 379.8 kB / 486 MB, free: 39.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009647/0.6824, allocations: 291.9 kB / 486.2 MB, free: 39.33 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006129/0.6886, allocations: 3.656 MB / 489.9 MB, free: 35.53 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-05/0.6887, allocations: 11.92 kB / 489.9 MB, free: 35.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002867/0.689, allocations: 120 kB / 490 MB, free: 35.4 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/0.6891, allocations: 117.5 kB / 490.1 MB, free: 35.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004795/0.6939, allocations: 2.934 MB / 493.1 MB, free: 32.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01638/0.7103, allocations: 11.78 MB / 0.493 GB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002595/0.713, allocations: 2.858 MB / 0.4958 GB, free: 17.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002662/0.7132, allocations: 143.7 kB / 0.4959 GB, free: 17 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001406/0.7147, allocations: 1.163 MB / 0.4971 GB, free: 15.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=155): time 3.857e-06/0.7147, allocations: 0 / 0.4971 GB, free: 15.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=178): time 0.02013/0.7348, allocations: 9.936 MB / 0.5068 GB, free: 5.699 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.862e-05/0.7349, allocations: 342.4 kB / 0.5071 GB, free: 5.293 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002207/0.7371, allocations: 1.771 MB / 0.5088 GB, free: 3.488 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001616/0.7373, allocations: 65.69 kB / 0.5089 GB, free: 3.418 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008474/0.7382, allocations: 1.348 MB / 0.5102 GB, free: 2.055 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000355/0.7385, allocations: 0.5931 MB / 0.5108 GB, free: 1.453 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.827e-05/0.7386, allocations: 40 kB / 0.5108 GB, free: 1.414 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.044e-05/0.7387, allocations: 389.9 kB / 0.5112 GB, free: 1.027 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/0.74, allocations: 1.042 MB / 0.5122 GB, free: 15.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002018/0.7421, allocations: 1.587 MB / 0.5138 GB, free: 14.17 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00196/0.744, allocations: 1.24 MB / 0.515 GB, free: 12.93 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.709e-06/0.7441, allocations: 8 kB / 0.515 GB, free: 12.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.006868/0.7509, allocations: 3.71 MB / 0.5186 GB, free: 9.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.751, allocations: 8 kB / 0.5186 GB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-05/0.7511, allocations: 12 kB / 0.5186 GB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003043/0.7541, allocations: 1.207 MB / 0.5198 GB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/0.7557, allocations: 371.4 kB / 0.5202 GB, free: 7.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0163/0.772, allocations: 14.87 MB / 0.5347 GB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002562/0.7746, allocations: 167.8 kB / 0.5349 GB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002222/0.7749, allocations: 79.98 kB / 0.5349 GB, free: 7.648 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.loadControl.pulsStart,loadControl.pulsStart,$PRE.switch.closerWithArc[1].off,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (208): * Single equations (assignments): 201 * 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: 6 * 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 {(4,100.0%) 14,(3,100.0%) 24,(2,100.0%) 4} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001935/0.7768, allocations: 0.8954 MB / 0.5358 GB, free: 6.742 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005046/0.7773, allocations: 229.3 kB / 0.536 GB, free: 6.516 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006655/0.784, allocations: 3.49 MB / 0.5394 GB, free: 2.996 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.217e-05/0.784, allocations: 20.09 kB / 0.5394 GB, free: 2.977 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.7841, allocations: 3.938 kB / 0.5395 GB, free: 2.973 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.951e-05/0.7841, allocations: 11.95 kB / 0.5395 GB, free: 2.961 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1962/0.9803, allocations: 6.707 MB / 0.546 GB, free: 76.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.9803, allocations: 6.688 kB / 0.546 GB, free: 76.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008516/0.9812, allocations: 210.7 kB / 0.5462 GB, free: 76.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003479/0.9847, allocations: 1.417 MB / 0.5476 GB, free: 76.36 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001884/0.9849, allocations: 43.83 kB / 0.5476 GB, free: 76.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01541/1, allocations: 15.16 MB / 0.5624 GB, free: 70.02 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1, allocations: 0 / 0.5624 GB, free: 70.02 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007749/1.008, allocations: 4.941 MB / 0.5673 GB, free: 69.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001699/1.01, allocations: 0.5226 MB / 0.5678 GB, free: 69.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003707/1.01, allocations: 57.39 kB / 0.5678 GB, free: 69.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/1.012, allocations: 133.5 kB / 0.568 GB, free: 69.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006075/1.012, allocations: 231.1 kB / 0.5682 GB, free: 69.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/1.012, allocations: 51.64 kB / 0.5682 GB, free: 69.41 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002468/1.015, allocations: 1.366 MB / 0.5696 GB, free: 69.26 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.015, allocations: 0 / 0.5696 GB, free: 69.26 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003334/1.018, allocations: 0.7568 MB / 0.5703 GB, free: 69.26 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y) * Number of discrete variables: 14 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,loadControl.pulsStart,switch.closerWithArc[1].off,switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].quenched,switch.closerWithArc[3].off,switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].quenched) * Number of discrete states: 6 (switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 4 {7 51,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006823/1.019, allocations: 332.5 kB / 0.5706 GB, free: 69.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005997/1.025, allocations: 3.668 MB / 0.5742 GB, free: 67.75 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/1.025, allocations: 0 / 0.5742 GB, free: 67.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004095/1.029, allocations: 2.429 MB / 0.5766 GB, free: 66.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003147/1.032, allocations: 0.4954 MB / 0.5771 GB, free: 66.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/1.044, allocations: 7.238 MB / 0.5841 GB, free: 62.87 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001687/1.046, allocations: 2.281 MB / 0.5864 GB, free: 61.89 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001709/1.047, allocations: 430.2 kB / 0.5868 GB, free: 61.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004253/1.048, allocations: 132.9 kB / 0.5869 GB, free: 61.83 MB / 346.7 MB Notification: Performance of SimCode: time 1.783e-06/1.048, allocations: 0 / 0.5869 GB, free: 61.83 MB / 346.7 MB Notification: Performance of Templates: time 0.0634/1.111, allocations: 41.26 MB / 0.6272 GB, free: 34.61 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe 2>&1)