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.0009397/0.0009396, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03916/0.03916, allocations: 8.711 MB / 16.78 MB, free: 3.375 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.37/1.37, allocations: 221.5 MB / 240.9 MB, free: 13.2 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.001098/0.001098, allocations: 92.09 kB / 293.9 MB, free: 7.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.337e-05/1.338e-05, allocations: 0 / 352.6 MB, free: 1.262 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1212, allocations: 52.55 MB / 405.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.398/0.5193, allocations: 116.3 MB / 0.5093 GB, free: 3.625 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/0.5196, allocations: 79.95 kB / 0.5094 GB, free: 3.547 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6541/1.174, allocations: 153.9 MB / 0.6597 GB, free: 66.65 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.483e-06/1.174, allocations: 3.938 kB / 0.6597 GB, free: 66.64 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003898/1.174, allocations: 87.5 kB / 0.6598 GB, free: 66.63 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.01224/1.186, allocations: 3.487 MB / 0.6632 GB, free: 64.35 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/1.187, allocations: 11.33 kB / 0.6632 GB, free: 64.35 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005723/1.192, allocations: 0.8701 MB / 0.664 GB, free: 63.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0102/1.202, allocations: 3.531 MB / 0.6675 GB, free: 61.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002704/1.203, allocations: 117.2 kB / 0.6676 GB, free: 61.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001513/1.204, allocations: 225.2 kB / 0.6678 GB, free: 61.57 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008628/1.213, allocations: 3.35 MB / 0.6711 GB, free: 59.89 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01175/1.225, allocations: 4.004 MB / 0.675 GB, free: 57.54 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001615/1.225, allocations: 7.609 kB / 0.675 GB, free: 57.53 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009075/1.226, allocations: 3.562 kB / 0.675 GB, free: 57.53 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001438/1.226, allocations: 149.5 kB / 0.6751 GB, free: 57.52 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02621/1.252, allocations: 14.88 MB / 0.6897 GB, free: 45.87 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004873/1.257, allocations: 6.117 MB / 0.6956 GB, free: 38.98 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001972/1.259, allocations: 1.287 MB / 0.6969 GB, free: 37.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006702/1.266, allocations: 3.981 MB / 0.7008 GB, free: 33.57 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/1.266, allocations: 47.88 kB / 0.7008 GB, free: 33.52 MB / 442.7 MB Notification: Performance of pre-optimization done (n=118): time 2.655e-06/1.266, allocations: 0 / 0.7008 GB, free: 33.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=149): time 0.01062/1.277, allocations: 5.057 MB / 0.7058 GB, free: 28.42 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/1.277, allocations: 64.72 kB / 0.7058 GB, free: 28.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002984/1.28, allocations: 1.442 MB / 0.7072 GB, free: 26.91 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000115/1.28, allocations: 29.7 kB / 0.7073 GB, free: 26.87 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009129/1.281, allocations: 1.716 MB / 0.709 GB, free: 25.13 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003209/1.281, allocations: 0.4889 MB / 0.7094 GB, free: 24.63 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.876e-05/1.281, allocations: 0 / 0.7094 GB, free: 24.63 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/1.281, allocations: 386.2 kB / 0.7098 GB, free: 24.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008753/1.282, allocations: 0.6759 MB / 0.7105 GB, free: 23.57 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/1.283, allocations: 1.409 MB / 0.7118 GB, free: 21.82 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006145/1.289, allocations: 2.232 MB / 0.714 GB, free: 19.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.938e-05/1.29, allocations: 8 kB / 0.714 GB, free: 19.56 MB / 442.7 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.004111/1.294, allocations: 2.602 MB / 0.7166 GB, free: 16.95 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/1.294, allocations: 23.92 kB / 0.7166 GB, free: 16.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.093e-05/1.294, allocations: 24 kB / 0.7166 GB, free: 16.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008078/1.295, allocations: 344.7 kB / 0.7169 GB, free: 16.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/1.296, allocations: 467.3 kB / 0.7174 GB, free: 16.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003799/1.3, allocations: 3.591 MB / 0.7209 GB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/1.302, allocations: 39.89 kB / 0.7209 GB, free: 12.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/1.302, allocations: 99.98 kB / 0.721 GB, free: 12.27 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[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 110 * 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 (247): * Single equations (assignments): 245 * 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%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003184/1.302, allocations: 180.1 kB / 0.7212 GB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000399/1.302, allocations: 197.6 kB / 0.7214 GB, free: 11.89 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003186/1.306, allocations: 1.846 MB / 0.7232 GB, free: 10.03 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/1.306, allocations: 16 kB / 0.7232 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/1.306, allocations: 4 kB / 0.7232 GB, free: 10.01 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/1.306, allocations: 11.97 kB / 0.7232 GB, free: 10 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007801/1.314, allocations: 4.751 MB / 0.7279 GB, free: 5.184 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/1.314, allocations: 8.031 kB / 0.7279 GB, free: 5.176 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009634/1.314, allocations: 251.7 kB / 0.7281 GB, free: 4.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006598/1.315, allocations: 280.5 kB / 0.7284 GB, free: 4.652 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.871e-05/1.315, allocations: 15.98 kB / 0.7284 GB, free: 4.637 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003336/1.319, allocations: 3.37 MB / 0.7317 GB, free: 1.152 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/1.319, allocations: 4 kB / 0.7317 GB, free: 1.148 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004143/1.323, allocations: 2.898 MB / 0.7345 GB, free: 14.15 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009742/1.324, allocations: 430.6 kB / 0.7349 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004568/1.324, allocations: 4 kB / 0.7349 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/1.325, allocations: 35.97 kB / 0.735 GB, free: 13.67 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002199/1.326, allocations: 109.1 kB / 0.7351 GB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/1.326, allocations: 43.98 kB / 0.7351 GB, free: 13.52 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002643/1.328, allocations: 1.053 MB / 0.7361 GB, free: 12.47 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.71e-07/1.328, allocations: 0 / 0.7361 GB, free: 12.47 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0034/1.332, allocations: 0.5742 MB / 0.7367 GB, free: 11.9 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 5 (smee.phiMechanical,smee.is[2],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 (125): * Single equations (assignments): 124 * 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 {(3,77.8%) 22} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006322/1.332, allocations: 346.3 kB / 0.737 GB, free: 11.58 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003647/1.336, allocations: 2.022 MB / 0.739 GB, free: 9.531 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.336, allocations: 0.625 kB / 0.739 GB, free: 9.531 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001667/1.338, allocations: 0.9772 MB / 0.74 GB, free: 8.543 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/1.34, allocations: 423.1 kB / 0.7404 GB, free: 8.133 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/1.352, allocations: 4.743 MB / 0.745 GB, free: 3.32 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004056/1.356, allocations: 2.5 MB / 0.7474 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002003/1.358, allocations: 469.5 kB / 0.7479 GB, free: 336 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005071/1.358, allocations: 139.4 kB / 0.748 GB, free: 196 kB / 458.7 MB Notification: Performance of SimCode: time 5e-07/1.358, allocations: 3.938 kB / 0.748 GB, free: 192 kB / 458.7 MB Notification: Performance of Templates: time 0.3394/1.698, allocations: 24.44 MB / 0.7719 GB, free: 83.47 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)