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.001323/0.001323, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.9538/0.9538, allocations: 177.2 MB / 200 MB, free: 5.547 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.001235/0.001235, allocations: 164.5 kB / 256.6 MB, free: 13.01 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.02629/0.02629, allocations: 6.657 MB / 319.8 MB, free: 26.54 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_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.694e-06/1.694e-06, allocations: 0 / 391.7 MB, free: 2.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.192e-05, allocations: 5.969 kB / 391.7 MB, free: 2.566 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.1348/0.1348, allocations: 24.65 MB / 416.3 MB, free: 69.38 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01289/0.1477, allocations: 8.006 MB / 424.3 MB, free: 67.45 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002468/0.1501, allocations: 205.2 kB / 424.5 MB, free: 67.39 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007649/0.1578, allocations: 6.45 MB / 431 MB, free: 64.03 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004341/0.1621, allocations: 2.858 MB / 433.8 MB, free: 61.83 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00199/0.1641, allocations: 1.638 MB / 435.5 MB, free: 60.57 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004082/0.1682, allocations: 7.641 MB / 443.1 MB, free: 55.8 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006271/0.1745, allocations: 9.019 MB / 452.1 MB, free: 46.68 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003402/0.1779, allocations: 5.764 MB / 457.9 MB, free: 40.9 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002386/0.1803, allocations: 4.047 MB / 461.9 MB, free: 36.85 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005987/0.1809, allocations: 1.066 MB / 463 MB, free: 35.78 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.1822, allocations: 1.444 MB / 464.5 MB, free: 34.34 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008165/0.1831, allocations: 2.217 MB / 466.7 MB, free: 32.11 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001383/0.1844, allocations: 2.787 MB / 469.5 MB, free: 29.32 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003749/0.1882, allocations: 6.984 MB / 476.4 MB, free: 22.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1882, allocations: 0 / 476.4 MB, free: 22.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1882, allocations: 0 / 476.4 MB, free: 22.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.503e-05/0.1882, allocations: 0 / 476.4 MB, free: 22.32 MB / 330.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.01051/0.1987, allocations: 9.382 MB / 485.8 MB, free: 12.85 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/0.1988, allocations: 8.031 kB / 485.8 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01207/0.2109, allocations: 5.484 MB / 491.3 MB, free: 7.352 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004425/0.2153, allocations: 4.437 MB / 495.7 MB, free: 2.855 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/0.2154, allocations: 485.1 kB / 496.2 MB, free: 2.379 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005583/0.216, allocations: 0.6366 MB / 496.9 MB, free: 1.742 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007544/0.2235, allocations: 5.645 MB / 0.4907 GB, free: 11.99 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.351e-05/0.2236, allocations: 7.953 kB / 0.4907 GB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004332/0.2241, allocations: 267.9 kB / 0.491 GB, free: 11.72 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002886/0.2244, allocations: 425.6 kB / 0.4914 GB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006021/0.2304, allocations: 3.324 MB / 0.4946 GB, free: 7.965 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02855/0.2589, allocations: 27.38 MB / 0.5214 GB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009487/0.2684, allocations: 6.158 MB / 0.5274 GB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001707/0.2701, allocations: 1.034 MB / 0.5284 GB, free: 5.301 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001784/0.2703, allocations: 98.25 kB / 0.5285 GB, free: 5.203 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.964e-05/0.2704, allocations: 67.72 kB / 0.5286 GB, free: 5.125 MB / 378.7 MB Notification: Performance of pre-optimization done (n=295): time 5.37e-06/0.2704, allocations: 0 / 0.5286 GB, free: 5.125 MB / 378.7 MB Notification: Performance of matching and sorting (n=301): time 0.01313/0.2835, allocations: 6.41 MB / 0.5348 GB, free: 14.61 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.2835, allocations: 85.78 kB / 0.5349 GB, free: 14.51 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003325/0.2869, allocations: 2.554 MB / 0.5374 GB, free: 11.94 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001375/0.287, allocations: 73.7 kB / 0.5375 GB, free: 11.86 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001925/0.2889, allocations: 3.126 MB / 0.5405 GB, free: 8.699 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007374/0.2897, allocations: 1.093 MB / 0.5416 GB, free: 7.598 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001465/0.2911, allocations: 0.9816 MB / 0.5425 GB, free: 6.602 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.2912, allocations: 480.7 kB / 0.543 GB, free: 6.129 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001428/0.2927, allocations: 0.6922 MB / 0.5437 GB, free: 5.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002811/0.2955, allocations: 3.209 MB / 0.5468 GB, free: 1.133 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1455/0.441, allocations: 4.244 MB / 0.551 GB, free: 89.95 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.105e-05/0.4411, allocations: 18.94 kB / 0.551 GB, free: 89.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.005727/0.4468, allocations: 4.065 MB / 0.5549 GB, free: 89.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.4468, allocations: 34.72 kB / 0.555 GB, free: 89.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.111e-05/0.4469, allocations: 59.95 kB / 0.555 GB, free: 89.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/0.4481, allocations: 0.6081 MB / 0.5556 GB, free: 89.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001872/0.4499, allocations: 1.07 MB / 0.5567 GB, free: 89.76 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004005/0.4539, allocations: 4.383 MB / 0.561 GB, free: 87.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/0.4556, allocations: 267.9 kB / 0.5612 GB, free: 87.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002963/0.4559, allocations: 236.5 kB / 0.5614 GB, free: 87.74 MB / 394.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.001402/0.4573, allocations: 462.4 kB / 0.5619 GB, free: 87.58 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005312/0.4579, allocations: 414.8 kB / 0.5623 GB, free: 87.58 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003554/0.4614, allocations: 2.738 MB / 0.5649 GB, free: 87.32 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.4614, allocations: 30.56 kB / 0.565 GB, free: 87.32 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-06/0.4614, allocations: 15.05 kB / 0.565 GB, free: 87.32 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.8e-05/0.4614, allocations: 15.94 kB / 0.565 GB, free: 87.32 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008546/0.47, allocations: 7.676 MB / 0.5725 GB, free: 86.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.47, allocations: 10.86 kB / 0.5725 GB, free: 86.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.471, allocations: 0.5346 MB / 0.573 GB, free: 86.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009328/0.4719, allocations: 0.5181 MB / 0.5735 GB, free: 86.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/0.4721, allocations: 71.33 kB / 0.5736 GB, free: 86.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00289/0.4749, allocations: 3.982 MB / 0.5775 GB, free: 84.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.475, allocations: 7.375 kB / 0.5775 GB, free: 84.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003603/0.4786, allocations: 3.366 MB / 0.5808 GB, free: 83.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006897/0.4792, allocations: 0.5859 MB / 0.5814 GB, free: 83.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/0.4795, allocations: 56.81 kB / 0.5814 GB, free: 83.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006819/0.4801, allocations: 145.1 kB / 0.5816 GB, free: 83.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002429/0.4804, allocations: 219.5 kB / 0.5818 GB, free: 83.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.4805, allocations: 96.02 kB / 0.5819 GB, free: 83.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001133/0.4816, allocations: 1.242 MB / 0.5831 GB, free: 83.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4816, allocations: 0 / 0.5831 GB, free: 83.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002641/0.4843, allocations: 1.165 MB / 0.5842 GB, free: 82.49 MB / 394.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.0004112/0.4847, allocations: 237.4 kB / 0.5844 GB, free: 82.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003309/0.488, allocations: 2.998 MB / 0.5874 GB, free: 79.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.488, allocations: 0 / 0.5874 GB, free: 79.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001435/0.4894, allocations: 1.486 MB / 0.5888 GB, free: 78.55 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.4908, allocations: 0.6103 MB / 0.5894 GB, free: 78.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008852/0.4996, allocations: 9.432 MB / 0.5986 GB, free: 69.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009384/0.5006, allocations: 1.635 MB / 0.6002 GB, free: 68.07 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001558/0.5021, allocations: 1.111 MB / 0.6013 GB, free: 67.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004892/0.5026, allocations: 280.4 kB / 0.6016 GB, free: 67.05 MB / 394.7 MB Notification: Performance of SimCode: time 1.513e-06/0.5026, allocations: 0 / 0.6016 GB, free: 67.05 MB / 394.7 MB Notification: Performance of Templates: time 0.0455/0.5481, allocations: 45.04 MB / 0.6456 GB, free: 22.7 MB / 394.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.3157460717484355]