Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump.conf.json 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/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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 HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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) Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=120000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump") translateModel(HanserModelica.SynchronousMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=120000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001449/0.00145, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03914/0.03914, allocations: 8.702 MB / 21.96 MB, free: 3.367 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 221.4 MB / 246 MB, free: 3.613 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009061/0.0009064, allocations: 90.19 kB / 299.1 MB, free: 3.004 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.54e-05/2.542e-05, allocations: 0 / 359.5 MB, free: 6.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2767, allocations: 52.53 MB / 412.1 MB, free: 22.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3883/0.665, allocations: 121.4 MB / 0.521 GB, free: 44.7 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/0.6653, allocations: 78.95 kB / 0.5211 GB, free: 44.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3187/0.984, allocations: 104.5 MB / 0.6231 GB, free: 3.898 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.984, allocations: 0 / 0.6231 GB, free: 3.898 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004834/0.9845, allocations: 107.9 kB / 0.6232 GB, free: 3.793 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1073 * Number of variables: 1073 Notification: Performance of Generate backend data structure: time 0.01581/1, allocations: 4.2 MB / 0.6273 GB, free: 15.51 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/1, allocations: 12.03 kB / 0.6273 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006025/1.006, allocations: 0.9545 MB / 0.6282 GB, free: 14.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01227/1.019, allocations: 3.965 MB / 0.6321 GB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006393/1.019, allocations: 478.5 kB / 0.6326 GB, free: 9.984 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002143/1.022, allocations: 403.9 kB / 0.633 GB, free: 9.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01087/1.032, allocations: 5.197 MB / 0.638 GB, free: 4.203 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.638e-05/1.033, allocations: 7.906 kB / 0.638 GB, free: 4.195 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000422/1.033, allocations: 176 kB / 0.6382 GB, free: 4.023 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001588/1.033, allocations: 176.2 kB / 0.6384 GB, free: 3.848 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007922/1.041, allocations: 4.175 MB / 0.6424 GB, free: 15.65 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03236/1.073, allocations: 17.94 MB / 0.66 GB, free: 13.21 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007816/1.081, allocations: 8.121 MB / 0.6679 GB, free: 4.137 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003034/1.084, allocations: 1.804 MB / 0.6697 GB, free: 2.336 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2954/1.38, allocations: 5.445 MB / 0.675 GB, free: 78.4 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001537/1.381, allocations: 1.206 MB / 0.6762 GB, free: 78.26 MB / 458.7 MB Notification: Performance of pre-optimization done (n=177): time 3.517e-06/1.381, allocations: 0 / 0.6762 GB, free: 78.26 MB / 458.7 MB Notification: Performance of matching and sorting (n=209): time 0.01447/1.396, allocations: 6.913 MB / 0.6829 GB, free: 77.43 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/1.396, allocations: 344.5 kB / 0.6832 GB, free: 77.05 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003419/1.4, allocations: 2.141 MB / 0.6853 GB, free: 76.82 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000331/1.4, allocations: 69.33 kB / 0.6854 GB, free: 76.79 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001904/1.402, allocations: 1.924 MB / 0.6873 GB, free: 76.18 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000875/1.403, allocations: 0.7037 MB / 0.688 GB, free: 75.82 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/1.403, allocations: 51.09 kB / 0.688 GB, free: 75.82 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/1.403, allocations: 408.3 kB / 0.6884 GB, free: 75.52 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001473/1.404, allocations: 1.035 MB / 0.6894 GB, free: 75.51 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001796/1.406, allocations: 1.797 MB / 0.6912 GB, free: 74.69 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001795/1.408, allocations: 1.325 MB / 0.6925 GB, free: 74.66 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/1.408, allocations: 6.406 kB / 0.6925 GB, free: 74.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.006893/1.415, allocations: 3.883 MB / 0.6963 GB, free: 74.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001979/1.417, allocations: 8.384 MB / 0.7044 GB, free: 65.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.35e-05/1.417, allocations: 18.59 kB / 0.7045 GB, free: 65.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002565/1.42, allocations: 1.014 MB / 0.7055 GB, free: 65.35 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001946/1.422, allocations: 476.9 kB / 0.7059 GB, free: 65.35 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/1.434, allocations: 14.12 MB / 0.7197 GB, free: 57.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002832/1.437, allocations: 171.9 kB / 0.7199 GB, free: 57.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003207/1.438, allocations: 107.3 kB / 0.72 GB, free: 57.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/1.438, allocations: 7.375 kB / 0.72 GB, free: 57.27 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005428/1.443, allocations: 3.613 MB / 0.7235 GB, free: 57.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.217e-05/1.443, allocations: 17.53 kB / 0.7235 GB, free: 57.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002322/1.446, allocations: 1.001 MB / 0.7245 GB, free: 56.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001977/1.448, allocations: 464 kB / 0.7249 GB, free: 56.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01225/1.46, allocations: 14.11 MB / 0.7387 GB, free: 48.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003177/1.463, allocations: 164.2 kB / 0.7389 GB, free: 48.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004152/1.464, allocations: 103.7 kB / 0.739 GB, free: 48.89 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.loadControl.pulseStart,loadControl.pulseStart,$PRE.switch.closerWithArc[1].off,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch,voltageController.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (266): * Single equations (assignments): 259 * 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 {(2,100.0%) 22,(3,100.0%) 21,(1,100.0%) 8} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0007319/1.464, allocations: 280.7 kB / 0.7392 GB, free: 48.79 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007682/1.465, allocations: 278.8 kB / 0.7395 GB, free: 48.64 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005909/1.471, allocations: 3.241 MB / 0.7427 GB, free: 47.49 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/1.471, allocations: 21.22 kB / 0.7427 GB, free: 47.49 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/1.471, allocations: 3.594 kB / 0.7427 GB, free: 47.49 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.02e-05/1.471, allocations: 11.48 kB / 0.7427 GB, free: 47.49 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01133/1.482, allocations: 7.028 MB / 0.7496 GB, free: 44.54 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/1.482, allocations: 6.875 kB / 0.7496 GB, free: 44.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/1.484, allocations: 275.9 kB / 0.7498 GB, free: 44.54 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002281/1.486, allocations: 1.023 MB / 0.7508 GB, free: 44.27 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002355/1.486, allocations: 65.33 kB / 0.7509 GB, free: 44.24 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0115/1.498, allocations: 11.64 MB / 0.7623 GB, free: 36.11 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/1.498, allocations: 2.781 kB / 0.7623 GB, free: 36.11 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006921/1.505, allocations: 4.621 MB / 0.7668 GB, free: 34.02 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001791/1.506, allocations: 0.5891 MB / 0.7674 GB, free: 33.62 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008942/1.507, allocations: 64.28 kB / 0.7674 GB, free: 33.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00192/1.509, allocations: 121.8 kB / 0.7675 GB, free: 33.56 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005272/1.51, allocations: 239.4 kB / 0.7678 GB, free: 33.53 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/1.51, allocations: 62.53 kB / 0.7678 GB, free: 33.51 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002804/1.513, allocations: 1.63 MB / 0.7694 GB, free: 32.86 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.51e-07/1.513, allocations: 0 / 0.7694 GB, free: 32.86 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00693/1.52, allocations: 1.511 MB / 0.7709 GB, free: 32.71 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.strayReluctance.Phi.re,speed.phi,speed.w,voltageController.I.y,loadInductor.inductor[2].i,loadInductor.inductor[3].i) * Number of discrete variables: 14 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,loadControl.pulseStart,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[1].tSwitch,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched,switch.closerWithArc[2].tSwitch,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[3].tSwitch) * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 140 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {4 55,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008731/1.521, allocations: 469.3 kB / 0.7713 GB, free: 32.53 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009183/1.53, allocations: 6.44 MB / 0.7776 GB, free: 29.12 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/1.53, allocations: 4.344 kB / 0.7776 GB, free: 29.12 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003233/1.533, allocations: 2.145 MB / 0.7797 GB, free: 27.98 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003447/1.537, allocations: 0.6309 MB / 0.7803 GB, free: 27.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01266/1.549, allocations: 6.441 MB / 0.7866 GB, free: 24.04 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002196/1.552, allocations: 2.923 MB / 0.7895 GB, free: 21.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003614/1.555, allocations: 1.04 MB / 0.7905 GB, free: 21.14 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003549/1.556, allocations: 135.2 kB / 0.7906 GB, free: 21.02 MB / 458.7 MB Notification: Performance of SimCode: time 1.492e-06/1.556, allocations: 4 kB / 0.7906 GB, free: 21.01 MB / 458.7 MB Notification: Performance of Templates: time 0.08931/1.645, allocations: 55.08 MB / 0.8444 GB, free: 76 kB / 474.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump.pipe 2>&1)