Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.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.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_withLosses") translateModel(HanserModelica.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00107/0.00107, allocations: 175.4 kB / 16.12 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.03896/0.03896, allocations: 8.775 MB / 25.64 MB, free: 3.73 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.763/1.763, allocations: 205.4 MB / 233.9 MB, free: 12.49 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.001019/0.00102, allocations: 90.28 kB / 284.4 MB, free: 14.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000419/0.000419, allocations: 16 kB / 344.8 MB, free: 1.875 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2884, allocations: 49.71 MB / 394.5 MB, free: 36.78 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4047/0.6932, allocations: 131.3 MB / 0.5134 GB, free: 102.7 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.6935, allocations: 86.09 kB / 0.5135 GB, free: 102.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.112/1.806, allocations: 351.9 MB / 0.8572 GB, free: 52.54 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.184e-06/1.806, allocations: 0 / 0.8572 GB, free: 52.54 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006157/1.806, allocations: 217.8 kB / 0.8574 GB, free: 52.52 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.03413/1.841, allocations: 9.985 MB / 0.8671 GB, free: 49.36 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/1.841, allocations: 6.844 kB / 0.8671 GB, free: 49.36 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02652/1.867, allocations: 4.952 MB / 0.872 GB, free: 48.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01692/1.884, allocations: 7.625 MB / 0.8794 GB, free: 47.73 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001165/1.885, allocations: 0.7141 MB / 0.8801 GB, free: 47.71 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004771/1.89, allocations: 0.9202 MB / 0.881 GB, free: 47.7 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04539/1.936, allocations: 17.2 MB / 0.8978 GB, free: 46.59 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003638/1.936, allocations: 11.16 kB / 0.8978 GB, free: 46.58 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003133/1.939, allocations: 407.4 kB / 0.8982 GB, free: 46.57 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007139/1.94, allocations: 0.7125 MB / 0.8989 GB, free: 46.55 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03262/1.972, allocations: 15.81 MB / 0.9144 GB, free: 45.41 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09806/2.071, allocations: 55.33 MB / 0.9684 GB, free: 11.61 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02328/2.094, allocations: 19.32 MB / 0.9873 GB, free: 9.141 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01456/2.109, allocations: 7.627 MB / 0.9947 GB, free: 2.352 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2856/2.394, allocations: 25.06 MB / 1.019 GB, free: 66.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.417e-05/2.394, allocations: 99.36 kB / 1.019 GB, free: 66.46 MB / 474.7 MB Notification: Performance of pre-optimization done (n=749): time 8.656e-06/2.394, allocations: 2.906 kB / 1.019 GB, free: 66.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=754): time 0.09803/2.492, allocations: 41.24 MB / 1.06 GB, free: 63.83 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/2.492, allocations: 115.8 kB / 1.06 GB, free: 63.76 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004971/2.497, allocations: 3.584 MB / 1.063 GB, free: 63.49 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001444/2.499, allocations: 128.8 kB / 1.063 GB, free: 63.46 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002144/2.501, allocations: 3.609 MB / 1.067 GB, free: 61.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003536/2.505, allocations: 2.48 MB / 1.069 GB, free: 59.36 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000961/2.506, allocations: 125.2 kB / 1.069 GB, free: 59.27 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006919/2.506, allocations: 0.6124 MB / 1.07 GB, free: 58.82 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008249/2.514, allocations: 5.092 MB / 1.075 GB, free: 56.69 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009984/2.525, allocations: 6.365 MB / 1.081 GB, free: 53.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01693/2.541, allocations: 12.03 MB / 1.093 GB, free: 46.91 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.316e-05/2.542, allocations: 7.562 kB / 1.093 GB, free: 46.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=941) (initialization): time 0.02463/2.566, allocations: 14.63 MB / 1.107 GB, free: 40.74 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.448e-05/2.566, allocations: 18.06 kB / 1.107 GB, free: 40.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.531e-05/2.566, allocations: 36.09 kB / 1.107 GB, free: 40.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00717/2.574, allocations: 4.033 MB / 1.111 GB, free: 39.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005314/2.579, allocations: 1.184 MB / 1.112 GB, free: 38.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01224/2.591, allocations: 12.58 MB / 1.125 GB, free: 26.88 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00582/2.597, allocations: 361.5 kB / 1.125 GB, free: 26.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002188/2.599, allocations: 285.3 kB / 1.125 GB, free: 26.36 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 141 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (636): * Single equations (assignments): 560 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 69 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 86} Notification: Performance of prepare postOptimizeDAE: time 0.01051/2.61, allocations: 3.871 MB / 1.129 GB, free: 23.12 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001353/2.611, allocations: 0.4893 MB / 1.129 GB, free: 22.63 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02078/2.632, allocations: 14.31 MB / 1.143 GB, free: 10.34 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02038/2.652, allocations: 12.87 MB / 1.156 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.479e-05/2.652, allocations: 0 / 1.156 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.344e-05/2.653, allocations: 32.06 kB / 1.156 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3349/2.987, allocations: 29.29 MB / 1.185 GB, free: 78.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.82e-05/2.988, allocations: 2.875 kB / 1.185 GB, free: 78.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004145/2.992, allocations: 0.8819 MB / 1.186 GB, free: 78.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007148/2.999, allocations: 3.96 MB / 1.189 GB, free: 78.65 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001358/3, allocations: 162.5 kB / 1.19 GB, free: 78.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01252/3.013, allocations: 12.47 MB / 1.202 GB, free: 74.18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/3.013, allocations: 0 / 1.202 GB, free: 74.18 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03301/3.046, allocations: 21.55 MB / 1.223 GB, free: 73.61 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00469/3.051, allocations: 1.744 MB / 1.224 GB, free: 73.51 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001699/3.052, allocations: 107.2 kB / 1.225 GB, free: 73.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003503/3.056, allocations: 300.4 kB / 1.225 GB, free: 73.51 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001505/3.057, allocations: 0.5456 MB / 1.225 GB, free: 73.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005931/3.058, allocations: 201.5 kB / 1.226 GB, free: 73.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003775/3.062, allocations: 2.457 MB / 1.228 GB, free: 73.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.11e-07/3.062, allocations: 0.75 kB / 1.228 GB, free: 73.36 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009468/3.071, allocations: 1.824 MB / 1.23 GB, free: 73.36 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (imc.inertiaRotor.w,imc.rotorCage.port_p.reference.gamma,loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (480): * Single equations (assignments): 404 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 69 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 86} Notification: Performance of Backend phase and start with SimCode phase: time 0.002657/3.074, allocations: 0.7764 MB / 1.231 GB, free: 73.14 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02175/3.096, allocations: 12.44 MB / 1.243 GB, free: 72.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/3.096, allocations: 0 / 1.243 GB, free: 72.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01155/3.107, allocations: 6.483 MB / 1.249 GB, free: 69.71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007043/3.114, allocations: 0.993 MB / 1.25 GB, free: 69.37 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03942/3.154, allocations: 25.46 MB / 1.275 GB, free: 56.21 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01201/3.166, allocations: 6.673 MB / 1.281 GB, free: 53.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00577/3.172, allocations: 1.663 MB / 1.283 GB, free: 53.54 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001239/3.173, allocations: 352.7 kB / 1.283 GB, free: 53.52 MB / 490.7 MB Notification: Performance of SimCode: time 1.112e-06/3.173, allocations: 0 / 1.283 GB, free: 53.52 MB / 490.7 MB Notification: Performance of Templates: time 0.418/3.591, allocations: 120.4 MB / 1.401 GB, free: 72.34 MB / 490.7 MB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.makefile (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe 2>&1)