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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package HanserModelica with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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 3.2.3+maint.om/package.mo): time 0.001621/0.001621, allocations: 172.1 kB / 16.12 MB, free: 5.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.04725/0.04725, allocations: 8.769 MB / 25.64 MB, free: 3.793 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.4 MB / 233.9 MB, free: 12.47 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008304/0.0008304, allocations: 98.08 kB / 284.4 MB, free: 14.33 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005159/0.0005161, allocations: 12 kB / 344.8 MB, free: 1.859 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.265, allocations: 49.7 MB / 394.5 MB, free: 36.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3697/0.6348, allocations: 117.2 MB / 0.4998 GB, free: 102.1 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003667/0.6352, allocations: 80.23 kB / 0.4998 GB, free: 102.1 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3493/0.9845, allocations: 155.7 MB / 0.6519 GB, free: 7.707 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.178e-06/0.9846, allocations: 0 / 0.6519 GB, free: 7.707 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005165/0.9851, allocations: 87.94 kB / 0.652 GB, free: 7.621 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.01454/0.9997, allocations: 3.827 MB / 0.6557 GB, free: 3.719 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.9998, allocations: 8.031 kB / 0.6557 GB, free: 3.711 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005585/1.005, allocations: 0.8782 MB / 0.6566 GB, free: 2.828 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2735/1.279, allocations: 2.945 MB / 0.6594 GB, free: 66.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005401/1.279, allocations: 276.9 kB / 0.6597 GB, free: 66.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001511/1.281, allocations: 361.9 kB / 0.66 GB, free: 66.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009598/1.291, allocations: 4.658 MB / 0.6646 GB, free: 65.56 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001042/1.291, allocations: 7.562 kB / 0.6646 GB, free: 65.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003727/1.291, allocations: 156.9 kB / 0.6648 GB, free: 65.56 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001271/1.291, allocations: 152 kB / 0.6649 GB, free: 65.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006895/1.298, allocations: 3.685 MB / 0.6685 GB, free: 65.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02716/1.325, allocations: 15.57 MB / 0.6837 GB, free: 62.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004989/1.33, allocations: 6.297 MB / 0.6899 GB, free: 57.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002308/1.333, allocations: 1.461 MB / 0.6913 GB, free: 57.63 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007222/1.34, allocations: 4.283 MB / 0.6955 GB, free: 56.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/1.34, allocations: 52.09 kB / 0.6955 GB, free: 56.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=146): time 4.528e-06/1.34, allocations: 0 / 0.6955 GB, free: 56.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=188): time 0.0135/1.354, allocations: 7.183 MB / 0.7025 GB, free: 55.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/1.354, allocations: 74.12 kB / 0.7026 GB, free: 55.06 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002997/1.357, allocations: 1.928 MB / 0.7045 GB, free: 54.83 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002559/1.357, allocations: 58.52 kB / 0.7045 GB, free: 54.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001055/1.358, allocations: 1.634 MB / 0.7061 GB, free: 54.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000526/1.359, allocations: 0.6381 MB / 0.7068 GB, free: 53.76 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/1.359, allocations: 47.31 kB / 0.7068 GB, free: 53.76 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/1.359, allocations: 396.5 kB / 0.7072 GB, free: 53.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/1.36, allocations: 0.8357 MB / 0.708 GB, free: 53.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/1.362, allocations: 1.532 MB / 0.7095 GB, free: 52.25 MB / 426.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01182/1.374, allocations: 4.936 MB / 0.7143 GB, free: 50.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.929e-05/1.374, allocations: 7.469 kB / 0.7143 GB, free: 50.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=293) (initialization): time 0.004971/1.379, allocations: 3.058 MB / 0.7173 GB, free: 48.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/1.379, allocations: 18.12 kB / 0.7173 GB, free: 48.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.605e-05/1.379, allocations: 18.53 kB / 0.7173 GB, free: 48.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/1.38, allocations: 451.5 kB / 0.7178 GB, free: 48.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/1.381, allocations: 493.3 kB / 0.7182 GB, free: 48.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006232/1.388, allocations: 6.103 MB / 0.7242 GB, free: 44.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002389/1.39, allocations: 87.59 kB / 0.7243 GB, free: 44.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002483/1.39, allocations: 103.4 kB / 0.7244 GB, free: 44.16 MB / 426.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: 98 * 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 (254): * Single equations (assignments): 251 * 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: 2 * 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: 2 {(3,77.8%) 34,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002532/1.393, allocations: 1.104 MB / 0.7255 GB, free: 43.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005554/1.393, allocations: 235 kB / 0.7257 GB, free: 43.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003925/1.397, allocations: 2.383 MB / 0.728 GB, free: 42.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/1.397, allocations: 20.72 kB / 0.728 GB, free: 42.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/1.397, allocations: 4.188 kB / 0.728 GB, free: 42.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/1.398, allocations: 10.97 kB / 0.728 GB, free: 42.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009199/1.407, allocations: 5.775 MB / 0.7337 GB, free: 39.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.846e-06/1.407, allocations: 3.906 kB / 0.7337 GB, free: 39.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00127/1.408, allocations: 307.6 kB / 0.734 GB, free: 39.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009053/1.409, allocations: 392.1 kB / 0.7344 GB, free: 39.65 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/1.409, allocations: 42.86 kB / 0.7344 GB, free: 39.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005615/1.415, allocations: 4.709 MB / 0.739 GB, free: 36.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.415, allocations: 7.562 kB / 0.739 GB, free: 36.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005236/1.42, allocations: 3.565 MB / 0.7425 GB, free: 34.78 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001222/1.421, allocations: 0.4888 MB / 0.743 GB, free: 34.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006891/1.422, allocations: 41.56 kB / 0.743 GB, free: 34.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/1.423, allocations: 74.69 kB / 0.7431 GB, free: 34.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002891/1.424, allocations: 141.1 kB / 0.7432 GB, free: 34.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/1.424, allocations: 52.47 kB / 0.7433 GB, free: 34.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00235/1.426, allocations: 1.3 MB / 0.7445 GB, free: 33.81 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/1.426, allocations: 0 / 0.7445 GB, free: 33.81 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002748/1.429, allocations: 0.7278 MB / 0.7452 GB, free: 33.72 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (smee.phiMechanical,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,pin1.pin_p.i) * 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 (152): * Single equations (assignments): 151 * 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%) 33} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006425/1.43, allocations: 360.4 kB / 0.7456 GB, free: 33.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003999/1.434, allocations: 2.685 MB / 0.7482 GB, free: 32.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/1.434, allocations: 0 / 0.7482 GB, free: 32.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001897/1.436, allocations: 1.342 MB / 0.7495 GB, free: 31.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003423/1.439, allocations: 0.5668 MB / 0.7501 GB, free: 31.63 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01307/1.452, allocations: 7.777 MB / 0.7577 GB, free: 27.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002867/1.455, allocations: 2.477 MB / 0.7601 GB, free: 25.25 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002323/1.457, allocations: 0.5243 MB / 0.7606 GB, free: 24.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005704/1.458, allocations: 154.4 kB / 0.7607 GB, free: 24.75 MB / 426.7 MB Notification: Performance of SimCode: time 9.91e-07/1.458, allocations: 0 / 0.7607 GB, free: 24.75 MB / 426.7 MB Notification: Performance of Templates: time 0.05545/1.513, allocations: 34.15 MB / 0.7941 GB, free: 4.129 MB / 426.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)