Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.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.001239/0.001239, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.8892/0.8892, allocations: 177.2 MB / 200.3 MB, free: 5.367 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.001169/0.001169, allocations: 160.8 kB / 257 MB, free: 12.81 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.02813/0.02813, allocations: 6.658 MB / 266.9 MB, free: 3.066 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.SynchronousMachines.SMR_MTPA,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA") translateModel(HanserModelica.SynchronousMachines.SMR_MTPA,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 285.7 MB, free: 312 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/2.043e-05, allocations: 6.25 kB / 285.7 MB, free: 304 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_MTPA): time 0.1149/0.1149, allocations: 25.97 MB / 311.6 MB, free: 4.301 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01335/0.1283, allocations: 8.414 MB / 320.1 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002724/0.131, allocations: 250.7 kB / 320.3 MB, free: 11.7 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008001/0.139, allocations: 8.463 MB / 328.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00463/0.1436, allocations: 2.817 MB / 331.6 MB, free: 400 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002405/0.146, allocations: 1.86 MB / 333.4 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008131/0.1542, allocations: 10.16 MB / 343.6 MB, free: 4.332 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01251/0.1667, allocations: 14.16 MB / 357.8 MB, free: 5.973 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006624/0.1733, allocations: 8.132 MB / 365.9 MB, free: 13.83 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004258/0.1776, allocations: 5.895 MB / 371.8 MB, free: 7.922 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001343/0.1789, allocations: 1.512 MB / 373.3 MB, free: 6.41 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001774/0.1807, allocations: 1.89 MB / 375.2 MB, free: 4.52 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001466/0.1821, allocations: 3.039 MB / 378.2 MB, free: 1.473 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002758/0.1849, allocations: 3.875 MB / 382.1 MB, free: 13.59 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006897/0.1918, allocations: 9.731 MB / 391.8 MB, free: 3.832 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1918, allocations: 0 / 391.8 MB, free: 3.832 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1918, allocations: 0 / 391.8 MB, free: 3.832 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001478/0.192, allocations: 0 / 391.8 MB, free: 3.832 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2552 * Number of variables: 2552 Notification: Performance of Generate backend data structure: time 0.01319/0.2051, allocations: 11.22 MB / 403.1 MB, free: 8.535 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.2052, allocations: 8.031 kB / 403.1 MB, free: 8.527 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01394/0.2191, allocations: 5.565 MB / 408.6 MB, free: 2.957 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004776/0.2239, allocations: 3.255 MB / 411.9 MB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003241/0.2242, allocations: 0.6944 MB / 412.6 MB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009951/0.2252, allocations: 0.91 MB / 413.5 MB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008527/0.2337, allocations: 7.521 MB / 421 MB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001291/0.2339, allocations: 23.86 kB / 421 MB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006089/0.2345, allocations: 380 kB / 421.4 MB, free: 6.023 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003038/0.2348, allocations: 0.5074 MB / 421.9 MB, free: 5.516 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005572/0.2404, allocations: 3.788 MB / 425.7 MB, free: 1.723 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2342/0.4745, allocations: 28.66 MB / 454.4 MB, free: 65.14 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004331/0.4789, allocations: 4.454 MB / 458.8 MB, free: 64.15 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000933/0.4798, allocations: 1.036 MB / 459.9 MB, free: 64.02 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001938/0.48, allocations: 119.3 kB / 460 MB, free: 64 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.48, allocations: 72.92 kB / 460 MB, free: 63.93 MB / 378.8 MB Notification: Performance of pre-optimization done (n=375): time 5.099e-06/0.48, allocations: 0 / 460 MB, free: 63.93 MB / 378.8 MB Notification: Performance of matching and sorting (n=382): time 0.009268/0.4893, allocations: 6.411 MB / 466.5 MB, free: 61.9 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.4893, allocations: 92.92 kB / 466.5 MB, free: 61.8 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.4907, allocations: 2.365 MB / 468.9 MB, free: 60.39 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001374/0.4908, allocations: 89.7 kB / 469 MB, free: 60.3 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008544/0.4917, allocations: 3.774 MB / 472.8 MB, free: 57.68 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004364/0.4921, allocations: 1.367 MB / 474.1 MB, free: 56.39 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000795/0.4929, allocations: 1.056 MB / 475.2 MB, free: 55.44 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 2.095e-05/0.4929, allocations: 309.1 kB / 475.5 MB, free: 55.14 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006076/0.4935, allocations: 0.5464 MB / 476 MB, free: 54.59 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/0.4947, allocations: 3.053 MB / 479.1 MB, free: 50.56 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002322/0.497, allocations: 4.348 MB / 483.4 MB, free: 45.52 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.981e-05/0.497, allocations: 24 kB / 483.5 MB, free: 45.5 MB / 378.8 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.003515/0.5006, allocations: 3.804 MB / 487.3 MB, free: 42.23 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/0.5006, allocations: 40 kB / 487.3 MB, free: 42.19 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.98e-05/0.5006, allocations: 88.84 kB / 487.4 MB, free: 42.11 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/0.5018, allocations: 0.7373 MB / 488.1 MB, free: 41.38 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001961/0.5038, allocations: 1.241 MB / 489.4 MB, free: 40.24 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003094/0.5068, allocations: 3.739 MB / 493.1 MB, free: 36.52 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.5082, allocations: 239.7 kB / 493.3 MB, free: 36.29 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002128/0.5085, allocations: 244 kB / 493.6 MB, free: 36.05 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 373 * 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 (708): * Single equations (assignments): 707 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(8,40,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001205/0.5097, allocations: 0.5125 MB / 494.1 MB, free: 35.62 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004099/0.5101, allocations: 357.9 kB / 494.4 MB, free: 35.28 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002484/0.5126, allocations: 2.433 MB / 496.9 MB, free: 32.86 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.5126, allocations: 36 kB / 496.9 MB, free: 32.82 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5126, allocations: 11.17 kB / 496.9 MB, free: 32.81 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.866e-05/0.5126, allocations: 19.92 kB / 496.9 MB, free: 32.79 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006788/0.5194, allocations: 6.56 MB / 0.4917 GB, free: 26.82 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.5194, allocations: 8 kB / 0.4917 GB, free: 26.81 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/0.5205, allocations: 0.578 MB / 0.4923 GB, free: 26.27 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009892/0.5215, allocations: 0.6012 MB / 0.4929 GB, free: 25.68 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/0.5216, allocations: 79.97 kB / 0.4929 GB, free: 25.6 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002488/0.5241, allocations: 3.313 MB / 0.4962 GB, free: 22.28 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.5241, allocations: 11.66 kB / 0.4962 GB, free: 22.27 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002859/0.527, allocations: 2.99 MB / 0.4991 GB, free: 19.25 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000606/0.5276, allocations: 489.2 kB / 0.4996 GB, free: 18.77 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002526/0.5278, allocations: 68 kB / 0.4996 GB, free: 18.71 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006599/0.5285, allocations: 99.95 kB / 0.4997 GB, free: 18.61 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002185/0.5287, allocations: 262 kB / 0.5 GB, free: 18.36 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.5288, allocations: 83.97 kB / 0.5001 GB, free: 18.27 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.0006537/0.5295, allocations: 1.055 MB / 0.5011 GB, free: 17.35 MB / 378.8 MB Notification: Performance of sort global known variables: time 6e-08/0.5295, allocations: 0 / 0.5011 GB, free: 17.35 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.002522/0.532, allocations: 1.511 MB / 0.5026 GB, free: 15.84 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 1 (smr.phiMechanical) * 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 (365): * Single equations (assignments): 364 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(8,38,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003235/0.5323, allocations: 235.5 kB / 0.5028 GB, free: 15.64 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.002476/0.5348, allocations: 3.001 MB / 0.5057 GB, free: 12.94 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 9.215e-05/0.5349, allocations: 64.59 kB / 0.5058 GB, free: 12.87 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.536, allocations: 1.447 MB / 0.5072 GB, free: 11.53 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/0.5377, allocations: 0.8455 MB / 0.508 GB, free: 10.72 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/0.5486, allocations: 12.81 MB / 0.5205 GB, free: 13.85 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001672/0.5503, allocations: 1.754 MB / 0.5222 GB, free: 12.06 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.001374/0.5516, allocations: 0.6496 MB / 0.5229 GB, free: 11.41 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/0.553, allocations: 0.8584 MB / 0.5237 GB, free: 10.54 MB / 394.8 MB Notification: Performance of SimCode: time 8.62e-07/0.553, allocations: 0 / 0.5237 GB, free: 10.54 MB / 394.8 MB Notification: Performance of Templates: time 0.07416/0.6272, allocations: 57.64 MB / 0.58 GB, free: 1.793 MB / 442.8 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.263006426859647]