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 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.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 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0621/0.0621, allocations: 8.702 MB / 21.96 MB, free: 3.367 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.34/1.34, allocations: 221.4 MB / 246 MB, free: 3.598 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.0008331/0.0008332, allocations: 94.16 kB / 299.1 MB, free: 3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.833e-05/3.836e-05, allocations: 0 / 359.5 MB, free: 6.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3044, allocations: 52.53 MB / 412.1 MB, free: 22.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4075/0.712, allocations: 131.1 MB / 0.5304 GB, free: 41.03 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/0.7123, allocations: 81.02 kB / 0.5305 GB, free: 41.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.366/2.079, allocations: 379.6 MB / 0.9012 GB, free: 50.38 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.605e-06/2.079, allocations: 4.047 kB / 0.9012 GB, free: 50.38 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000722/2.079, allocations: 235.3 kB / 0.9014 GB, free: 50.36 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.04284/2.122, allocations: 10.18 MB / 0.9113 GB, free: 47.3 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/2.122, allocations: 11.22 kB / 0.9113 GB, free: 47.3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03262/2.155, allocations: 5.641 MB / 0.9168 GB, free: 46.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02517/2.18, allocations: 8.95 MB / 0.9256 GB, free: 45.55 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009067/2.181, allocations: 0.7739 MB / 0.9263 GB, free: 45.53 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0055/2.187, allocations: 1.018 MB / 0.9273 GB, free: 45.52 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05501/2.242, allocations: 17.84 MB / 0.9448 GB, free: 42.87 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006746/2.242, allocations: 11.33 kB / 0.9448 GB, free: 42.86 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006153/2.249, allocations: 448.2 kB / 0.9452 GB, free: 42.54 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001406/2.25, allocations: 0.868 MB / 0.946 GB, free: 42.33 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03882/2.289, allocations: 16.06 MB / 0.9617 GB, free: 35.05 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1245/2.413, allocations: 58.45 MB / 1.019 GB, free: 2.348 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4065/2.82, allocations: 37.35 MB / 1.055 GB, free: 31.72 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006813/2.827, allocations: 4.113 MB / 1.059 GB, free: 31.64 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005165/2.827, allocations: 187 kB / 1.059 GB, free: 31.54 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.689e-05/2.827, allocations: 92.25 kB / 1.06 GB, free: 31.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=524): time 6.923e-06/2.827, allocations: 0 / 1.06 GB, free: 31.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=530): time 0.02726/2.855, allocations: 15.54 MB / 1.075 GB, free: 29.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/2.855, allocations: 102.7 kB / 1.075 GB, free: 29.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005637/2.86, allocations: 3.578 MB / 1.078 GB, free: 29.43 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000947/2.861, allocations: 107.3 kB / 1.078 GB, free: 29.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002583/2.864, allocations: 4.52 MB / 1.083 GB, free: 27.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002058/2.866, allocations: 1.792 MB / 1.085 GB, free: 25.97 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004451/2.867, allocations: 145.3 kB / 1.085 GB, free: 25.97 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004274/2.867, allocations: 0.5912 MB / 1.085 GB, free: 25.65 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004989/2.872, allocations: 3.368 MB / 1.089 GB, free: 25.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006254/2.878, allocations: 5.793 MB / 1.094 GB, free: 22.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007054/2.885, allocations: 4.729 MB / 1.099 GB, free: 22.64 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001026/2.885, allocations: 26.72 kB / 1.099 GB, free: 22.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.02119/2.907, allocations: 10.79 MB / 1.109 GB, free: 22.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/2.907, allocations: 36.66 kB / 1.109 GB, free: 22.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001907/2.907, allocations: 80.78 kB / 1.11 GB, free: 22.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00344/2.91, allocations: 1.376 MB / 1.111 GB, free: 22.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006512/2.917, allocations: 1.603 MB / 1.112 GB, free: 22.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01407/2.931, allocations: 10.52 MB / 1.123 GB, free: 20.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006057/2.937, allocations: 419.5 kB / 1.123 GB, free: 19.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001604/2.939, allocations: 335.3 kB / 1.123 GB, free: 19.89 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 356 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (844): * Single equations (assignments): 839 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(14,40.8%) 56} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001512/2.94, allocations: 0.5365 MB / 1.124 GB, free: 19.54 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001224/2.942, allocations: 480.9 kB / 1.124 GB, free: 19.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01386/2.955, allocations: 8.367 MB / 1.133 GB, free: 16.03 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01053/2.966, allocations: 6.936 MB / 1.139 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.946e-05/2.966, allocations: 10.97 kB / 1.139 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.997e-05/2.966, allocations: 27 kB / 1.139 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03755/3.004, allocations: 19.68 MB / 1.159 GB, free: 4.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/3.004, allocations: 3.906 kB / 1.159 GB, free: 4.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003633/3.007, allocations: 0.9256 MB / 1.16 GB, free: 4.949 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00306/3.01, allocations: 1.201 MB / 1.161 GB, free: 4.707 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007112/3.011, allocations: 111.7 kB / 1.161 GB, free: 4.633 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01272/3.024, allocations: 9.168 MB / 1.17 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/3.024, allocations: 0.8438 kB / 1.17 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0241/3.048, allocations: 12.23 MB / 1.182 GB, free: 4.113 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004624/3.053, allocations: 1.158 MB / 1.183 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001285/3.054, allocations: 92 kB / 1.183 GB, free: 2.969 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003054/3.057, allocations: 289.5 kB / 1.183 GB, free: 2.762 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007857/3.058, allocations: 353.4 kB / 1.184 GB, free: 2.543 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003366/3.058, allocations: 151.2 kB / 1.184 GB, free: 2.406 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004843/3.063, allocations: 2.66 MB / 1.186 GB, free: 40 kB / 0.4948 GB Notification: Performance of sort global known variables: time 4.31e-07/3.063, allocations: 0 / 1.186 GB, free: 40 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008911/3.072, allocations: 1.982 MB / 1.188 GB, free: 14.09 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (speed.phi,resistor.resistor[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (502): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(14,41.3%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001476/3.074, allocations: 0.6484 MB / 1.189 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01725/3.091, allocations: 8.549 MB / 1.197 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/3.091, allocations: 0 / 1.197 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008274/3.099, allocations: 4.079 MB / 1.201 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006489/3.106, allocations: 1 MB / 1.202 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03736/3.143, allocations: 16.6 MB / 1.218 GB, free: 2.543 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4062/3.549, allocations: 7.198 MB / 1.225 GB, free: 97.33 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007552/3.557, allocations: 2.331 MB / 1.228 GB, free: 97.28 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001516/3.559, allocations: 417.5 kB / 1.228 GB, free: 97.28 MB / 0.5261 GB Notification: Performance of SimCode: time 8.11e-07/3.559, allocations: 0 / 1.228 GB, free: 97.28 MB / 0.5261 GB Notification: Performance of Templates: time 0.1302/3.689, allocations: 79.63 MB / 1.306 GB, free: 93.39 MB / 0.5261 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)