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.001413/0.001413, allocations: 80.88 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.9958/0.9958, allocations: 177.2 MB / 200.3 MB, free: 5.672 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.001417/0.001417, allocations: 152.6 kB / 257 MB, free: 12.96 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.02525/0.02525, allocations: 6.657 MB / 266.9 MB, free: 3.219 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.104e-06/2.104e-06, allocations: 0 / 285.7 MB, free: 408 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.926e-05/3.136e-05, allocations: 2.312 kB / 285.7 MB, free: 404 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip4): time 0.1245/0.1245, allocations: 24.04 MB / 309.8 MB, free: 6.422 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01476/0.1393, allocations: 8.347 MB / 318.1 MB, free: 14.12 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005145/0.1444, allocations: 207 kB / 318.3 MB, free: 13.92 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00885/0.1533, allocations: 6.452 MB / 324.8 MB, free: 7.465 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007607/0.1609, allocations: 2.837 MB / 327.6 MB, free: 4.617 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004032/0.1649, allocations: 1.638 MB / 329.3 MB, free: 2.984 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.009597/0.1745, allocations: 7.653 MB / 336.9 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01359/0.1881, allocations: 9.287 MB / 346.2 MB, free: 1.848 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00994/0.1981, allocations: 5.776 MB / 352 MB, free: 12.06 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006659/0.2047, allocations: 4.093 MB / 356.1 MB, free: 7.957 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002581/0.2073, allocations: 1.066 MB / 357.1 MB, free: 6.891 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003912/0.2112, allocations: 1.456 MB / 358.6 MB, free: 5.434 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002049/0.2133, allocations: 2.217 MB / 360.8 MB, free: 3.211 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005012/0.2183, allocations: 2.787 MB / 363.6 MB, free: 428 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008994/0.2273, allocations: 6.98 MB / 370.6 MB, free: 9.418 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.2273, allocations: 0 / 370.6 MB, free: 9.418 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2273, allocations: 3.938 kB / 370.6 MB, free: 9.414 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002718/0.2276, allocations: 4 kB / 370.6 MB, free: 9.41 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.01421/0.2418, allocations: 8.41 MB / 379 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.2418, allocations: 12.03 kB / 379 MB, free: 0.918 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01282/0.2546, allocations: 4.543 MB / 383.5 MB, free: 12.37 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00533/0.26, allocations: 2.529 MB / 386.1 MB, free: 9.781 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003008/0.2603, allocations: 489 kB / 386.5 MB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001128/0.2614, allocations: 0.6249 MB / 387.2 MB, free: 8.676 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00785/0.2692, allocations: 5.273 MB / 392.4 MB, free: 3.305 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001216/0.2694, allocations: 15.88 kB / 392.5 MB, free: 3.289 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004741/0.2698, allocations: 264 kB / 392.7 MB, free: 3.031 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002845/0.2701, allocations: 417.6 kB / 393.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006202/0.2763, allocations: 2.736 MB / 395.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02266/0.299, allocations: 21.01 MB / 416.9 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005123/0.3041, allocations: 4.054 MB / 420.9 MB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009338/0.305, allocations: 0.7933 MB / 421.7 MB, free: 5.176 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001935/0.3052, allocations: 110.2 kB / 421.8 MB, free: 5.066 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.466e-05/0.3053, allocations: 56.89 kB / 421.9 MB, free: 5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=295): time 5.891e-06/0.3053, allocations: 0 / 421.9 MB, free: 5 MB / 378.7 MB Notification: Performance of matching and sorting (n=301): time 0.008572/0.3139, allocations: 4.628 MB / 426.5 MB, free: 296 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.3139, allocations: 81.78 kB / 426.6 MB, free: 200 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1618/0.4757, allocations: 1.959 MB / 428.6 MB, free: 81.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006009/0.4763, allocations: 74.97 kB / 428.6 MB, free: 81.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001789/0.4781, allocations: 2.731 MB / 431.4 MB, free: 80.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001205/0.4793, allocations: 1.077 MB / 432.4 MB, free: 79.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0016/0.4809, allocations: 0.8415 MB / 433.3 MB, free: 79.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.492e-05/0.4809, allocations: 304.8 kB / 433.6 MB, free: 78.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001681/0.4826, allocations: 0.5791 MB / 434.1 MB, free: 78.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002355/0.4849, allocations: 2.188 MB / 436.3 MB, free: 76.85 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004305/0.4892, allocations: 3.199 MB / 439.5 MB, free: 74.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.412e-05/0.4893, allocations: 14.94 kB / 439.6 MB, free: 74.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.005129/0.4945, allocations: 2.981 MB / 442.5 MB, free: 74.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.602e-05/0.4945, allocations: 28.34 kB / 442.6 MB, free: 74.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.729e-05/0.4945, allocations: 60.34 kB / 442.6 MB, free: 74.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.4957, allocations: 0.5672 MB / 443.2 MB, free: 74.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001979/0.4976, allocations: 1.039 MB / 444.2 MB, free: 74.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003251/0.5009, allocations: 3.232 MB / 447.5 MB, free: 73.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0021/0.503, allocations: 174 kB / 447.6 MB, free: 73.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000218/0.5032, allocations: 183.9 kB / 447.8 MB, free: 73.21 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.001323/0.5045, allocations: 424.1 kB / 448.2 MB, free: 73.06 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004272/0.505, allocations: 280.9 kB / 448.5 MB, free: 73.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002475/0.5074, allocations: 2.08 MB / 450.6 MB, free: 72.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.5075, allocations: 30.91 kB / 450.6 MB, free: 72.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.5075, allocations: 7.438 kB / 450.6 MB, free: 72.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/0.5075, allocations: 19.98 kB / 450.6 MB, free: 72.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006556/0.514, allocations: 5.056 MB / 455.7 MB, free: 72.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.198e-06/0.514, allocations: 5.781 kB / 455.7 MB, free: 72.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.5151, allocations: 0.5033 MB / 456.2 MB, free: 72.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008549/0.5159, allocations: 477.2 kB / 456.7 MB, free: 72.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001346/0.5161, allocations: 63.91 kB / 456.7 MB, free: 72.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00263/0.5187, allocations: 2.913 MB / 459.6 MB, free: 70.67 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.5187, allocations: 7.219 kB / 459.6 MB, free: 70.67 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002935/0.5216, allocations: 2.478 MB / 462.1 MB, free: 69.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008512/0.5225, allocations: 390.6 kB / 462.5 MB, free: 69.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004394/0.5229, allocations: 61.12 kB / 462.6 MB, free: 69.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007746/0.5237, allocations: 78.45 kB / 462.6 MB, free: 69.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000263/0.524, allocations: 217.2 kB / 462.9 MB, free: 69.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.5241, allocations: 69.08 kB / 462.9 MB, free: 69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009391/0.525, allocations: 0.8865 MB / 463.8 MB, free: 68.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 3e-07/0.525, allocations: 0 / 463.8 MB, free: 68.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003267/0.5283, allocations: 1.162 MB / 465 MB, free: 67.37 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.0003893/0.5287, allocations: 223.5 kB / 465.2 MB, free: 67.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003589/0.5323, allocations: 2.378 MB / 467.6 MB, free: 65.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.839e-05/0.5324, allocations: 57.81 kB / 467.6 MB, free: 65.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001389/0.5337, allocations: 1.182 MB / 468.8 MB, free: 64.56 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00193/0.5357, allocations: 0.5997 MB / 469.4 MB, free: 64.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.5461, allocations: 9.194 MB / 478.6 MB, free: 56.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000987/0.5471, allocations: 1.213 MB / 479.8 MB, free: 55.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001429/0.5485, allocations: 0.5385 MB / 480.3 MB, free: 55.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/0.5496, allocations: 0.6649 MB / 481 MB, free: 54.47 MB / 378.7 MB Notification: Performance of SimCode: time 2.444e-06/0.5496, allocations: 4 kB / 481 MB, free: 54.47 MB / 378.7 MB Notification: Performance of Templates: time 0.05427/0.6039, allocations: 46.89 MB / 0.5155 GB, free: 8.531 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.042353658005595]