Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.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.IMS_Characteristics1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1") translateModel(HanserModelica.InductionMachines.IMS_Characteristics1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001241/0.001241, allocations: 178.8 kB / 16.12 MB, free: 5.691 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.0421/0.0421, allocations: 8.772 MB / 25.64 MB, free: 3.762 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.774/1.774, allocations: 205.4 MB / 233.9 MB, free: 12.48 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.001136/0.001136, allocations: 102.2 kB / 284.4 MB, free: 14.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004917/0.000492, allocations: 20 kB / 344.8 MB, free: 1.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2882, allocations: 49.7 MB / 394.5 MB, free: 36.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4061/0.6943, allocations: 130.7 MB / 0.5129 GB, free: 103.4 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/0.6946, allocations: 77.41 kB / 0.513 GB, free: 103.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.205/1.9, allocations: 377.3 MB / 0.8815 GB, free: 48.55 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.037e-06/1.9, allocations: 0 / 0.8815 GB, free: 48.55 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0009397/1.901, allocations: 237.9 kB / 0.8817 GB, free: 48.53 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: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.03798/1.939, allocations: 10.67 MB / 0.8921 GB, free: 45.18 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/1.939, allocations: 8.562 kB / 0.8921 GB, free: 45.18 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03299/1.972, allocations: 6.312 MB / 0.8983 GB, free: 44.57 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0188/1.991, allocations: 8.21 MB / 0.9063 GB, free: 43.37 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001075/1.992, allocations: 0.7981 MB / 0.9071 GB, free: 43.34 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004721/1.996, allocations: 1.031 MB / 0.9081 GB, free: 43.34 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04828/2.045, allocations: 19.32 MB / 0.927 GB, free: 41.05 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005596/2.045, allocations: 19.38 kB / 0.927 GB, free: 41.04 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004039/2.049, allocations: 453.8 kB / 0.9274 GB, free: 40.71 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009084/2.05, allocations: 0.8215 MB / 0.9282 GB, free: 40.52 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03511/2.085, allocations: 18.12 MB / 0.9459 GB, free: 32.77 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3719/2.457, allocations: 61.38 MB / 1.006 GB, free: 53.98 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02628/2.484, allocations: 25.08 MB / 1.03 GB, free: 41.38 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01665/2.5, allocations: 8.419 MB / 1.039 GB, free: 41.26 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05573/2.556, allocations: 26.52 MB / 1.064 GB, free: 40.52 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.796e-05/2.556, allocations: 107 kB / 1.065 GB, free: 40.47 MB / 474.7 MB Notification: Performance of pre-optimization done (n=832): time 1.067e-05/2.556, allocations: 0 / 1.065 GB, free: 40.47 MB / 474.7 MB Notification: Performance of matching and sorting (n=838): time 0.1047/2.661, allocations: 44.32 MB / 1.108 GB, free: 31.15 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.306e-05/2.661, allocations: 123.8 kB / 1.108 GB, free: 31.07 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004285/2.666, allocations: 3.06 MB / 1.111 GB, free: 29.97 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001586/2.667, allocations: 138.3 kB / 1.111 GB, free: 29.85 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002028/2.669, allocations: 3.868 MB / 1.115 GB, free: 27 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003156/2.672, allocations: 2.761 MB / 1.118 GB, free: 24.85 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006486/2.673, allocations: 139.2 kB / 1.118 GB, free: 24.74 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005446/2.674, allocations: 0.6357 MB / 1.118 GB, free: 24.29 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007561/2.681, allocations: 5.585 MB / 1.124 GB, free: 22 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008965/2.69, allocations: 7.081 MB / 1.131 GB, free: 18.07 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01988/2.71, allocations: 13.39 MB / 1.144 GB, free: 9.027 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-05/2.71, allocations: 16 kB / 1.144 GB, free: 9.012 MB / 474.7 MB Notification: Performance of matching and sorting (n=1044) (initialization): time 0.04133/2.751, allocations: 17.24 MB / 1.161 GB, free: 13.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.826e-05/2.752, allocations: 24.03 kB / 1.161 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001169/2.752, allocations: 38.16 kB / 1.161 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009819/2.762, allocations: 4.788 MB / 1.165 GB, free: 9.426 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006165/2.768, allocations: 1.337 MB / 1.167 GB, free: 8.398 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01563/2.783, allocations: 12.35 MB / 1.179 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005834/2.789, allocations: 428.2 kB / 1.179 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001769/2.791, allocations: 317.5 kB / 1.179 GB, free: 12.58 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 172 * 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 (704): * Single equations (assignments): 638 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,18 115} Notification: Performance of prepare postOptimizeDAE: time 0.009925/2.801, allocations: 4.138 MB / 1.183 GB, free: 9.133 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001367/2.802, allocations: 0.4936 MB / 1.184 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.301/3.103, allocations: 17.03 MB / 1.201 GB, free: 86.59 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02453/3.128, allocations: 14.3 MB / 1.215 GB, free: 86.31 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.965e-05/3.128, allocations: 0.5 kB / 1.215 GB, free: 86.31 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.527e-05/3.128, allocations: 34.86 kB / 1.215 GB, free: 86.31 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04846/3.177, allocations: 30.84 MB / 1.245 GB, free: 85.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-05/3.177, allocations: 5.188 kB / 1.245 GB, free: 85.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00442/3.181, allocations: 1.018 MB / 1.246 GB, free: 85.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008429/3.19, allocations: 4.668 MB / 1.25 GB, free: 85.33 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001453/3.191, allocations: 177 kB / 1.25 GB, free: 85.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0114/3.203, allocations: 12.15 MB / 1.262 GB, free: 79.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/3.203, allocations: 1.781 kB / 1.262 GB, free: 79.43 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03285/3.235, allocations: 23.79 MB / 1.286 GB, free: 69.08 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004118/3.24, allocations: 1.803 MB / 1.287 GB, free: 68.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001156/3.241, allocations: 123.7 kB / 1.287 GB, free: 68.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002969/3.244, allocations: 369.3 kB / 1.288 GB, free: 68.17 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001134/3.245, allocations: 0.5957 MB / 1.288 GB, free: 68.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005202/3.245, allocations: 221.3 kB / 1.289 GB, free: 67.99 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00303/3.248, allocations: 2.063 MB / 1.291 GB, free: 67.22 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.61e-07/3.248, allocations: 2.859 kB / 1.291 GB, free: 67.22 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007516/3.256, allocations: 1.996 MB / 1.293 GB, free: 67 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (speed.phi,resistor.resistor[1].pin_p.reference.gamma) * 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 (538): * Single equations (assignments): 472 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,18 115} Notification: Performance of Backend phase and start with SimCode phase: time 0.001919/3.258, allocations: 0.569 MB / 1.293 GB, free: 66.81 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0237/3.282, allocations: 13.61 MB / 1.306 GB, free: 61.62 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/3.282, allocations: 0 / 1.306 GB, free: 61.62 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01433/3.296, allocations: 7.061 MB / 1.313 GB, free: 58.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00773/3.304, allocations: 1.068 MB / 1.314 GB, free: 58.55 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04528/3.349, allocations: 27.43 MB / 1.341 GB, free: 35.33 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01017/3.359, allocations: 7.203 MB / 1.348 GB, free: 29.69 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00633/3.366, allocations: 1.849 MB / 1.35 GB, free: 28.41 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001329/3.367, allocations: 374.6 kB / 1.35 GB, free: 28.07 MB / 0.4948 GB Notification: Performance of SimCode: time 8.61e-07/3.367, allocations: 1.312 kB / 1.35 GB, free: 28.07 MB / 0.4948 GB Notification: Performance of Templates: time 0.4402/3.807, allocations: 131.5 MB / 1.479 GB, free: 67.5 MB / 0.4948 GB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.makefile (rm -f HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.sim & ./HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe 2>&1)