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.0009825/0.0009825, allocations: 80.88 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.9452/0.9452, allocations: 177.1 MB / 200.3 MB, free: 5.34 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.001769/0.001769, allocations: 167.7 kB / 257 MB, free: 12.8 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.02468/0.02468, allocations: 6.658 MB / 266.9 MB, free: 3.059 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.132e-06/1.132e-06, allocations: 0 / 285.7 MB, free: 264 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146e-05/1.259e-05, allocations: 6.25 kB / 285.7 MB, free: 256 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_MTPA): time 0.1234/0.1234, allocations: 26.01 MB / 311.7 MB, free: 4.336 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01438/0.1378, allocations: 8.432 MB / 320.2 MB, free: 11.96 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003454/0.1412, allocations: 246.8 kB / 320.4 MB, free: 11.72 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008188/0.1494, allocations: 8.383 MB / 328.8 MB, free: 3.32 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007263/0.1567, allocations: 2.797 MB / 331.6 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003532/0.1602, allocations: 1.841 MB / 333.4 MB, free: 14.67 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009865/0.1701, allocations: 10.16 MB / 343.6 MB, free: 4.469 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0158/0.1859, allocations: 14.15 MB / 357.7 MB, free: 6.125 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0105/0.1964, allocations: 8.124 MB / 365.8 MB, free: 13.99 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008738/0.2051, allocations: 5.901 MB / 371.7 MB, free: 8.078 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003884/0.209, allocations: 1.512 MB / 373.3 MB, free: 6.566 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004913/0.2139, allocations: 1.913 MB / 375.2 MB, free: 4.652 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003469/0.2174, allocations: 3.031 MB / 378.2 MB, free: 1.613 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006316/0.2237, allocations: 3.875 MB / 382.1 MB, free: 13.73 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0123/0.236, allocations: 9.735 MB / 391.8 MB, free: 3.969 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.236, allocations: 0 / 391.8 MB, free: 3.969 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.236, allocations: 0 / 391.8 MB, free: 3.969 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004344/0.2364, allocations: 0 / 391.8 MB, free: 3.969 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.018/0.2544, allocations: 11.22 MB / 403 MB, free: 8.668 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.2545, allocations: 12.03 kB / 403 MB, free: 8.656 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0162/0.2707, allocations: 5.561 MB / 408.6 MB, free: 3.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007326/0.278, allocations: 3.247 MB / 411.9 MB, free: 15.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004387/0.2784, allocations: 0.6944 MB / 412.6 MB, free: 15.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002266/0.2807, allocations: 0.9139 MB / 413.5 MB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01576/0.2964, allocations: 7.517 MB / 421 MB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002919/0.2967, allocations: 19.86 kB / 421 MB, free: 6.539 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001375/0.2981, allocations: 388 kB / 421.4 MB, free: 6.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003643/0.2985, allocations: 0.5074 MB / 421.9 MB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01123/0.3097, allocations: 3.8 MB / 425.7 MB, free: 1.848 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2776/0.5874, allocations: 28.66 MB / 454.3 MB, free: 65.26 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005046/0.5924, allocations: 4.462 MB / 458.8 MB, free: 64.25 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001256/0.5937, allocations: 1.033 MB / 459.8 MB, free: 64.12 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002382/0.5939, allocations: 119.5 kB / 460 MB, free: 64.11 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/0.5939, allocations: 76.27 kB / 460 MB, free: 64.04 MB / 378.8 MB Notification: Performance of pre-optimization done (n=375): time 6.983e-06/0.5939, allocations: 0 / 460 MB, free: 64.04 MB / 378.8 MB Notification: Performance of matching and sorting (n=382): time 0.01184/0.6058, allocations: 6.404 MB / 466.4 MB, free: 61.96 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.6058, allocations: 101.5 kB / 466.5 MB, free: 61.86 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001926/0.6077, allocations: 2.354 MB / 468.9 MB, free: 60.46 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002562/0.608, allocations: 89.7 kB / 469 MB, free: 60.37 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009821/0.609, allocations: 3.781 MB / 472.8 MB, free: 57.74 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006197/0.6096, allocations: 1.356 MB / 474.1 MB, free: 56.46 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008519/0.6105, allocations: 1.064 MB / 475.2 MB, free: 55.5 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 2.534e-05/0.6105, allocations: 309.1 kB / 475.5 MB, free: 55.2 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006644/0.6111, allocations: 0.5464 MB / 476 MB, free: 54.65 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/0.6123, allocations: 3.053 MB / 479.1 MB, free: 50.62 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002708/0.6151, allocations: 4.348 MB / 483.4 MB, free: 45.59 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.247e-05/0.6151, allocations: 28 kB / 483.5 MB, free: 45.56 MB / 378.8 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.00424/0.6193, allocations: 3.809 MB / 487.3 MB, free: 42.29 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.276e-05/0.6194, allocations: 40 kB / 487.3 MB, free: 42.25 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.188e-05/0.6194, allocations: 84 kB / 487.4 MB, free: 42.17 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/0.6208, allocations: 0.7345 MB / 488.1 MB, free: 41.45 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002233/0.623, allocations: 1.303 MB / 489.4 MB, free: 40.24 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003358/0.6264, allocations: 3.769 MB / 493.2 MB, free: 36.5 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/0.6285, allocations: 235.7 kB / 493.4 MB, free: 36.27 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003965/0.6289, allocations: 240 kB / 493.7 MB, free: 36.03 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.002256/0.6312, allocations: 0.5124 MB / 494.2 MB, free: 35.61 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006825/0.6319, allocations: 355.6 kB / 494.5 MB, free: 35.26 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00314/0.635, allocations: 2.43 MB / 496.9 MB, free: 32.84 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.067e-05/0.635, allocations: 40 kB / 497 MB, free: 32.8 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.635, allocations: 8 kB / 497 MB, free: 32.79 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.037e-05/0.6351, allocations: 19.92 kB / 497 MB, free: 32.77 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01117/0.6462, allocations: 6.562 MB / 0.4918 GB, free: 26.8 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.6462, allocations: 7.844 kB / 0.4918 GB, free: 26.79 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00181/0.6481, allocations: 0.6139 MB / 0.4924 GB, free: 26.21 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001496/0.6496, allocations: 0.6077 MB / 0.493 GB, free: 25.61 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002291/0.6498, allocations: 79.97 kB / 0.493 GB, free: 25.53 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003694/0.6535, allocations: 3.323 MB / 0.4963 GB, free: 22.21 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.6535, allocations: 11.75 kB / 0.4963 GB, free: 22.2 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004475/0.658, allocations: 3 MB / 0.4992 GB, free: 19.17 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/0.6591, allocations: 487.6 kB / 0.4997 GB, free: 18.7 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003655/0.6595, allocations: 64 kB / 0.4998 GB, free: 18.63 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009849/0.6605, allocations: 99.95 kB / 0.4999 GB, free: 18.54 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004161/0.6609, allocations: 266.3 kB / 0.5001 GB, free: 18.28 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001768/0.661, allocations: 83.97 kB / 0.5002 GB, free: 18.2 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001161/0.6622, allocations: 1.054 MB / 0.5012 GB, free: 17.27 MB / 378.8 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6622, allocations: 0 / 0.5012 GB, free: 17.27 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.0041/0.6663, allocations: 1.51 MB / 0.5027 GB, free: 15.77 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.0004751/0.6668, allocations: 238.6 kB / 0.5029 GB, free: 15.56 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.004193/0.671, allocations: 3.003 MB / 0.5059 GB, free: 12.85 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001357/0.6711, allocations: 63.94 kB / 0.5059 GB, free: 12.79 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001855/0.673, allocations: 1.441 MB / 0.5073 GB, free: 11.45 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002886/0.6759, allocations: 0.8556 MB / 0.5082 GB, free: 10.63 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02044/0.6963, allocations: 12.81 MB / 0.5207 GB, free: 13.76 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002639/0.6989, allocations: 1.75 MB / 0.5224 GB, free: 11.97 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.002379/0.7013, allocations: 0.6496 MB / 0.523 GB, free: 11.32 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001992/0.7033, allocations: 0.8544 MB / 0.5238 GB, free: 10.46 MB / 394.8 MB Notification: Performance of SimCode: time 2.094e-06/0.7033, allocations: 3.062 kB / 0.5238 GB, free: 10.46 MB / 394.8 MB Notification: Performance of Templates: time 0.0917/0.795, allocations: 57.64 MB / 0.5801 GB, free: 1.711 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.5710694887675345]