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.001059/0.001059, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.9788/0.9788, allocations: 177.2 MB / 200.3 MB, free: 5.68 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.001266/0.001266, allocations: 152.6 kB / 257 MB, free: 12.97 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.0247/0.0247, allocations: 6.662 MB / 266.9 MB, free: 3.227 MB / 250.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 2.074e-06/2.074e-06, allocations: 0 / 285.7 MB, free: 460 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.061e-05/3.268e-05, allocations: 9.906 kB / 285.7 MB, free: 452 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip4): time 0.1196/0.1197, allocations: 24 MB / 309.7 MB, free: 6.516 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01412/0.1338, allocations: 8.343 MB / 318 MB, free: 14.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004411/0.1382, allocations: 203 kB / 318.2 MB, free: 14.03 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008311/0.1465, allocations: 6.494 MB / 324.7 MB, free: 7.527 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007103/0.1536, allocations: 2.865 MB / 327.6 MB, free: 4.648 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004016/0.1576, allocations: 1.646 MB / 329.2 MB, free: 3.008 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.008055/0.1657, allocations: 7.651 MB / 336.9 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01128/0.177, allocations: 9.293 MB / 346.2 MB, free: 1.863 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007536/0.1845, allocations: 5.776 MB / 352 MB, free: 12.07 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005426/0.1899, allocations: 4.089 MB / 356 MB, free: 7.977 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002805/0.1927, allocations: 1.066 MB / 357.1 MB, free: 6.91 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004408/0.1972, allocations: 1.441 MB / 358.6 MB, free: 5.469 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00244/0.1996, allocations: 2.217 MB / 360.8 MB, free: 3.246 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004294/0.2039, allocations: 2.787 MB / 363.6 MB, free: 464 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007995/0.2119, allocations: 6.984 MB / 370.5 MB, free: 9.449 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2119, allocations: 0 / 370.5 MB, free: 9.449 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2119, allocations: 4 kB / 370.5 MB, free: 9.445 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002101/0.2121, allocations: 0 / 370.5 MB, free: 9.445 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.01326/0.2254, allocations: 8.406 MB / 379 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.2254, allocations: 8.031 kB / 379 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01393/0.2393, allocations: 4.546 MB / 383.5 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00577/0.2451, allocations: 2.529 MB / 386 MB, free: 9.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000307/0.2454, allocations: 485.1 kB / 386.5 MB, free: 9.344 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00144/0.2469, allocations: 0.6327 MB / 387.1 MB, free: 8.711 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01143/0.2583, allocations: 5.269 MB / 392.4 MB, free: 3.344 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002665/0.2585, allocations: 15.92 kB / 392.4 MB, free: 3.328 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001449/0.26, allocations: 260 kB / 392.7 MB, free: 3.074 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003238/0.2603, allocations: 421.6 kB / 393.1 MB, free: 2.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00848/0.2688, allocations: 2.736 MB / 395.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0355/0.3043, allocations: 21 MB / 416.8 MB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006961/0.3113, allocations: 4.054 MB / 420.9 MB, free: 6.027 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001281/0.3125, allocations: 0.8011 MB / 421.7 MB, free: 5.215 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002332/0.3128, allocations: 94.27 kB / 421.8 MB, free: 5.121 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.805e-05/0.3128, allocations: 68.88 kB / 421.8 MB, free: 5.043 MB / 378.7 MB Notification: Performance of pre-optimization done (n=295): time 6.472e-06/0.3128, allocations: 3.938 kB / 421.9 MB, free: 5.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=301): time 0.01071/0.3235, allocations: 4.636 MB / 426.5 MB, free: 328 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.3236, allocations: 81.78 kB / 426.6 MB, free: 232 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1362/0.4598, allocations: 1.957 MB / 428.5 MB, free: 79.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000525/0.4603, allocations: 74.61 kB / 428.6 MB, free: 79.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001574/0.4619, allocations: 2.727 MB / 431.3 MB, free: 78.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001151/0.4631, allocations: 1.076 MB / 432.4 MB, free: 78.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00124/0.4643, allocations: 0.8412 MB / 433.2 MB, free: 78.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.709e-05/0.4643, allocations: 304 kB / 433.5 MB, free: 77.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/0.4655, allocations: 0.5793 MB / 434.1 MB, free: 77.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/0.4671, allocations: 2.194 MB / 436.3 MB, free: 75.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002902/0.47, allocations: 3.194 MB / 439.5 MB, free: 73.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.421e-05/0.4701, allocations: 16.44 kB / 439.5 MB, free: 73.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.00417/0.4742, allocations: 2.987 MB / 442.5 MB, free: 73.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.4743, allocations: 27.69 kB / 442.5 MB, free: 73.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.878e-05/0.4743, allocations: 54.62 kB / 442.6 MB, free: 73.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/0.4754, allocations: 0.5658 MB / 443.2 MB, free: 73.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001718/0.4771, allocations: 0.9801 MB / 444.1 MB, free: 73.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00293/0.48, allocations: 3.195 MB / 447.3 MB, free: 72.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/0.4819, allocations: 176.8 kB / 447.5 MB, free: 72.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002104/0.4821, allocations: 188.1 kB / 447.7 MB, free: 72.14 MB / 378.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.001103/0.4832, allocations: 416.2 kB / 448.1 MB, free: 72.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004179/0.4836, allocations: 280.8 kB / 448.4 MB, free: 72.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002285/0.4859, allocations: 2.091 MB / 450.5 MB, free: 71.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.4859, allocations: 31.25 kB / 450.5 MB, free: 71.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.486, allocations: 7.938 kB / 450.5 MB, free: 71.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.845e-05/0.486, allocations: 20.95 kB / 450.5 MB, free: 71.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006069/0.492, allocations: 5.052 MB / 455.6 MB, free: 71.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.343e-06/0.492, allocations: 8 kB / 455.6 MB, free: 71.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009273/0.493, allocations: 475 kB / 456 MB, free: 71.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008344/0.4938, allocations: 480.9 kB / 456.5 MB, free: 71.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/0.4939, allocations: 62.94 kB / 456.6 MB, free: 71.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002341/0.4963, allocations: 2.899 MB / 459.5 MB, free: 69.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.4963, allocations: 13.28 kB / 459.5 MB, free: 69.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002615/0.4989, allocations: 2.474 MB / 462 MB, free: 68.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007631/0.4996, allocations: 385.7 kB / 462.3 MB, free: 68.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002625/0.4999, allocations: 58.06 kB / 462.4 MB, free: 68.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006315/0.5005, allocations: 74.23 kB / 462.5 MB, free: 68.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002189/0.5007, allocations: 219.8 kB / 462.7 MB, free: 68.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.495e-05/0.5008, allocations: 66.83 kB / 462.7 MB, free: 68.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007719/0.5016, allocations: 0.8848 MB / 463.6 MB, free: 67.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.5016, allocations: 0 / 463.6 MB, free: 67.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00267/0.5043, allocations: 1.166 MB / 464.8 MB, free: 66.45 MB / 378.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.0003345/0.5046, allocations: 221.4 kB / 465 MB, free: 66.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002749/0.5074, allocations: 2.379 MB / 467.4 MB, free: 64.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.824e-05/0.5074, allocations: 55.94 kB / 467.4 MB, free: 64.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.5086, allocations: 1.181 MB / 468.6 MB, free: 63.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/0.51, allocations: 0.5918 MB / 469.2 MB, free: 63.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009914/0.5199, allocations: 9.201 MB / 478.4 MB, free: 55.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.521, allocations: 1.217 MB / 479.6 MB, free: 54.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001389/0.5224, allocations: 0.5322 MB / 480.2 MB, free: 54.08 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/0.5234, allocations: 0.6713 MB / 480.8 MB, free: 53.43 MB / 378.7 MB Notification: Performance of SimCode: time 1.482e-06/0.5234, allocations: 0 / 480.8 MB, free: 53.43 MB / 378.7 MB Notification: Performance of Templates: time 0.05501/0.5784, allocations: 46.83 MB / 0.5153 GB, free: 7.426 MB / 378.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.119528770912439]