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.001577/0.001577, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.526/1.526, allocations: 230.6 MB / 252.7 MB, free: 8.086 MB / 206.1 MB " [Timeout remaining time 178] 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.0019/0.0019, allocations: 223 kB / 309.2 MB, free: 2.941 MB / 238.1 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.04313/0.04313, allocations: 8.925 MB / 374.6 MB, free: 1.715 MB / 302.1 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002612/0.002612, allocations: 87.88 kB / 0.4896 GB, free: 6.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3488, allocations: 55.61 MB / 0.5439 GB, free: 26.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.0313/0.3801, allocations: 23.25 MB / 0.5666 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0239/0.404, allocations: 7.857 MB / 0.5743 GB, free: 6.012 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008665/0.4126, allocations: 237.5 kB / 0.5745 GB, free: 5.938 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03123/0.4439, allocations: 8.717 MB / 0.5831 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01881/0.4627, allocations: 3.38 MB / 0.5864 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008097/0.4708, allocations: 1.804 MB / 0.5881 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02357/0.4943, allocations: 12.37 MB / 0.6002 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05908/0.5534, allocations: 15.84 MB / 0.6157 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02139/0.5748, allocations: 6.651 MB / 0.6222 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0236/0.5984, allocations: 6.988 MB / 0.629 GB, free: 5.449 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009275/0.6077, allocations: 1.832 MB / 0.6308 GB, free: 3.617 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01008/0.6178, allocations: 2.203 MB / 0.6329 GB, free: 1.414 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007801/0.6256, allocations: 3.608 MB / 0.6364 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01604/0.6416, allocations: 5.362 MB / 0.6417 GB, free: 8.414 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03966/0.6813, allocations: 24.89 MB / 0.666 GB, free: 15.44 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.6813, allocations: 0 / 0.666 GB, free: 15.44 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.6813, allocations: 0 / 0.666 GB, free: 15.44 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0007972/0.6821, allocations: 0 / 0.666 GB, free: 15.44 MB / 478.1 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.05603/0.7381, allocations: 14.67 MB / 0.6803 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.7382, allocations: 8.031 kB / 0.6803 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05122/0.7894, allocations: 8.425 MB / 0.6886 GB, free: 8.223 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02109/0.8105, allocations: 7.816 MB / 0.6962 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.4733/1.284, allocations: 0.807 MB / 0.697 GB, free: 101.3 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005092/1.289, allocations: 1.056 MB / 0.698 GB, free: 101.3 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04934/1.338, allocations: 18.54 MB / 0.7161 GB, free: 94.47 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007243/1.339, allocations: 16.75 kB / 0.7161 GB, free: 94.47 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004668/1.344, allocations: 450.1 kB / 0.7166 GB, free: 94.13 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00115/1.345, allocations: 0.6702 MB / 0.7172 GB, free: 94.06 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04104/1.386, allocations: 17.48 MB / 0.7343 GB, free: 87.56 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09532/1.481, allocations: 50.34 MB / 0.7834 GB, free: 42.79 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02099/1.502, allocations: 12.64 MB / 0.7958 GB, free: 32.19 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006012/1.508, allocations: 3.733 MB / 0.7994 GB, free: 28.44 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005624/1.509, allocations: 127.9 kB / 0.7996 GB, free: 28.31 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.412e-05/1.509, allocations: 94.56 kB / 0.7996 GB, free: 28.21 MB / 494.1 MB Notification: Performance of pre-optimization done (n=518): time 8.255e-06/1.509, allocations: 3.938 kB / 0.7997 GB, free: 28.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=524): time 0.04488/1.554, allocations: 21.28 MB / 0.8204 GB, free: 7.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/1.554, allocations: 115.5 kB / 0.8205 GB, free: 7.051 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004818/1.559, allocations: 4.005 MB / 0.8245 GB, free: 3.164 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008092/1.559, allocations: 109.7 kB / 0.8246 GB, free: 3.051 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002647/1.562, allocations: 4.692 MB / 0.8291 GB, free: 14.48 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002627/1.565, allocations: 1.859 MB / 0.831 GB, free: 12.64 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002705/1.567, allocations: 1.379 MB / 0.8323 GB, free: 11.26 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001485/1.567, allocations: 301.1 kB / 0.8326 GB, free: 10.96 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006481/1.574, allocations: 3.434 MB / 0.8359 GB, free: 7.523 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009615/1.584, allocations: 5.895 MB / 0.8417 GB, free: 0.5273 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01785/1.601, allocations: 10.02 MB / 0.8515 GB, free: 5.344 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001113/1.602, allocations: 24 kB / 0.8515 GB, free: 5.32 MB / 0.5138 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.0244/1.626, allocations: 10.88 MB / 0.8621 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.319e-05/1.626, allocations: 40 kB / 0.8622 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001343/1.626, allocations: 80.31 kB / 0.8622 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004023/1.63, allocations: 1.362 MB / 0.8636 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007321/1.637, allocations: 1.615 MB / 0.8652 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01993/1.657, allocations: 10.93 MB / 0.8758 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005878/1.663, allocations: 403.5 kB / 0.8762 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001602/1.665, allocations: 336 kB / 0.8765 GB, free: 11.49 MB / 0.545 GB 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.01041/1.675, allocations: 4.165 MB / 0.8806 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001607/1.677, allocations: 480.9 kB / 0.8811 GB, free: 6.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01737/1.694, allocations: 8.387 MB / 0.8892 GB, free: 14.35 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01404/1.708, allocations: 7.03 MB / 0.8961 GB, free: 7.223 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.482e-05/1.708, allocations: 8 kB / 0.8961 GB, free: 7.215 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.822e-05/1.708, allocations: 31.89 kB / 0.8962 GB, free: 7.184 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03877/1.747, allocations: 16.12 MB / 0.9119 GB, free: 6.938 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.226e-05/1.747, allocations: 4 kB / 0.9119 GB, free: 6.934 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004181/1.751, allocations: 0.9442 MB / 0.9128 GB, free: 5.988 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003778/1.755, allocations: 1.214 MB / 0.914 GB, free: 4.77 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008132/1.756, allocations: 116 kB / 0.9141 GB, free: 4.656 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2614/2.017, allocations: 9.642 MB / 0.9235 GB, free: 173.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/2.017, allocations: 2.344 kB / 0.9235 GB, free: 173.5 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01941/2.037, allocations: 12.22 MB / 0.9355 GB, free: 169 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003481/2.04, allocations: 1.099 MB / 0.9365 GB, free: 168.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001827/2.042, allocations: 92.81 kB / 0.9366 GB, free: 168.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004388/2.046, allocations: 268.6 kB / 0.9369 GB, free: 168.5 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001338/2.048, allocations: 369.3 kB / 0.9372 GB, free: 168.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003727/2.048, allocations: 162 kB / 0.9374 GB, free: 168.4 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.004674/2.053, allocations: 2.583 MB / 0.9399 GB, free: 167.5 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.1e-07/2.053, allocations: 0 / 0.9399 GB, free: 167.5 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.00956/2.062, allocations: 1.912 MB / 0.9418 GB, free: 167.3 MB / 0.5763 GB 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.001193/2.064, allocations: 295.5 kB / 0.9421 GB, free: 167.1 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01618/2.08, allocations: 8.357 MB / 0.9502 GB, free: 163.9 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/2.08, allocations: 2.281 kB / 0.9502 GB, free: 163.9 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.00865/2.088, allocations: 3.866 MB / 0.954 GB, free: 162.4 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007073/2.096, allocations: 1.01 MB / 0.955 GB, free: 162 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03621/2.132, allocations: 19.48 MB / 0.974 GB, free: 153.4 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009696/2.141, allocations: 6.579 MB / 0.9804 GB, free: 151.3 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006229/2.148, allocations: 2.29 MB / 0.9827 GB, free: 150.5 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00143/2.149, allocations: 438 kB / 0.9831 GB, free: 150.1 MB / 0.5763 GB Notification: Performance of SimCode: time 1.483e-06/2.149, allocations: 0 / 0.9831 GB, free: 150.1 MB / 0.5763 GB Notification: Performance of Templates: time 0.1164/2.266, allocations: 82.6 MB / 1.064 GB, free: 71.86 MB / 0.5763 GB " [Timeout remaining time 658] 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.676036763936281] Failed to read output from testmodel.py, exit status != 0: 2.2762536462396383 2.28663439 1.602342803 Calling exit ...