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.0007839/0.0007839, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.8251/0.8251, allocations: 177.2 MB / 200.2 MB, free: 5.949 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.0009338/0.0009338, allocations: 156.6 kB / 256.7 MB, free: 13.36 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.0215/0.0215, allocations: 6.662 MB / 319.8 MB, free: 26.77 MB / 266.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.153e-06/1.153e-06, allocations: 0 / 446.7 MB, free: 37.08 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.093e-05, allocations: 2.281 kB / 446.7 MB, free: 37.08 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip4): time 0.01235/0.01237, allocations: 22.01 MB / 468.7 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01094/0.0233, allocations: 7.78 MB / 476.5 MB, free: 7.16 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003665/0.02697, allocations: 207 kB / 476.7 MB, free: 6.957 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006094/0.03306, allocations: 6.027 MB / 482.7 MB, free: 0.918 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005554/0.03862, allocations: 2.835 MB / 485.6 MB, free: 14.07 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002754/0.04137, allocations: 1.617 MB / 487.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.006815/0.04819, allocations: 7.628 MB / 494.8 MB, free: 4.801 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009683/0.05787, allocations: 9.011 MB / 0.492 GB, free: 11.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006112/0.06398, allocations: 5.655 MB / 0.4975 GB, free: 5.996 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003934/0.06792, allocations: 3.617 MB / 0.5011 GB, free: 2.371 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008763/0.06879, allocations: 1.07 MB / 0.5021 GB, free: 1.301 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0019/0.07069, allocations: 1.448 MB / 0.5035 GB, free: 15.85 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001063/0.07175, allocations: 2.189 MB / 0.5057 GB, free: 13.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001929/0.07368, allocations: 2.764 MB / 0.5084 GB, free: 10.89 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009675/0.08336, allocations: 14.71 MB / 0.5227 GB, free: 12.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.08336, allocations: 0 / 0.5227 GB, free: 12.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.08336, allocations: 0 / 0.5227 GB, free: 12.14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001632/0.08353, allocations: 4 kB / 0.5227 GB, free: 12.14 MB / 394.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.01247/0.096, allocations: 8.812 MB / 0.5313 GB, free: 3.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.09604, allocations: 12.03 kB / 0.5313 GB, free: 3.238 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01211/0.1081, allocations: 4.421 MB / 0.5357 GB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00588/0.114, allocations: 4.629 MB / 0.5402 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000222/0.1142, allocations: 493 kB / 0.5406 GB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007348/0.115, allocations: 0.6288 MB / 0.5413 GB, free: 9.008 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01164/0.1266, allocations: 10.48 MB / 0.5515 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001031/0.1267, allocations: 19.89 kB / 0.5515 GB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004715/0.1272, allocations: 260 kB / 0.5518 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002576/0.1275, allocations: 421.6 kB / 0.5522 GB, free: 13.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01092/0.1384, allocations: 9.845 MB / 0.5618 GB, free: 3.887 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1696/0.308, allocations: 29.68 MB / 0.5908 GB, free: 95.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006672/0.3147, allocations: 6.707 MB / 0.5973 GB, free: 90.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00164/0.3163, allocations: 2.112 MB / 0.5994 GB, free: 88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001528/0.3164, allocations: 74.27 kB / 0.5994 GB, free: 87.92 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.3165, allocations: 64.89 kB / 0.5995 GB, free: 87.85 MB / 426.7 MB Notification: Performance of pre-optimization done (n=295): time 4.779e-06/0.3165, allocations: 2.844 kB / 0.5995 GB, free: 87.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=301): time 0.0114/0.3279, allocations: 10.79 MB / 0.61 GB, free: 77.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.3279, allocations: 81.78 kB / 0.6101 GB, free: 77.17 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00233/0.3302, allocations: 2.895 MB / 0.6129 GB, free: 74.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.3304, allocations: 73.7 kB / 0.613 GB, free: 74.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000974/0.3313, allocations: 2.963 MB / 0.6159 GB, free: 71.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005802/0.3319, allocations: 1.068 MB / 0.617 GB, free: 70.58 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001137/0.3331, allocations: 0.9177 MB / 0.6178 GB, free: 69.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 2.543e-05/0.3331, allocations: 301.1 kB / 0.6181 GB, free: 69.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002422/0.3355, allocations: 2.031 MB / 0.6201 GB, free: 67.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002986/0.3385, allocations: 3.749 MB / 0.6238 GB, free: 62.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004905/0.3434, allocations: 6.064 MB / 0.6297 GB, free: 55.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-05/0.3434, allocations: 16 kB / 0.6297 GB, free: 55.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.005838/0.3493, allocations: 6.628 MB / 0.6362 GB, free: 49.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/0.3493, allocations: 32 kB / 0.6362 GB, free: 49.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.746e-05/0.3493, allocations: 52 kB / 0.6363 GB, free: 49.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009568/0.3503, allocations: 0.6743 MB / 0.6369 GB, free: 48.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001709/0.352, allocations: 1.076 MB / 0.638 GB, free: 47.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004365/0.3564, allocations: 5.991 MB / 0.6438 GB, free: 41.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/0.358, allocations: 275.7 kB / 0.6441 GB, free: 41.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001883/0.3582, allocations: 232 kB / 0.6443 GB, free: 40.8 MB / 426.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.002231/0.3604, allocations: 2.313 MB / 0.6466 GB, free: 38.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003117/0.3607, allocations: 314 kB / 0.6469 GB, free: 38.17 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00402/0.3647, allocations: 4.611 MB / 0.6514 GB, free: 33.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.3648, allocations: 35.94 kB / 0.6514 GB, free: 33.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3648, allocations: 4 kB / 0.6514 GB, free: 33.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/0.3648, allocations: 15.94 kB / 0.6514 GB, free: 33.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008487/0.3733, allocations: 9.546 MB / 0.6608 GB, free: 23.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.3733, allocations: 4 kB / 0.6608 GB, free: 23.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000989/0.3743, allocations: 0.535 MB / 0.6613 GB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007698/0.375, allocations: 0.5654 MB / 0.6618 GB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.92e-05/0.3751, allocations: 71.97 kB / 0.6619 GB, free: 22.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003549/0.3787, allocations: 5.226 MB / 0.667 GB, free: 17.33 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3787, allocations: 8 kB / 0.667 GB, free: 17.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005111/0.3838, allocations: 6.562 MB / 0.6734 GB, free: 10.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008136/0.3846, allocations: 0.6305 MB / 0.674 GB, free: 9.969 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000219/0.3848, allocations: 67.94 kB / 0.6741 GB, free: 9.902 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007369/0.3856, allocations: 143.8 kB / 0.6742 GB, free: 9.762 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001971/0.3858, allocations: 221.8 kB / 0.6744 GB, free: 9.543 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.565e-05/0.3859, allocations: 91.92 kB / 0.6745 GB, free: 9.453 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001416/0.3873, allocations: 1.851 MB / 0.6763 GB, free: 7.594 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.3873, allocations: 0 / 0.6763 GB, free: 7.594 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002259/0.3895, allocations: 1.172 MB / 0.6775 GB, free: 6.422 MB / 426.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.0003033/0.3898, allocations: 226.6 kB / 0.6777 GB, free: 6.195 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004073/0.3939, allocations: 4.832 MB / 0.6824 GB, free: 1.336 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3939, allocations: 4 kB / 0.6824 GB, free: 1.332 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001886/0.3958, allocations: 2.114 MB / 0.6845 GB, free: 15.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.3973, allocations: 0.5659 MB / 0.685 GB, free: 14.65 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.4086, allocations: 10.98 MB / 0.6958 GB, free: 3.555 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002484/0.4111, allocations: 3.537 MB / 0.6992 GB, free: 15.97 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007586/0.4118, allocations: 324.4 kB / 0.6995 GB, free: 15.66 MB / 458.7 MB Notification: Performance of SimCode: time 1.143e-06/0.4118, allocations: 0 / 0.6995 GB, free: 15.66 MB / 458.7 MB Notification: Performance of Templates: time 0.204/0.6158, allocations: 109.1 MB / 0.8061 GB, free: 112.2 MB / 490.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=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.759643875062466] Failed to read output from testmodel.py, exit status != 0: 0.6209333697333932 0.6264831000000001 0.541791894 Calling exit ...