Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.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.0009293/0.0009293, allocations: 92.22 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 0.9937/0.9937, allocations: 177.1 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.001791/0.001791, allocations: 160.6 kB / 256.6 MB, free: 13.02 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.02438/0.02438, allocations: 6.649 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_Slip2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 391.7 MB, free: 2.539 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.517e-05, allocations: 2.312 kB / 391.7 MB, free: 2.535 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip2): time 0.1388/0.1389, allocations: 24.75 MB / 416.4 MB, free: 69.4 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01312/0.152, allocations: 8.003 MB / 424.4 MB, free: 67.44 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003447/0.1554, allocations: 203.8 kB / 424.6 MB, free: 67.38 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007143/0.1626, allocations: 6.458 MB / 431.1 MB, free: 63.97 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005347/0.1679, allocations: 2.857 MB / 434 MB, free: 61.76 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002185/0.1701, allocations: 1.657 MB / 435.6 MB, free: 60.49 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004668/0.1748, allocations: 7.635 MB / 443.2 MB, free: 55.71 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007243/0.182, allocations: 9.025 MB / 452.3 MB, free: 46.56 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004293/0.1863, allocations: 5.702 MB / 458 MB, free: 40.85 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003239/0.1895, allocations: 3.992 MB / 462 MB, free: 36.85 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001216/0.1908, allocations: 1.07 MB / 463 MB, free: 35.78 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001576/0.1923, allocations: 1.444 MB / 464.5 MB, free: 34.34 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008585/0.1932, allocations: 2.229 MB / 466.7 MB, free: 32.1 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001559/0.1948, allocations: 2.799 MB / 469.5 MB, free: 29.3 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004295/0.199, allocations: 7.011 MB / 476.5 MB, free: 22.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1991, allocations: 0 / 476.5 MB, free: 22.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1991, allocations: 0 / 476.5 MB, free: 22.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.718e-05/0.1991, allocations: 4 kB / 476.5 MB, free: 22.26 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.009884/0.209, allocations: 9.397 MB / 485.9 MB, free: 12.78 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.209, allocations: 8.031 kB / 485.9 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01223/0.2213, allocations: 5.483 MB / 491.4 MB, free: 7.281 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004549/0.2258, allocations: 4.445 MB / 495.9 MB, free: 2.777 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/0.226, allocations: 481.1 kB / 496.3 MB, free: 2.305 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006013/0.2266, allocations: 0.6327 MB / 497 MB, free: 1.672 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00766/0.2343, allocations: 5.657 MB / 0.4908 GB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.181e-05/0.2343, allocations: 7.953 kB / 0.4908 GB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000457/0.2348, allocations: 268 kB / 0.4911 GB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002736/0.2351, allocations: 417.6 kB / 0.4915 GB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006043/0.2411, allocations: 3.336 MB / 0.4948 GB, free: 7.879 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02651/0.2676, allocations: 27.45 MB / 0.5216 GB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007586/0.2752, allocations: 6.152 MB / 0.5276 GB, free: 6.195 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001628/0.2768, allocations: 1.038 MB / 0.5286 GB, free: 5.148 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001846/0.277, allocations: 98.19 kB / 0.5287 GB, free: 5.051 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.2771, allocations: 67.72 kB / 0.5287 GB, free: 4.973 MB / 378.7 MB Notification: Performance of pre-optimization done (n=295): time 5.3e-06/0.2771, allocations: 0 / 0.5287 GB, free: 4.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=301): time 0.01129/0.2884, allocations: 6.411 MB / 0.535 GB, free: 14.46 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.2884, allocations: 81.78 kB / 0.5351 GB, free: 14.36 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002745/0.2912, allocations: 2.57 MB / 0.5376 GB, free: 11.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001146/0.2913, allocations: 73.64 kB / 0.5377 GB, free: 11.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001505/0.2928, allocations: 3.122 MB / 0.5407 GB, free: 8.539 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005779/0.2934, allocations: 1.1 MB / 0.5418 GB, free: 7.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009827/0.2943, allocations: 0.9854 MB / 0.5427 GB, free: 6.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.2945, allocations: 480.7 kB / 0.5432 GB, free: 5.957 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/0.2957, allocations: 0.6961 MB / 0.5439 GB, free: 5.254 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002307/0.298, allocations: 3.216 MB / 0.547 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1453/0.4433, allocations: 4.247 MB / 0.5512 GB, free: 89.78 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-05/0.4433, allocations: 18.91 kB / 0.5512 GB, free: 89.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.006232/0.4496, allocations: 4.077 MB / 0.5552 GB, free: 89.62 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.775e-05/0.4496, allocations: 31.83 kB / 0.5552 GB, free: 89.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.156e-05/0.4497, allocations: 54.25 kB / 0.5552 GB, free: 89.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001261/0.4509, allocations: 0.6176 MB / 0.5559 GB, free: 89.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002013/0.4529, allocations: 1.072 MB / 0.5569 GB, free: 89.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004306/0.4572, allocations: 4.376 MB / 0.5612 GB, free: 87.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/0.4589, allocations: 278.1 kB / 0.5614 GB, free: 87.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002836/0.4592, allocations: 229.3 kB / 0.5617 GB, free: 87.57 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.00118/0.4604, allocations: 466.3 kB / 0.5621 GB, free: 87.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004966/0.4609, allocations: 412.8 kB / 0.5625 GB, free: 87.4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003649/0.4645, allocations: 2.739 MB / 0.5652 GB, free: 87.15 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.4646, allocations: 33.66 kB / 0.5652 GB, free: 87.15 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.4646, allocations: 10.39 kB / 0.5652 GB, free: 87.15 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/0.4646, allocations: 15 kB / 0.5652 GB, free: 87.15 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009229/0.4738, allocations: 7.696 MB / 0.5727 GB, free: 86.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.4738, allocations: 3.5 kB / 0.5727 GB, free: 86.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.4749, allocations: 0.5338 MB / 0.5733 GB, free: 86.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00103/0.4759, allocations: 0.5183 MB / 0.5738 GB, free: 86.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001314/0.476, allocations: 69.48 kB / 0.5738 GB, free: 86.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003255/0.4793, allocations: 3.984 MB / 0.5777 GB, free: 84.33 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.4793, allocations: 8.859 kB / 0.5777 GB, free: 84.33 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004125/0.4834, allocations: 3.357 MB / 0.581 GB, free: 83.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008586/0.4843, allocations: 0.6021 MB / 0.5816 GB, free: 83.42 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002407/0.4845, allocations: 57.09 kB / 0.5817 GB, free: 83.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007633/0.4853, allocations: 145.4 kB / 0.5818 GB, free: 83.42 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002415/0.4855, allocations: 219 kB / 0.582 GB, free: 83.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.4856, allocations: 93.48 kB / 0.5821 GB, free: 83.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001374/0.487, allocations: 1.249 MB / 0.5833 GB, free: 83.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.487, allocations: 0 / 0.5833 GB, free: 83.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003365/0.4904, allocations: 1.17 MB / 0.5845 GB, free: 82.14 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.0004302/0.4908, allocations: 239 kB / 0.5847 GB, free: 81.95 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003636/0.4944, allocations: 3.013 MB / 0.5876 GB, free: 79.44 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.4945, allocations: 0 / 0.5876 GB, free: 79.44 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001553/0.496, allocations: 1.487 MB / 0.5891 GB, free: 78.19 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.4975, allocations: 0.6019 MB / 0.5897 GB, free: 77.71 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009853/0.5073, allocations: 9.431 MB / 0.5989 GB, free: 68.95 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/0.5083, allocations: 1.631 MB / 0.6005 GB, free: 67.72 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001651/0.51, allocations: 1.112 MB / 0.6016 GB, free: 67.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005317/0.5105, allocations: 278.3 kB / 0.6018 GB, free: 66.75 MB / 394.7 MB Notification: Performance of SimCode: time 7.01e-07/0.5105, allocations: 0 / 0.6018 GB, free: 66.75 MB / 394.7 MB Notification: Performance of Templates: time 0.04503/0.5555, allocations: 43.07 MB / 0.6439 GB, free: 24.31 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.484094984829426]