Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.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.000963/0.000963, allocations: 69.89 kB / 20.65 MB, free: 3.848 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 1.019/1.019, allocations: 177.2 MB / 201.1 MB, free: 5.676 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.001223/0.001223, allocations: 160.6 kB / 257.7 MB, free: 12.95 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.02485/0.02485, allocations: 6.656 MB / 320.9 MB, free: 11.46 MB / 298.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_Slip4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 392.9 MB, free: 3.324 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.803e-05/1.967e-05, allocations: 2.312 kB / 392.9 MB, free: 3.32 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip4): time 0.01739/0.01741, allocations: 23.99 MB / 416.9 MB, free: 11.22 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01286/0.03027, allocations: 7.971 MB / 424.9 MB, free: 3.223 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004197/0.03447, allocations: 199.1 kB / 425.1 MB, free: 3.027 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008242/0.04271, allocations: 6.307 MB / 431.4 MB, free: 12.69 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00684/0.04955, allocations: 2.835 MB / 434.2 MB, free: 9.84 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003244/0.05279, allocations: 1.627 MB / 435.9 MB, free: 8.211 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00809/0.06088, allocations: 7.646 MB / 443.5 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1492/0.2101, allocations: 9.005 MB / 452.5 MB, free: 118.1 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008079/0.2181, allocations: 5.762 MB / 458.3 MB, free: 117.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00578/0.2239, allocations: 4.058 MB / 462.3 MB, free: 116.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002442/0.2264, allocations: 1.066 MB / 463.4 MB, free: 116.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00388/0.2302, allocations: 1.453 MB / 464.8 MB, free: 116.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002085/0.2323, allocations: 2.218 MB / 467.1 MB, free: 115.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004666/0.237, allocations: 2.788 MB / 469.8 MB, free: 114.6 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007314/0.2443, allocations: 6.981 MB / 476.8 MB, free: 111.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.2443, allocations: 5.688 kB / 476.8 MB, free: 111.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2443, allocations: 0 / 476.8 MB, free: 111.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000343/0.2447, allocations: 0 / 476.8 MB, free: 111.6 MB / 410.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.01497/0.2596, allocations: 8.884 MB / 485.7 MB, free: 106.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.2597, allocations: 8.031 kB / 485.7 MB, free: 106.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01279/0.2724, allocations: 4.313 MB / 490 MB, free: 102.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006364/0.2788, allocations: 4.182 MB / 494.2 MB, free: 98.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002474/0.2791, allocations: 484.5 kB / 494.7 MB, free: 97.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001006/0.2801, allocations: 0.631 MB / 495.3 MB, free: 97.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007802/0.2879, allocations: 5.163 MB / 0.4888 GB, free: 92.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001308/0.288, allocations: 14.52 kB / 0.4888 GB, free: 92.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004646/0.2885, allocations: 267.8 kB / 0.489 GB, free: 92.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002283/0.2887, allocations: 417.7 kB / 0.4894 GB, free: 91.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004605/0.2933, allocations: 2.608 MB / 0.492 GB, free: 88.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02926/0.3226, allocations: 27.01 MB / 0.5183 GB, free: 62.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005317/0.3279, allocations: 4.856 MB / 0.5231 GB, free: 58.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000998/0.3289, allocations: 0.8947 MB / 0.524 GB, free: 57.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001632/0.329, allocations: 102.2 kB / 0.5241 GB, free: 57.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.3291, allocations: 69.66 kB / 0.5241 GB, free: 57.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=295): time 4.529e-06/0.3291, allocations: 0 / 0.5241 GB, free: 57.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=301): time 0.008889/0.338, allocations: 5.238 MB / 0.5292 GB, free: 52.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.338, allocations: 85.16 kB / 0.5293 GB, free: 52.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002158/0.3402, allocations: 2.517 MB / 0.5318 GB, free: 50.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001146/0.3403, allocations: 73.7 kB / 0.5318 GB, free: 49.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001176/0.3414, allocations: 3.149 MB / 0.5349 GB, free: 46.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000485/0.3419, allocations: 1.101 MB / 0.536 GB, free: 45.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008382/0.3428, allocations: 1.005 MB / 0.537 GB, free: 44.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.231e-05/0.3428, allocations: 480.7 kB / 0.5374 GB, free: 44.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007023/0.3435, allocations: 0.5282 MB / 0.538 GB, free: 43.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.3448, allocations: 3.065 MB / 0.5409 GB, free: 39.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002573/0.3474, allocations: 4.007 MB / 0.5449 GB, free: 35.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.714e-05/0.3474, allocations: 16 kB / 0.5449 GB, free: 35.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.004169/0.3516, allocations: 3.689 MB / 0.5485 GB, free: 31.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/0.3516, allocations: 28 kB / 0.5485 GB, free: 31.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.646e-05/0.3517, allocations: 56 kB / 0.5486 GB, free: 31.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.3527, allocations: 0.5938 MB / 0.5491 GB, free: 31.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/0.3545, allocations: 1.001 MB / 0.5501 GB, free: 30.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003704/0.3582, allocations: 4.196 MB / 0.5542 GB, free: 25.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002231/0.3604, allocations: 175.8 kB / 0.5544 GB, free: 25.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002166/0.3606, allocations: 192 kB / 0.5546 GB, free: 25.6 MB / 410.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.001269/0.3619, allocations: 475.7 kB / 0.555 GB, free: 25.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004661/0.3623, allocations: 414 kB / 0.5554 GB, free: 24.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002806/0.3652, allocations: 2.492 MB / 0.5578 GB, free: 22.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/0.3652, allocations: 32 kB / 0.5579 GB, free: 22.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.3652, allocations: 4 kB / 0.5579 GB, free: 22.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.051e-05/0.3652, allocations: 17.94 kB / 0.5579 GB, free: 22.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008626/0.3738, allocations: 6.139 MB / 0.5639 GB, free: 16.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.3738, allocations: 7.984 kB / 0.5639 GB, free: 16.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.3749, allocations: 488.5 kB / 0.5644 GB, free: 16.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001062/0.376, allocations: 0.4952 MB / 0.5648 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001593/0.3761, allocations: 83.47 kB / 0.5649 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002956/0.3791, allocations: 3.813 MB / 0.5687 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.3791, allocations: 11.66 kB / 0.5687 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003457/0.3825, allocations: 2.98 MB / 0.5716 GB, free: 8.523 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009087/0.3834, allocations: 0.5435 MB / 0.5721 GB, free: 7.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002824/0.3837, allocations: 59.98 kB / 0.5722 GB, free: 7.922 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007243/0.3845, allocations: 80.02 kB / 0.5722 GB, free: 7.844 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002336/0.3847, allocations: 221.4 kB / 0.5724 GB, free: 7.629 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.67e-05/0.3848, allocations: 67.98 kB / 0.5725 GB, free: 7.562 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001113/0.3859, allocations: 1.136 MB / 0.5736 GB, free: 6.523 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3859, allocations: 0 / 0.5736 GB, free: 6.523 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002896/0.3888, allocations: 1.168 MB / 0.5748 GB, free: 5.355 MB / 410.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.0003617/0.3892, allocations: 234.5 kB / 0.575 GB, free: 5.148 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003375/0.3925, allocations: 2.724 MB / 0.5776 GB, free: 2.609 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.3925, allocations: 6 kB / 0.5777 GB, free: 2.605 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001359/0.3939, allocations: 1.372 MB / 0.579 GB, free: 1.305 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/0.3956, allocations: 0.6084 MB / 0.5796 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1366/0.5322, allocations: 9.331 MB / 0.5887 GB, free: 102.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.5332, allocations: 1.635 MB / 0.5903 GB, free: 102.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001492/0.5347, allocations: 0.5277 MB / 0.5908 GB, free: 102.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001087/0.5358, allocations: 0.7348 MB / 0.5915 GB, free: 102 MB / 410.7 MB Notification: Performance of SimCode: time 1.884e-06/0.5358, allocations: 0 / 0.5915 GB, free: 102 MB / 410.7 MB Notification: Performance of Templates: time 0.06702/0.6028, allocations: 47.46 MB / 0.6379 GB, free: 76.15 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.61755745485425]