Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.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.0009602/0.0009602, allocations: 93.06 kB / 19.65 MB, free: 276 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 1.04/1.04, allocations: 177.2 MB / 200 MB, free: 5.555 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.001112/0.001112, allocations: 171.8 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.03818/0.03818, allocations: 6.654 MB / 319.8 MB, free: 26.56 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_Slip3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 391.7 MB, free: 2.551 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.116e-05/3.328e-05, allocations: 5.969 kB / 391.7 MB, free: 2.547 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.1886/0.1887, allocations: 24.75 MB / 416.4 MB, free: 69.39 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0147/0.2034, allocations: 8.006 MB / 424.4 MB, free: 67.44 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003246/0.2066, allocations: 200.9 kB / 424.6 MB, free: 67.38 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006808/0.2134, allocations: 6.468 MB / 431.1 MB, free: 63.95 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004469/0.2179, allocations: 2.849 MB / 434 MB, free: 61.76 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002042/0.2199, allocations: 1.656 MB / 435.6 MB, free: 60.49 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004523/0.2245, allocations: 7.635 MB / 443.2 MB, free: 55.72 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007329/0.2318, allocations: 9.021 MB / 452.3 MB, free: 46.57 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0043/0.2361, allocations: 5.698 MB / 458 MB, free: 40.87 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00279/0.2389, allocations: 3.988 MB / 462 MB, free: 36.87 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008636/0.2397, allocations: 1.074 MB / 463 MB, free: 35.8 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001476/0.2412, allocations: 1.46 MB / 464.5 MB, free: 34.34 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008655/0.2421, allocations: 2.221 MB / 466.7 MB, free: 32.11 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002244/0.2443, allocations: 2.799 MB / 469.5 MB, free: 29.3 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00461/0.2489, allocations: 7.007 MB / 476.5 MB, free: 22.28 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.2489, allocations: 0 / 476.5 MB, free: 22.28 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.249, allocations: 0 / 476.5 MB, free: 22.28 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.785e-05/0.249, allocations: 0 / 476.5 MB, free: 22.28 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.009919/0.2589, allocations: 9.397 MB / 485.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.259, allocations: 11.97 kB / 485.9 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01415/0.2731, allocations: 5.491 MB / 491.4 MB, free: 7.285 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005934/0.279, allocations: 4.437 MB / 495.9 MB, free: 2.789 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002311/0.2793, allocations: 489 kB / 496.3 MB, free: 2.309 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007742/0.2801, allocations: 0.6288 MB / 497 MB, free: 1.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01052/0.2906, allocations: 5.653 MB / 0.4908 GB, free: 11.92 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001229/0.2907, allocations: 15.89 kB / 0.4908 GB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005884/0.2913, allocations: 264 kB / 0.4911 GB, free: 11.65 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003668/0.2917, allocations: 413.7 kB / 0.4915 GB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008861/0.3005, allocations: 3.336 MB / 0.4948 GB, free: 7.891 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04033/0.3408, allocations: 27.45 MB / 0.5216 GB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0073/0.3481, allocations: 6.154 MB / 0.5276 GB, free: 6.203 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001354/0.3495, allocations: 1.034 MB / 0.5286 GB, free: 5.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001868/0.3497, allocations: 94.27 kB / 0.5287 GB, free: 5.066 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.697e-05/0.3497, allocations: 67.72 kB / 0.5287 GB, free: 4.988 MB / 378.7 MB Notification: Performance of pre-optimization done (n=295): time 4.829e-06/0.3497, allocations: 0 / 0.5287 GB, free: 4.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=301): time 0.01039/0.3601, allocations: 6.411 MB / 0.535 GB, free: 14.47 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.3602, allocations: 85.78 kB / 0.5351 GB, free: 14.38 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002817/0.363, allocations: 2.562 MB / 0.5376 GB, free: 11.79 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001147/0.3631, allocations: 77.7 kB / 0.5376 GB, free: 11.71 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001434/0.3645, allocations: 3.126 MB / 0.5407 GB, free: 8.551 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006531/0.3652, allocations: 1.096 MB / 0.5418 GB, free: 7.445 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009877/0.3662, allocations: 0.9933 MB / 0.5427 GB, free: 6.438 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004216/0.3666, allocations: 480.7 kB / 0.5432 GB, free: 5.965 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/0.3678, allocations: 0.6883 MB / 0.5439 GB, free: 5.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002291/0.3701, allocations: 3.224 MB / 0.547 GB, free: 0.957 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1526/0.5228, allocations: 4.245 MB / 0.5512 GB, free: 89.76 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.298e-05/0.5228, allocations: 17.12 kB / 0.5512 GB, free: 89.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.005568/0.5284, allocations: 4.083 MB / 0.5552 GB, free: 89.61 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.5284, allocations: 30.19 kB / 0.5552 GB, free: 89.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.277e-05/0.5284, allocations: 54.06 kB / 0.5553 GB, free: 89.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/0.5297, allocations: 0.6158 MB / 0.5559 GB, free: 89.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001899/0.5316, allocations: 1.073 MB / 0.5569 GB, free: 89.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004086/0.5356, allocations: 4.379 MB / 0.5612 GB, free: 87.56 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.5372, allocations: 271.8 kB / 0.5614 GB, free: 87.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002513/0.5374, allocations: 233.3 kB / 0.5617 GB, free: 87.55 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.001198/0.5386, allocations: 458.2 kB / 0.5621 GB, free: 87.39 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000454/0.5391, allocations: 417.2 kB / 0.5625 GB, free: 87.39 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003596/0.5427, allocations: 2.738 MB / 0.5652 GB, free: 87.14 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.5427, allocations: 34.86 kB / 0.5652 GB, free: 87.14 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.5427, allocations: 3.75 kB / 0.5652 GB, free: 87.14 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/0.5427, allocations: 18.36 kB / 0.5652 GB, free: 87.14 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008691/0.5514, allocations: 7.697 MB / 0.5727 GB, free: 86.35 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.5514, allocations: 4.25 kB / 0.5727 GB, free: 86.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.5524, allocations: 0.5337 MB / 0.5733 GB, free: 86.35 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009534/0.5534, allocations: 0.5173 MB / 0.5738 GB, free: 86.31 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001294/0.5535, allocations: 77.55 kB / 0.5738 GB, free: 86.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003013/0.5565, allocations: 3.973 MB / 0.5777 GB, free: 84.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.5565, allocations: 7.438 kB / 0.5777 GB, free: 84.32 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003858/0.5604, allocations: 3.366 MB / 0.581 GB, free: 83.58 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007315/0.5611, allocations: 0.5903 MB / 0.5816 GB, free: 83.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002075/0.5613, allocations: 63.97 kB / 0.5817 GB, free: 83.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007211/0.562, allocations: 142.8 kB / 0.5818 GB, free: 83.41 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002244/0.5623, allocations: 222 kB / 0.582 GB, free: 83.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/0.5624, allocations: 87.08 kB / 0.5821 GB, free: 83.4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001165/0.5636, allocations: 1.252 MB / 0.5833 GB, free: 83.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5636, allocations: 0 / 0.5833 GB, free: 83.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002348/0.5659, allocations: 1.173 MB / 0.5845 GB, free: 82.21 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.0003168/0.5662, allocations: 238 kB / 0.5847 GB, free: 82.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003327/0.5695, allocations: 3.007 MB / 0.5876 GB, free: 79.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5695, allocations: 0 / 0.5876 GB, free: 79.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001526/0.5711, allocations: 1.486 MB / 0.5891 GB, free: 78.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/0.5726, allocations: 0.609 MB / 0.5897 GB, free: 77.78 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009045/0.5816, allocations: 9.431 MB / 0.5989 GB, free: 69.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009693/0.5826, allocations: 1.634 MB / 0.6005 GB, free: 67.8 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001579/0.5842, allocations: 1.111 MB / 0.6016 GB, free: 67.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005214/0.5847, allocations: 284.4 kB / 0.6018 GB, free: 66.79 MB / 394.7 MB Notification: Performance of SimCode: time 1.323e-06/0.5847, allocations: 0 / 0.6018 GB, free: 66.79 MB / 394.7 MB Notification: Performance of Templates: time 0.0454/0.6301, allocations: 43.06 MB / 0.6439 GB, free: 24.37 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.609783035237342]