Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.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_ShortCircuit2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00467/0.00467, allocations: 170.8 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03755/0.03755, allocations: 8.8 MB / 24.65 MB, free: 4.113 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.219/1.219, allocations: 223.2 MB / 250.7 MB, free: 6.555 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.0009484/0.0009484, allocations: 106.4 kB / 304 MB, free: 4.035 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.0003321, allocations: 15.98 kB / 367.1 MB, free: 4.969 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2184, allocations: 52.54 MB / 419.6 MB, free: 48.13 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1203/0.3387, allocations: 117.1 MB / 0.5241 GB, free: 3.977 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/0.339, allocations: 83.95 kB / 0.5242 GB, free: 3.895 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4931/0.8321, allocations: 156 MB / 0.6765 GB, free: 27 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.8322, allocations: 0 / 0.6765 GB, free: 27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000263/0.8324, allocations: 91.88 kB / 0.6766 GB, free: 26.91 MB / 426.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.00977/0.8422, allocations: 3.875 MB / 0.6804 GB, free: 22.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.8423, allocations: 12.56 kB / 0.6804 GB, free: 22.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004413/0.8467, allocations: 0.8735 MB / 0.6812 GB, free: 22.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0073/0.854, allocations: 3.563 MB / 0.6847 GB, free: 18.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/0.8542, allocations: 275.4 kB / 0.685 GB, free: 18.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004818/0.8547, allocations: 367.9 kB / 0.6853 GB, free: 17.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005946/0.8606, allocations: 4.608 MB / 0.6898 GB, free: 13.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.106e-05/0.8607, allocations: 0 / 0.6898 GB, free: 13.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002856/0.861, allocations: 156 kB / 0.69 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.309e-05/0.8611, allocations: 159.3 kB / 0.6901 GB, free: 12.78 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004724/0.8658, allocations: 3.66 MB / 0.6937 GB, free: 9.113 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01908/0.8849, allocations: 15.55 MB / 0.7089 GB, free: 9.098 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005622/0.8906, allocations: 6.265 MB / 0.715 GB, free: 2.051 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006699/0.8973, allocations: 4.153 MB / 0.719 GB, free: 13.72 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.8974, allocations: 55.81 kB / 0.7191 GB, free: 13.65 MB / 458.7 MB Notification: Performance of pre-optimization done (n=134): time 2.685e-06/0.8974, allocations: 0 / 0.7191 GB, free: 13.65 MB / 458.7 MB Notification: Performance of matching and sorting (n=166): time 0.01139/0.9088, allocations: 6.207 MB / 0.7252 GB, free: 7.352 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.9089, allocations: 72.72 kB / 0.7252 GB, free: 7.27 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002487/0.9114, allocations: 1.785 MB / 0.727 GB, free: 5.453 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001119/0.9115, allocations: 53.7 kB / 0.727 GB, free: 5.395 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001106/0.9126, allocations: 1.676 MB / 0.7287 GB, free: 3.695 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004058/0.913, allocations: 0.5622 MB / 0.7292 GB, free: 3.125 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.9132, allocations: 48 kB / 0.7293 GB, free: 3.078 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.9133, allocations: 394.4 kB / 0.7296 GB, free: 2.688 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.9145, allocations: 0.7891 MB / 0.7304 GB, free: 1.895 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/0.916, allocations: 1.516 MB / 0.7319 GB, free: 40 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1916/1.108, allocations: 2.666 MB / 0.7345 GB, free: 76.43 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.071e-05/1.108, allocations: 7.875 kB / 0.7345 GB, free: 76.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=287) (initialization): time 0.004423/1.112, allocations: 2.903 MB / 0.7373 GB, free: 76.33 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/1.112, allocations: 13.03 kB / 0.7373 GB, free: 76.33 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.293e-05/1.112, allocations: 24.59 kB / 0.7374 GB, free: 76.33 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000853/1.113, allocations: 402 kB / 0.7377 GB, free: 76.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/1.115, allocations: 485.1 kB / 0.7382 GB, free: 76.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004238/1.119, allocations: 4.23 MB / 0.7423 GB, free: 74.97 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/1.121, allocations: 97.94 kB / 0.7424 GB, free: 74.97 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/1.121, allocations: 95.56 kB / 0.7425 GB, free: 74.97 MB / 458.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[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (255): * Single equations (assignments): 253 * 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 {(3,77.8%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001944/1.123, allocations: 1.095 MB / 0.7436 GB, free: 74.86 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003219/1.123, allocations: 226.8 kB / 0.7438 GB, free: 74.86 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002936/1.126, allocations: 2.08 MB / 0.7458 GB, free: 74.75 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/1.126, allocations: 17.5 kB / 0.7459 GB, free: 74.75 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/1.126, allocations: 3.812 kB / 0.7459 GB, free: 74.75 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/1.126, allocations: 7.781 kB / 0.7459 GB, free: 74.75 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007141/1.133, allocations: 5.564 MB / 0.7513 GB, free: 74.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/1.133, allocations: 3 kB / 0.7513 GB, free: 74.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/1.135, allocations: 279.8 kB / 0.7516 GB, free: 74.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007138/1.135, allocations: 309.9 kB / 0.7519 GB, free: 74.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.246e-05/1.135, allocations: 44.11 kB / 0.7519 GB, free: 74.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003701/1.139, allocations: 3.821 MB / 0.7556 GB, free: 72.84 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.139, allocations: 3.75 kB / 0.7556 GB, free: 72.84 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00416/1.143, allocations: 3.266 MB / 0.7588 GB, free: 72.22 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/1.144, allocations: 476.6 kB / 0.7593 GB, free: 72.01 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002658/1.145, allocations: 40.92 kB / 0.7593 GB, free: 72.01 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009543/1.146, allocations: 65.3 kB / 0.7594 GB, free: 72.01 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002246/1.146, allocations: 123.2 kB / 0.7595 GB, free: 72 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.439e-05/1.146, allocations: 44.91 kB / 0.7596 GB, free: 72 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001963/1.148, allocations: 1.351 MB / 0.7609 GB, free: 71.86 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.148, allocations: 0 / 0.7609 GB, free: 71.86 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002292/1.15, allocations: 0.6925 MB / 0.7615 GB, free: 71.86 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 5 (smee.phiMechanical,smee.is[2],smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (139): * Single equations (assignments): 138 * 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 {(4,68.8%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000551/1.151, allocations: 366.8 kB / 0.7619 GB, free: 71.77 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003527/1.154, allocations: 2.336 MB / 0.7642 GB, free: 71.49 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/1.154, allocations: 1.625 kB / 0.7642 GB, free: 71.49 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001629/1.156, allocations: 1.135 MB / 0.7653 GB, free: 71.34 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002227/1.158, allocations: 0.5482 MB / 0.7658 GB, free: 71.32 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/1.168, allocations: 7.471 MB / 0.7731 GB, free: 68.04 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002042/1.17, allocations: 2.509 MB / 0.7756 GB, free: 67.24 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001938/1.172, allocations: 0.4952 MB / 0.7761 GB, free: 67.17 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004218/1.173, allocations: 155.8 kB / 0.7762 GB, free: 67.17 MB / 458.7 MB Notification: Performance of SimCode: time 5.91e-07/1.173, allocations: 3.562 kB / 0.7762 GB, free: 67.17 MB / 458.7 MB Notification: Performance of Templates: time 0.04867/1.221, allocations: 31.97 MB / 0.8074 GB, free: 65.79 MB / 458.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe 2>&1)