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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009237/0.0009237, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.015/1.015, allocations: 177.1 MB / 200 MB, free: 5.547 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 164.5 kB / 256.6 MB, free: 13 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.03074/0.03074, allocations: 6.656 MB / 319.8 MB, free: 11.76 MB / 298.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.InductionMachines.IMS_Characteristics1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1") translateModel(HanserModelica.InductionMachines.IMS_Characteristics1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 391.6 MB, free: 3.793 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.04e-05/3.258e-05, allocations: 2.312 kB / 391.6 MB, free: 3.789 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.02356/0.02359, allocations: 26.12 MB / 417.8 MB, free: 9.551 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01456/0.03815, allocations: 8.086 MB / 425.9 MB, free: 1.438 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005105/0.04326, allocations: 234.8 kB / 426.1 MB, free: 1.207 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01335/0.05661, allocations: 9.886 MB / 436 MB, free: 7.277 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009734/0.06634, allocations: 3.461 MB / 439.4 MB, free: 3.797 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004187/0.07053, allocations: 1.836 MB / 441.3 MB, free: 1.961 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.142/0.2126, allocations: 12.77 MB / 454 MB, free: 116.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02318/0.2358, allocations: 15.9 MB / 469.9 MB, free: 110.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01511/0.2509, allocations: 9.809 MB / 479.8 MB, free: 105.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01114/0.262, allocations: 6.99 MB / 486.7 MB, free: 102.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004927/0.2669, allocations: 1.832 MB / 488.6 MB, free: 101 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007502/0.2744, allocations: 2.22 MB / 490.8 MB, free: 98.87 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005508/0.2799, allocations: 3.739 MB / 494.5 MB, free: 95.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009055/0.289, allocations: 4.687 MB / 499.2 MB, free: 91.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01393/0.3029, allocations: 11.8 MB / 0.499 GB, free: 80.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3029, allocations: 0 / 0.499 GB, free: 80.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3029, allocations: 3.938 kB / 0.499 GB, free: 80.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004851/0.3034, allocations: 2.469 kB / 0.499 GB, free: 80.45 MB / 410.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.02473/0.3282, allocations: 15.56 MB / 0.5142 GB, free: 64.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.3282, allocations: 12.03 kB / 0.5143 GB, free: 64.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02533/0.3535, allocations: 10.37 MB / 0.5244 GB, free: 54.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01071/0.3642, allocations: 7.406 MB / 0.5316 GB, free: 47.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005331/0.3648, allocations: 0.8062 MB / 0.5324 GB, free: 46.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003015/0.3678, allocations: 1.07 MB / 0.5334 GB, free: 45.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02584/0.3936, allocations: 9.715 MB / 0.5429 GB, free: 35.87 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003114/0.3939, allocations: 11.94 kB / 0.5429 GB, free: 35.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00209/0.396, allocations: 453.3 kB / 0.5434 GB, free: 35.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004061/0.3964, allocations: 0.6672 MB / 0.544 GB, free: 34.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01722/0.4136, allocations: 5.632 MB / 0.5495 GB, free: 29.13 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3087/0.7223, allocations: 46.17 MB / 0.5946 GB, free: 63 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01109/0.7334, allocations: 11.11 MB / 0.6055 GB, free: 62.46 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002079/0.7355, allocations: 1.72 MB / 0.6071 GB, free: 62.39 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002546/0.7358, allocations: 160.5 kB / 0.6073 GB, free: 62.38 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.984e-05/0.7358, allocations: 99.23 kB / 0.6074 GB, free: 62.33 MB / 410.8 MB Notification: Performance of pre-optimization done (n=518): time 6.553e-06/0.7358, allocations: 0 / 0.6074 GB, free: 62.33 MB / 410.8 MB Notification: Performance of matching and sorting (n=524): time 0.02246/0.7583, allocations: 12.66 MB / 0.6198 GB, free: 60.35 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.7583, allocations: 105.5 kB / 0.6199 GB, free: 60.28 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004512/0.7628, allocations: 3.704 MB / 0.6235 GB, free: 59.83 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002069/0.7631, allocations: 109.6 kB / 0.6236 GB, free: 59.8 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002251/0.7653, allocations: 4.941 MB / 0.6284 GB, free: 57.82 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008283/0.7661, allocations: 1.91 MB / 0.6303 GB, free: 56.67 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001275/0.7674, allocations: 1.511 MB / 0.6317 GB, free: 56.55 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.144e-05/0.7674, allocations: 476.8 kB / 0.6322 GB, free: 56.09 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001568/0.769, allocations: 1.092 MB / 0.6333 GB, free: 56.07 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002784/0.7718, allocations: 4.743 MB / 0.6379 GB, free: 51.78 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004648/0.7765, allocations: 6.484 MB / 0.6442 GB, free: 47.36 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.603e-05/0.7765, allocations: 23.47 kB / 0.6442 GB, free: 47.36 MB / 410.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.007889/0.7844, allocations: 6.339 MB / 0.6504 GB, free: 46.78 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.93e-05/0.7844, allocations: 39.38 kB / 0.6505 GB, free: 46.78 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.294e-05/0.7845, allocations: 76.91 kB / 0.6505 GB, free: 46.78 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002276/0.7867, allocations: 1.288 MB / 0.6518 GB, free: 46.71 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002646/0.7894, allocations: 1.617 MB / 0.6534 GB, free: 46.11 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006697/0.7961, allocations: 6.768 MB / 0.66 GB, free: 41.75 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002162/0.7982, allocations: 391.9 kB / 0.6604 GB, free: 41.54 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003041/0.7985, allocations: 342 kB / 0.6607 GB, free: 41.28 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (840): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,40.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001977/0.8005, allocations: 0.6044 MB / 0.6613 GB, free: 40.97 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006984/0.8012, allocations: 0.6319 MB / 0.6619 GB, free: 40.4 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005643/0.8069, allocations: 4.628 MB / 0.6664 GB, free: 37.43 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004124/0.811, allocations: 3.378 MB / 0.6697 GB, free: 34.48 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/0.811, allocations: 12 kB / 0.6697 GB, free: 34.47 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.791e-05/0.811, allocations: 30 kB / 0.6698 GB, free: 34.47 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0142/0.8252, allocations: 13.18 MB / 0.6826 GB, free: 21.47 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.8252, allocations: 4 kB / 0.6826 GB, free: 21.46 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00179/0.827, allocations: 0.9388 MB / 0.6836 GB, free: 20.57 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002068/0.8291, allocations: 1.153 MB / 0.6847 GB, free: 19.43 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002015/0.8293, allocations: 116 kB / 0.6848 GB, free: 19.31 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005608/0.8349, allocations: 6.169 MB / 0.6908 GB, free: 13.05 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.8349, allocations: 0 / 0.6908 GB, free: 13.05 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006755/0.8417, allocations: 5.689 MB / 0.6964 GB, free: 7.199 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/0.843, allocations: 1 MB / 0.6973 GB, free: 6.195 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003311/0.8433, allocations: 92 kB / 0.6974 GB, free: 6.105 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.8444, allocations: 263.8 kB / 0.6977 GB, free: 5.848 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003655/0.8448, allocations: 376.1 kB / 0.698 GB, free: 5.48 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000192/0.845, allocations: 158 kB / 0.6982 GB, free: 5.328 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001677/0.8467, allocations: 1.693 MB / 0.6998 GB, free: 3.652 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.91e-07/0.8467, allocations: 0 / 0.6998 GB, free: 3.652 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.004196/0.8509, allocations: 1.91 MB / 0.7017 GB, free: 1.742 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (ims.rotor.stray.port_p.reference.gamma,speed.phi) * 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 (499): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004362/0.8513, allocations: 301.6 kB / 0.702 GB, free: 1.492 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.006582/0.8579, allocations: 4.914 MB / 0.7068 GB, free: 12.75 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.8579, allocations: 0 / 0.7068 GB, free: 12.75 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003353/0.8612, allocations: 2.551 MB / 0.7093 GB, free: 10.26 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002559/0.8638, allocations: 1.044 MB / 0.7103 GB, free: 9.289 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02041/0.8842, allocations: 16.04 MB / 0.726 GB, free: 9.098 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002461/0.8867, allocations: 2.99 MB / 0.7289 GB, free: 6.07 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.003355/0.89, allocations: 1.936 MB / 0.7308 GB, free: 4.125 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008686/0.8909, allocations: 440.4 kB / 0.7312 GB, free: 3.695 MB / 442.8 MB Notification: Performance of SimCode: time 1.683e-06/0.8909, allocations: 0 / 0.7312 GB, free: 3.695 MB / 442.8 MB Notification: Performance of Templates: time 0.2108/1.102, allocations: 71.6 MB / 0.8011 GB, free: 110.8 MB / 458.8 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.makefile [Timeout 660] (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=240 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.615923149976879]