Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.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.0007184/0.0007184, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009597/0.001678, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.9441/0.9441, allocations: 177.2 MB / 188.4 MB, free: 4.414 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2091/1.153, allocations: 53.65 MB / 242 MB, free: 2.629 MB / 234.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.0008321/0.0008321, allocations: 149.6 kB / 242.9 MB, free: 1.75 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001062/0.001895, allocations: 485.3 kB / 243.4 MB, free: 1.289 MB / 234.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.02339/0.02339, allocations: 6.65 MB / 250.8 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004879/0.02827, allocations: 2.669 MB / 253.5 MB, free: 7.414 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.SMEE_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 254.8 MB, free: 6.098 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.174e-05, allocations: 2.312 kB / 254.8 MB, free: 6.094 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.02068/0.0207, allocations: 24.22 MB / 279 MB, free: 13.77 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.03024/0.05094, allocations: 8.408 MB / 287.4 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01192/0.06286, allocations: 207 kB / 287.6 MB, free: 5.129 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01854/0.0814, allocations: 6.452 MB / 294.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007463/0.08886, allocations: 2.827 MB / 296.9 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002869/0.09173, allocations: 1.624 MB / 298.5 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00723/0.09896, allocations: 7.688 MB / 306.2 MB, free: 2.457 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008837/0.1078, allocations: 9.032 MB / 315.2 MB, free: 9.254 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005635/0.1134, allocations: 6.018 MB / 321.2 MB, free: 3.215 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1774/0.2908, allocations: 4.083 MB / 325.3 MB, free: 17.33 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003835/0.2946, allocations: 1.066 MB / 326.4 MB, free: 17.33 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004286/0.2989, allocations: 1.466 MB / 327.9 MB, free: 17.33 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001397/0.3003, allocations: 1.774 MB / 329.6 MB, free: 17.33 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003851/0.3042, allocations: 2.332 MB / 332 MB, free: 17.33 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00848/0.3127, allocations: 6.581 MB / 338.6 MB, free: 16.87 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.748e-05/0.3127, allocations: 0 / 338.6 MB, free: 16.87 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3127, allocations: 0.8438 kB / 338.6 MB, free: 16.87 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002399/0.3129, allocations: 3.281 kB / 338.6 MB, free: 16.87 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1800 * Number of variables: 1800 Notification: Performance of Generate backend data structure: time 0.01704/0.33, allocations: 9.819 MB / 348.4 MB, free: 14.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.33, allocations: 12.28 kB / 348.4 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01802/0.348, allocations: 4.538 MB / 352.9 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005243/0.3533, allocations: 2.522 MB / 355.4 MB, free: 12.92 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004631/0.3537, allocations: 493.5 kB / 355.9 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009073/0.3546, allocations: 0.6315 MB / 356.6 MB, free: 12.22 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007789/0.3624, allocations: 5.268 MB / 361.8 MB, free: 9.395 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001516/0.3626, allocations: 17.41 kB / 361.8 MB, free: 9.387 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005944/0.3632, allocations: 261.5 kB / 362.1 MB, free: 9.336 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002983/0.3635, allocations: 399.2 kB / 362.5 MB, free: 9.016 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005155/0.3686, allocations: 2.736 MB / 365.2 MB, free: 6.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02465/0.3933, allocations: 21.11 MB / 386.3 MB, free: 1.977 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005502/0.3988, allocations: 4.057 MB / 390.4 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009589/0.3997, allocations: 0.7928 MB / 391.2 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002066/0.3999, allocations: 102.2 kB / 391.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.593e-05/0.4, allocations: 64.89 kB / 391.3 MB, free: 13.11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=295): time 5.009e-06/0.4, allocations: 0 / 391.3 MB, free: 13.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=301): time 0.01062/0.4106, allocations: 5.545 MB / 396.9 MB, free: 7.578 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.4107, allocations: 81.78 kB / 397 MB, free: 7.484 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/0.4122, allocations: 1.963 MB / 398.9 MB, free: 5.887 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001207/0.4123, allocations: 77.7 kB / 399 MB, free: 5.805 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001466/0.4138, allocations: 2.726 MB / 401.7 MB, free: 3.172 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005364/0.4143, allocations: 1.074 MB / 402.8 MB, free: 2.164 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008188/0.4151, allocations: 0.8437 MB / 403.7 MB, free: 1.398 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.002e-05/0.4152, allocations: 301.1 kB / 403.9 MB, free: 1.102 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000721/0.4159, allocations: 0.5777 MB / 404.5 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00183/0.4178, allocations: 2.193 MB / 406.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002732/0.4205, allocations: 3.424 MB / 410.1 MB, free: 9.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-05/0.4205, allocations: 16 kB / 410.2 MB, free: 9.754 MB / 362.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.003606/0.4241, allocations: 2.978 MB / 413.1 MB, free: 7.125 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.861e-05/0.4242, allocations: 32 kB / 413.2 MB, free: 7.094 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.063e-05/0.4242, allocations: 52 kB / 413.2 MB, free: 7.043 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001372/0.4256, allocations: 0.5731 MB / 413.8 MB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002122/0.4277, allocations: 1.126 MB / 414.9 MB, free: 5.426 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003344/0.4311, allocations: 3.227 MB / 418.1 MB, free: 2.203 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/0.4326, allocations: 167.8 kB / 418.3 MB, free: 2.039 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002143/0.4328, allocations: 188 kB / 418.5 MB, free: 1.855 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 251 * 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 (560): * Single equations (assignments): 559 * 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,28,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001666/0.4345, allocations: 423.9 kB / 418.9 MB, free: 1.504 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003888/0.4349, allocations: 275.7 kB / 419.2 MB, free: 1.234 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003045/0.4379, allocations: 2.08 MB / 421.3 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/0.4379, allocations: 28 kB / 421.3 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.4379, allocations: 8 kB / 421.3 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-05/0.438, allocations: 15.94 kB / 421.3 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007412/0.4454, allocations: 5.054 MB / 426.4 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.4454, allocations: 7.984 kB / 426.4 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/0.4466, allocations: 0.5391 MB / 426.9 MB, free: 9.941 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006454/0.4472, allocations: 385.7 kB / 427.3 MB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008867/0.4481, allocations: 483.6 kB / 427.8 MB, free: 9.102 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/0.4482, allocations: 67.97 kB / 427.8 MB, free: 9.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003258/0.4515, allocations: 2.904 MB / 430.7 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.4515, allocations: 7.469 kB / 430.7 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002923/0.4544, allocations: 2.491 MB / 433.2 MB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002638/0.4547, allocations: 56 kB / 433.3 MB, free: 3.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006331/0.4553, allocations: 71.98 kB / 433.3 MB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002644/0.4555, allocations: 217.6 kB / 433.6 MB, free: 3.199 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.4557, allocations: 59.98 kB / 433.6 MB, free: 3.141 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008776/0.4565, allocations: 0.8887 MB / 434.5 MB, free: 2.344 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4565, allocations: 0 / 434.5 MB, free: 2.344 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002895/0.4594, allocations: 1.164 MB / 435.7 MB, free: 1.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (smee.short.port_p.reference.gamma,mechanicalPowerSensor.relSpeedSensor.phi_rel) * 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 (291): * Single equations (assignments): 290 * 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,26,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003731/0.4598, allocations: 228.3 kB / 435.9 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003013/0.4628, allocations: 2.448 MB / 438.3 MB, free: 14.76 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001167/0.4629, allocations: 83.75 kB / 438.4 MB, free: 14.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002182/0.4651, allocations: 1.952 MB / 440.4 MB, free: 12.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003006/0.4681, allocations: 4.726 MB / 445.1 MB, free: 7.293 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03873/0.5069, allocations: 9.042 MB / 454.1 MB, free: 14.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001239/0.5081, allocations: 1.212 MB / 455.4 MB, free: 12.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001693/0.5098, allocations: 0.5322 MB / 455.9 MB, free: 12.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/0.5109, allocations: 0.667 MB / 456.6 MB, free: 11.74 MB / 410.7 MB Notification: Performance of SimCode: time 1.493e-06/0.5109, allocations: 0 / 456.6 MB, free: 11.74 MB / 410.7 MB Notification: Performance of Templates: time 0.2104/0.7214, allocations: 47.73 MB / 0.4925 GB, free: 116.5 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.128298609517515]