Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.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_ShortCircuit1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 175.4 kB / 7.654 MB, free: 1.395 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05179/0.05179, allocations: 8.718 MB / 16.79 MB, free: 3.387 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 221.5 MB / 240.9 MB, free: 13.23 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.001094/0.001094, allocations: 90.16 kB / 293.9 MB, free: 7.227 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.347e-05/1.348e-05, allocations: 0 / 352.6 MB, free: 1.277 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1188, allocations: 52.55 MB / 405.2 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3933/0.5122, allocations: 116.3 MB / 0.5093 GB, free: 3.648 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/0.5124, allocations: 75.95 kB / 0.5094 GB, free: 3.574 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6403/1.153, allocations: 153.9 MB / 0.6597 GB, free: 66.52 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.334e-06/1.153, allocations: 4 kB / 0.6597 GB, free: 66.52 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003919/1.153, allocations: 84.38 kB / 0.6598 GB, free: 66.51 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01262/1.166, allocations: 3.478 MB / 0.6632 GB, free: 64.24 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/1.166, allocations: 13.77 kB / 0.6632 GB, free: 64.23 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005783/1.172, allocations: 0.8713 MB / 0.664 GB, free: 63.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009873/1.182, allocations: 3.531 MB / 0.6675 GB, free: 61.47 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002397/1.182, allocations: 118.2 kB / 0.6676 GB, free: 61.47 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001374/1.183, allocations: 227.9 kB / 0.6678 GB, free: 61.45 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008326/1.192, allocations: 3.357 MB / 0.6711 GB, free: 59.77 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01114/1.203, allocations: 3.984 MB / 0.675 GB, free: 57.43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001395/1.203, allocations: 3.953 kB / 0.675 GB, free: 57.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000891/1.204, allocations: 5.312 kB / 0.675 GB, free: 57.43 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001611/1.204, allocations: 152.8 kB / 0.6751 GB, free: 57.41 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.026/1.23, allocations: 14.69 MB / 0.6895 GB, free: 46.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004717/1.235, allocations: 5.903 MB / 0.6953 GB, free: 39.43 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001697/1.237, allocations: 1.139 MB / 0.6964 GB, free: 38.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006408/1.243, allocations: 3.886 MB / 0.7002 GB, free: 34.25 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/1.243, allocations: 43.88 kB / 0.7002 GB, free: 34.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=111): time 3.567e-06/1.243, allocations: 0 / 0.7002 GB, free: 34.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=137): time 0.009921/1.253, allocations: 4.548 MB / 0.7046 GB, free: 29.61 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/1.253, allocations: 72.7 kB / 0.7047 GB, free: 29.53 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003056/1.256, allocations: 1.506 MB / 0.7062 GB, free: 27.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.763e-05/1.256, allocations: 25.7 kB / 0.7062 GB, free: 27.95 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001061/1.257, allocations: 1.743 MB / 0.7079 GB, free: 26.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003091/1.258, allocations: 465.2 kB / 0.7084 GB, free: 25.72 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/1.258, allocations: 4 kB / 0.7084 GB, free: 25.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/1.258, allocations: 390.1 kB / 0.7087 GB, free: 25.33 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008848/1.259, allocations: 0.6603 MB / 0.7094 GB, free: 24.66 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/1.26, allocations: 1.398 MB / 0.7107 GB, free: 22.92 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006316/1.266, allocations: 2.241 MB / 0.7129 GB, free: 20.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.86e-05/1.266, allocations: 12 kB / 0.7129 GB, free: 20.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.004347/1.271, allocations: 2.517 MB / 0.7154 GB, free: 18.12 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/1.271, allocations: 16 kB / 0.7154 GB, free: 18.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.659e-05/1.271, allocations: 27.94 kB / 0.7154 GB, free: 18.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006765/1.271, allocations: 274 kB / 0.7157 GB, free: 17.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/1.273, allocations: 479.2 kB / 0.7162 GB, free: 17.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002953/1.276, allocations: 2.985 MB / 0.7191 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/1.278, allocations: 51.94 kB / 0.7191 GB, free: 14.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000168/1.278, allocations: 104 kB / 0.7192 GB, free: 14.1 MB / 442.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: smee.is[2] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 111 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (251): * Single equations (assignments): 249 * 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: 1 * 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: 1 {(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003074/1.278, allocations: 164.2 kB / 0.7194 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004051/1.279, allocations: 205.5 kB / 0.7196 GB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002843/1.281, allocations: 1.631 MB / 0.7212 GB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/1.281, allocations: 12 kB / 0.7212 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/1.281, allocations: 4 kB / 0.7212 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/1.281, allocations: 7.969 kB / 0.7212 GB, free: 12.06 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007796/1.289, allocations: 4.285 MB / 0.7254 GB, free: 7.715 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/1.289, allocations: 4 kB / 0.7254 GB, free: 7.711 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009951/1.29, allocations: 251.9 kB / 0.7256 GB, free: 7.465 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005301/1.291, allocations: 206.9 kB / 0.7258 GB, free: 7.262 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.3e-05/1.291, allocations: 12 kB / 0.7258 GB, free: 7.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002609/1.294, allocations: 2.852 MB / 0.7286 GB, free: 4.289 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.294, allocations: 4 kB / 0.7286 GB, free: 4.285 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003262/1.297, allocations: 2.583 MB / 0.7311 GB, free: 1.562 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008045/1.298, allocations: 422.5 kB / 0.7315 GB, free: 1.129 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004169/1.298, allocations: 16 kB / 0.7316 GB, free: 1.113 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/1.299, allocations: 35.95 kB / 0.7316 GB, free: 1.078 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/1.299, allocations: 93.14 kB / 0.7317 GB, free: 0.9883 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.436e-05/1.299, allocations: 43.98 kB / 0.7317 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001583/1.301, allocations: 1.097 MB / 0.7328 GB, free: 15.82 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.301, allocations: 0 / 0.7328 GB, free: 15.82 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00242/1.303, allocations: 0.5703 MB / 0.7333 GB, free: 15.25 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (smee.phiMechanical,smee.is[1],smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.strayReluctance.Phi.re) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005384/1.304, allocations: 340.9 kB / 0.7337 GB, free: 14.94 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003041/1.307, allocations: 1.884 MB / 0.7355 GB, free: 13.03 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.307, allocations: 7.938 kB / 0.7355 GB, free: 13.02 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001322/1.308, allocations: 0.8523 MB / 0.7364 GB, free: 12.16 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/1.31, allocations: 414.4 kB / 0.7367 GB, free: 11.75 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/1.322, allocations: 4.622 MB / 0.7413 GB, free: 7.062 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003566/1.326, allocations: 2.484 MB / 0.7437 GB, free: 4.547 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002142/1.328, allocations: 469.5 kB / 0.7441 GB, free: 4.086 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005409/1.328, allocations: 135.4 kB / 0.7443 GB, free: 3.953 MB / 458.7 MB Notification: Performance of SimCode: time 4.81e-07/1.328, allocations: 3.938 kB / 0.7443 GB, free: 3.949 MB / 458.7 MB Notification: Performance of Templates: time 0.3232/1.651, allocations: 23.61 MB / 0.7673 GB, free: 83.95 MB / 458.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe 2>&1)