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.0008621/0.0008621, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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 0.9141/0.9141, allocations: 177.2 MB / 200.3 MB, free: 5.672 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.0013/0.0013, allocations: 156.6 kB / 257 MB, free: 12.96 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.04065/0.04065, allocations: 6.654 MB / 266.9 MB, free: 3.215 MB / 250.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 1.302e-06/1.302e-06, allocations: 0 / 285.7 MB, free: 452 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/2.127e-05, allocations: 2.312 kB / 285.7 MB, free: 448 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.1319/0.132, allocations: 25.43 MB / 311.1 MB, free: 4.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01616/0.1481, allocations: 8.444 MB / 319.6 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00521/0.1533, allocations: 234.8 kB / 319.8 MB, free: 12.29 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01258/0.1659, allocations: 9.877 MB / 329.7 MB, free: 2.395 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0101/0.176, allocations: 3.45 MB / 333.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004589/0.1806, allocations: 1.835 MB / 335 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0144/0.195, allocations: 12.8 MB / 347.7 MB, free: 268 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02742/0.2224, allocations: 16.34 MB / 364.1 MB, free: 15.68 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01622/0.2387, allocations: 9.86 MB / 373.9 MB, free: 5.801 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009912/0.2486, allocations: 7.233 MB / 381.2 MB, free: 14.55 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004269/0.2528, allocations: 1.828 MB / 383 MB, free: 12.73 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006127/0.259, allocations: 2.241 MB / 385.2 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004984/0.2639, allocations: 3.741 MB / 389 MB, free: 6.734 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009206/0.2731, allocations: 4.683 MB / 393.7 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01744/0.2906, allocations: 11.78 MB / 405.5 MB, free: 6.227 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.043e-05/0.2906, allocations: 0 / 405.5 MB, free: 6.227 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.2906, allocations: 0 / 405.5 MB, free: 6.227 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005589/0.2912, allocations: 0 / 405.5 MB, free: 6.227 MB / 362.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.0267/0.3179, allocations: 13.66 MB / 419.1 MB, free: 8.473 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3179, allocations: 8.031 kB / 419.1 MB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03073/0.3486, allocations: 8.257 MB / 427.4 MB, free: 204 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2723/0.6209, allocations: 4.02 MB / 431.4 MB, free: 72.72 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006111/0.6215, allocations: 0.8036 MB / 432.2 MB, free: 72.7 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002785/0.6243, allocations: 1.057 MB / 433.3 MB, free: 72.69 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02029/0.6446, allocations: 9.11 MB / 442.4 MB, free: 71.89 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003193/0.6449, allocations: 27.98 kB / 442.4 MB, free: 71.88 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001907/0.6468, allocations: 448.5 kB / 442.8 MB, free: 71.88 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004376/0.6473, allocations: 0.6667 MB / 443.5 MB, free: 71.85 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01208/0.6594, allocations: 4.794 MB / 448.3 MB, free: 71.56 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05023/0.7096, allocations: 34.69 MB / 483 MB, free: 46.7 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008499/0.7181, allocations: 7.069 MB / 490.1 MB, free: 39.76 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002008/0.7201, allocations: 1.282 MB / 491.3 MB, free: 38.51 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000319/0.7204, allocations: 159.9 kB / 491.5 MB, free: 38.35 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/0.7205, allocations: 88.81 kB / 491.6 MB, free: 38.25 MB / 378.8 MB Notification: Performance of pre-optimization done (n=518): time 7.444e-06/0.7205, allocations: 0 / 491.6 MB, free: 38.25 MB / 378.8 MB Notification: Performance of matching and sorting (n=524): time 0.0188/0.7393, allocations: 9.464 MB / 0.4893 GB, free: 29.14 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.7393, allocations: 107.5 kB / 0.4894 GB, free: 29.02 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/0.7415, allocations: 2.661 MB / 0.492 GB, free: 26.93 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006727/0.7421, allocations: 109.7 kB / 0.4921 GB, free: 26.82 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001048/0.7432, allocations: 4.284 MB / 0.4963 GB, free: 22.66 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001305/0.7445, allocations: 1.838 MB / 0.4981 GB, free: 20.93 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001263/0.7457, allocations: 1.253 MB / 0.4993 GB, free: 19.81 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 2.485e-05/0.7458, allocations: 305.1 kB / 0.4996 GB, free: 19.51 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.7468, allocations: 0.9608 MB / 0.5005 GB, free: 18.54 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001449/0.7483, allocations: 3.193 MB / 0.5037 GB, free: 14.46 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00384/0.7521, allocations: 4.851 MB / 0.5084 GB, free: 8.934 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.847e-05/0.7522, allocations: 24 kB / 0.5084 GB, free: 8.91 MB / 378.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.005935/0.7581, allocations: 4.652 MB / 0.513 GB, free: 4.742 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.33e-05/0.7582, allocations: 40 kB / 0.513 GB, free: 4.703 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.134e-05/0.7582, allocations: 80 kB / 0.5131 GB, free: 4.625 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002119/0.7603, allocations: 1.177 MB / 0.5142 GB, free: 3.457 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003341/0.7637, allocations: 1.55 MB / 0.5157 GB, free: 2.016 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00622/0.7699, allocations: 5.078 MB / 0.5207 GB, free: 13 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003222/0.7731, allocations: 251.8 kB / 0.5209 GB, free: 12.75 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009288/0.774, allocations: 272 kB / 0.5212 GB, free: 12.48 MB / 394.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.002466/0.7765, allocations: 0.5673 MB / 0.5217 GB, free: 12.02 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009336/0.7774, allocations: 447.5 kB / 0.5222 GB, free: 11.58 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00515/0.7826, allocations: 3.435 MB / 0.5255 GB, free: 8.125 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003375/0.786, allocations: 2.217 MB / 0.5277 GB, free: 5.891 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.716e-05/0.786, allocations: 15.94 kB / 0.5277 GB, free: 5.875 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-05/0.786, allocations: 23.91 kB / 0.5277 GB, free: 5.852 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01839/0.8044, allocations: 9.535 MB / 0.537 GB, free: 13.52 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.8044, allocations: 0 / 0.537 GB, free: 13.52 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00228/0.8067, allocations: 0.8578 MB / 0.5379 GB, free: 12.71 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002119/0.8088, allocations: 1.05 MB / 0.5389 GB, free: 11.67 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006011/0.8094, allocations: 104 kB / 0.539 GB, free: 11.57 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005771/0.8152, allocations: 4.628 MB / 0.5435 GB, free: 6.977 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.8152, allocations: 4 kB / 0.5435 GB, free: 6.973 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007002/0.8222, allocations: 4.073 MB / 0.5475 GB, free: 2.863 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001767/0.824, allocations: 0.6087 MB / 0.5481 GB, free: 2.254 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000586/0.8246, allocations: 102.6 kB / 0.5482 GB, free: 2.156 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.8258, allocations: 132 kB / 0.5483 GB, free: 2.027 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006196/0.8264, allocations: 364 kB / 0.5487 GB, free: 1.672 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000233/0.8267, allocations: 108 kB / 0.5488 GB, free: 1.566 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001501/0.8282, allocations: 1.223 MB / 0.55 GB, free: 0.5078 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.91e-07/0.8282, allocations: 0 / 0.55 GB, free: 0.5078 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.005359/0.8335, allocations: 1.91 MB / 0.5518 GB, free: 14.59 MB / 426.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.0009567/0.8345, allocations: 285.5 kB / 0.5521 GB, free: 14.36 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.006726/0.8412, allocations: 3.842 MB / 0.5559 GB, free: 10.79 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001621/0.8414, allocations: 63.94 kB / 0.5559 GB, free: 10.72 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00365/0.845, allocations: 2.023 MB / 0.5579 GB, free: 8.816 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004611/0.8496, allocations: 1.037 MB / 0.5589 GB, free: 7.824 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02783/0.8775, allocations: 15.7 MB / 0.5742 GB, free: 8.059 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004908/0.8824, allocations: 2.155 MB / 0.5763 GB, free: 5.867 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.002933/0.8853, allocations: 0.8059 MB / 0.5771 GB, free: 5.055 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002348/0.8877, allocations: 1.06 MB / 0.5782 GB, free: 3.988 MB / 442.8 MB Notification: Performance of SimCode: time 1.643e-06/0.8877, allocations: 4 kB / 0.5782 GB, free: 3.984 MB / 442.8 MB Notification: Performance of Templates: time 0.2234/1.111, allocations: 78.6 MB / 0.6549 GB, free: 75.36 MB / 442.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.991863020695746]