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.0009576/0.0009577, 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.04031/0.04031, allocations: 8.72 MB / 16.79 MB, free: 3.371 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.307/1.307, allocations: 221.5 MB / 240.9 MB, free: 13.24 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.0009502/0.0009501, allocations: 97.75 kB / 293.9 MB, free: 7.219 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.683e-05/1.665e-05, allocations: 4 kB / 352.6 MB, free: 1.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1334, allocations: 52.56 MB / 405.2 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4789/0.6124, allocations: 130.4 MB / 0.523 GB, free: 5.551 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/0.6127, allocations: 79.95 kB / 0.5231 GB, free: 5.473 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.241/1.853, allocations: 375.4 MB / 0.8897 GB, free: 17.87 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.445e-06/1.853, allocations: 0 / 0.8897 GB, free: 17.87 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001066/1.855, allocations: 235.8 kB / 0.89 GB, free: 17.64 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.04036/1.895, allocations: 10.16 MB / 0.8999 GB, free: 7.402 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/1.895, allocations: 8.031 kB / 0.8999 GB, free: 7.395 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03303/1.928, allocations: 5.637 MB / 0.9054 GB, free: 1.738 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6731/2.601, allocations: 8.936 MB / 0.9141 GB, free: 30.48 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006926/2.602, allocations: 341.6 kB / 0.9144 GB, free: 30.48 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004515/2.606, allocations: 0.5936 MB / 0.915 GB, free: 30.48 MB / 458.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03033/2.637, allocations: 14.31 MB / 0.929 GB, free: 30.43 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05591/2.693, allocations: 16.15 MB / 0.9448 GB, free: 29.27 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008693/2.694, allocations: 16.09 kB / 0.9448 GB, free: 29.27 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005477/2.699, allocations: 10.8 kB / 0.9448 GB, free: 29.27 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001872/2.701, allocations: 0.8627 MB / 0.9456 GB, free: 29.24 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1384/2.84, allocations: 57.78 MB / 1.002 GB, free: 9.254 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04284/2.882, allocations: 37.97 MB / 1.039 GB, free: 7.781 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01017/2.893, allocations: 4.422 MB / 1.043 GB, free: 6.109 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001038/2.894, allocations: 185.8 kB / 1.044 GB, free: 6 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/2.894, allocations: 89.72 kB / 1.044 GB, free: 5.918 MB / 490.8 MB Notification: Performance of pre-optimization done (n=524): time 1.682e-05/2.894, allocations: 0 / 1.044 GB, free: 5.918 MB / 490.8 MB Notification: Performance of matching and sorting (n=530): time 0.052/2.946, allocations: 18.65 MB / 1.062 GB, free: 14.3 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.527e-05/2.946, allocations: 107.8 kB / 1.062 GB, free: 14.23 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006893/2.953, allocations: 3.173 MB / 1.065 GB, free: 12.98 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001686/2.955, allocations: 25.7 kB / 1.065 GB, free: 12.95 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004416/2.959, allocations: 4.52 MB / 1.07 GB, free: 9.34 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.003309/2.963, allocations: 1.724 MB / 1.071 GB, free: 7.758 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006577/2.963, allocations: 0 / 1.071 GB, free: 7.758 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0006076/2.964, allocations: 0.5954 MB / 1.072 GB, free: 7.242 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00618/2.97, allocations: 3.458 MB / 1.075 GB, free: 4.184 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009003/2.979, allocations: 5.846 MB / 1.081 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01455/2.994, allocations: 5.888 MB / 1.087 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002612/2.994, allocations: 24 kB / 1.087 GB, free: 9.047 MB / 0.5105 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.4567/3.451, allocations: 11.59 MB / 1.098 GB, free: 83.38 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.76e-05/3.451, allocations: 38.12 kB / 1.098 GB, free: 83.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001672/3.451, allocations: 77.88 kB / 1.098 GB, free: 83.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003741/3.455, allocations: 1.425 MB / 1.1 GB, free: 83.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0066/3.461, allocations: 1.658 MB / 1.101 GB, free: 83.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01367/3.475, allocations: 10.59 MB / 1.111 GB, free: 82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006118/3.481, allocations: 337.1 kB / 1.112 GB, free: 82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00174/3.483, allocations: 331.1 kB / 1.112 GB, free: 82 MB / 0.5105 GB 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 (838): * Single equations (assignments): 833 * 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%) 62} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001252/3.484, allocations: 328.1 kB / 1.112 GB, free: 81.89 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001166/3.486, allocations: 457.2 kB / 1.113 GB, free: 81.89 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01652/3.502, allocations: 9.419 MB / 1.122 GB, free: 81.56 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01406/3.516, allocations: 8.073 MB / 1.13 GB, free: 81.29 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.243e-05/3.516, allocations: 11.88 kB / 1.13 GB, free: 81.29 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.666e-05/3.516, allocations: 30.28 kB / 1.13 GB, free: 81.29 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03932/3.556, allocations: 19.81 MB / 1.149 GB, free: 79.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-05/3.556, allocations: 0.8125 kB / 1.149 GB, free: 79.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004013/3.56, allocations: 0.992 MB / 1.15 GB, free: 79.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003148/3.563, allocations: 1.175 MB / 1.151 GB, free: 79.35 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007022/3.564, allocations: 34.47 kB / 1.151 GB, free: 79.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0114/3.575, allocations: 8.84 MB / 1.16 GB, free: 78.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/3.575, allocations: 6.406 kB / 1.16 GB, free: 78.03 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02307/3.598, allocations: 13.64 MB / 1.173 GB, free: 77.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003592/3.602, allocations: 1.189 MB / 1.175 GB, free: 76.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009829/3.603, allocations: 10.69 kB / 1.175 GB, free: 76.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002778/3.606, allocations: 256.6 kB / 1.175 GB, free: 76.85 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006809/3.606, allocations: 349.2 kB / 1.175 GB, free: 76.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003292/3.607, allocations: 146.3 kB / 1.175 GB, free: 76.83 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003698/3.61, allocations: 2.317 MB / 1.178 GB, free: 76.69 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.1e-07/3.61, allocations: 0 / 1.178 GB, free: 76.69 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01011/3.62, allocations: 1.733 MB / 1.179 GB, free: 76.69 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,37.8%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001553/3.622, allocations: 480.7 kB / 1.18 GB, free: 76.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01337/3.635, allocations: 8.673 MB / 1.188 GB, free: 74.88 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/3.635, allocations: 0 / 1.188 GB, free: 74.88 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006263/3.642, allocations: 4.235 MB / 1.192 GB, free: 73.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004781/3.647, allocations: 0.7798 MB / 1.193 GB, free: 73.05 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02775/3.674, allocations: 16.65 MB / 1.209 GB, free: 66.71 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006007/3.68, allocations: 7.199 MB / 1.216 GB, free: 64.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006214/3.687, allocations: 2.32 MB / 1.219 GB, free: 62.83 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001286/3.688, allocations: 408.1 kB / 1.219 GB, free: 62.45 MB / 0.5105 GB Notification: Performance of SimCode: time 1.202e-06/3.688, allocations: 0 / 1.219 GB, free: 62.45 MB / 0.5105 GB Notification: Performance of Templates: time 0.4386/4.126, allocations: 71.83 MB / 1.289 GB, free: 80.44 MB / 0.5105 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)