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.0006972/0.0006972, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008484/0.001546, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.9316/0.9316, allocations: 177.2 MB / 188.2 MB, free: 4.496 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1654/1.097, allocations: 53.64 MB / 241.9 MB, free: 2.73 MB / 234.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.001021/0.001021, allocations: 151.4 kB / 242.8 MB, free: 1.871 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001042/0.002063, allocations: 482.6 kB / 243.2 MB, free: 1.418 MB / 234.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.02366/0.02366, allocations: 6.649 MB / 250.6 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004366/0.02803, allocations: 2.666 MB / 253.3 MB, free: 7.555 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 1.253e-06/1.253e-06, allocations: 0 / 254.6 MB, free: 6.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.458e-06/1.071e-05, allocations: 4.844 kB / 254.6 MB, free: 6.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip4): time 0.01849/0.0185, allocations: 24.22 MB / 278.8 MB, free: 13.91 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01637/0.03487, allocations: 8.408 MB / 287.2 MB, free: 5.465 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003318/0.03819, allocations: 203 kB / 287.4 MB, free: 5.266 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007002/0.04519, allocations: 6.46 MB / 293.9 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005635/0.05083, allocations: 2.824 MB / 296.7 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002423/0.05325, allocations: 1.639 MB / 298.4 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00688/0.06013, allocations: 7.673 MB / 306 MB, free: 2.598 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009517/0.06965, allocations: 9.044 MB / 315.1 MB, free: 9.383 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006346/0.076, allocations: 6.018 MB / 321.1 MB, free: 3.344 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1528/0.2288, allocations: 4.084 MB / 325.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003929/0.2327, allocations: 1.065 MB / 326.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004112/0.2368, allocations: 1.461 MB / 327.7 MB, free: 17.3 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00228/0.2391, allocations: 1.771 MB / 329.5 MB, free: 17.3 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005607/0.2447, allocations: 2.335 MB / 331.8 MB, free: 17.3 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008973/0.2537, allocations: 6.598 MB / 338.4 MB, free: 16.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.625e-05/0.2537, allocations: 2.672 kB / 338.4 MB, free: 16.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2537, allocations: 0 / 338.4 MB, free: 16.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004065/0.2541, allocations: 0.8125 kB / 338.4 MB, free: 16.84 MB / 314.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.02018/0.2743, allocations: 9.826 MB / 348.2 MB, free: 14.31 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.2743, allocations: 8.875 kB / 348.2 MB, free: 14.31 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01297/0.2873, allocations: 4.546 MB / 352.8 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00611/0.2934, allocations: 2.526 MB / 355.3 MB, free: 12.97 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002708/0.2937, allocations: 486.6 kB / 355.8 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001739/0.2954, allocations: 0.6293 MB / 356.4 MB, free: 12.28 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01045/0.3059, allocations: 5.273 MB / 361.7 MB, free: 9.445 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001644/0.306, allocations: 15.39 kB / 361.7 MB, free: 9.438 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008852/0.3069, allocations: 261.8 kB / 362 MB, free: 9.387 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002739/0.3072, allocations: 419.2 kB / 362.4 MB, free: 9.047 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005706/0.3129, allocations: 2.74 MB / 365.1 MB, free: 6.598 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03407/0.347, allocations: 21.11 MB / 386.2 MB, free: 2.078 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007176/0.3542, allocations: 4.052 MB / 390.3 MB, free: 14.15 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/0.3554, allocations: 0.7937 MB / 391.1 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002305/0.3557, allocations: 106.2 kB / 391.2 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.896e-05/0.3557, allocations: 64.55 kB / 391.2 MB, free: 13.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=295): time 6.332e-06/0.3557, allocations: 0 / 391.2 MB, free: 13.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=301): time 0.01073/0.3665, allocations: 4.636 MB / 395.9 MB, free: 8.551 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.3665, allocations: 81.78 kB / 395.9 MB, free: 8.457 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002297/0.3688, allocations: 1.957 MB / 397.9 MB, free: 6.863 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001661/0.369, allocations: 77.69 kB / 398 MB, free: 6.781 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001345/0.3703, allocations: 2.74 MB / 400.7 MB, free: 4.145 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006912/0.371, allocations: 1.067 MB / 401.8 MB, free: 3.137 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001311/0.3723, allocations: 0.8403 MB / 402.6 MB, free: 2.375 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.733e-05/0.3724, allocations: 301.1 kB / 402.9 MB, free: 2.078 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.3734, allocations: 0.5777 MB / 403.5 MB, free: 1.492 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001706/0.3751, allocations: 2.192 MB / 405.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003501/0.3786, allocations: 3.2 MB / 408.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.164e-05/0.3786, allocations: 16 kB / 408.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.004758/0.3834, allocations: 2.984 MB / 411.9 MB, free: 8.332 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.514e-05/0.3834, allocations: 28 kB / 411.9 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.295e-05/0.3835, allocations: 56 kB / 412 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001404/0.3849, allocations: 0.569 MB / 412.5 MB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002991/0.3879, allocations: 1.138 MB / 413.7 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00385/0.3917, allocations: 3.225 MB / 416.9 MB, free: 3.406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002083/0.3938, allocations: 183.8 kB / 417.1 MB, free: 3.227 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003054/0.3941, allocations: 184 kB / 417.3 MB, free: 3.047 MB / 362.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.001563/0.3957, allocations: 421.4 kB / 417.7 MB, free: 2.699 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005448/0.3962, allocations: 279.7 kB / 418 MB, free: 2.426 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00271/0.3989, allocations: 2.082 MB / 420 MB, free: 384 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.399, allocations: 32 kB / 420.1 MB, free: 352 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.399, allocations: 4 kB / 420.1 MB, free: 348 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/0.399, allocations: 15.94 kB / 420.1 MB, free: 332 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007938/0.4069, allocations: 5.058 MB / 425.1 MB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.4069, allocations: 4 kB / 425.1 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/0.4082, allocations: 0.5473 MB / 425.7 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/0.4092, allocations: 377.8 kB / 426.1 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001032/0.4102, allocations: 482.1 kB / 426.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001276/0.4103, allocations: 63.98 kB / 426.6 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00294/0.4133, allocations: 2.914 MB / 429.5 MB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.4133, allocations: 8 kB / 429.5 MB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003455/0.4167, allocations: 2.475 MB / 432 MB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005217/0.4173, allocations: 59.98 kB / 432.1 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008764/0.4181, allocations: 79.97 kB / 432.1 MB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002707/0.4184, allocations: 217 kB / 432.3 MB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.4185, allocations: 63.97 kB / 432.4 MB, free: 4.324 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001093/0.4196, allocations: 0.8851 MB / 433.3 MB, free: 3.531 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4196, allocations: 0 / 433.3 MB, free: 3.531 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003101/0.4227, allocations: 1.164 MB / 434.5 MB, free: 2.367 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.0004145/0.4231, allocations: 222.8 kB / 434.7 MB, free: 2.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003342/0.4265, allocations: 2.376 MB / 437 MB, free: 0 / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001494/0.4266, allocations: 84.67 kB / 437.1 MB, free: 15.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001382/0.428, allocations: 1.186 MB / 438.3 MB, free: 14.81 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002178/0.4302, allocations: 0.8585 MB / 439.2 MB, free: 13.96 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04054/0.4707, allocations: 9.443 MB / 448.6 MB, free: 4.453 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001571/0.4723, allocations: 1.216 MB / 449.8 MB, free: 3.207 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00199/0.4743, allocations: 0.5322 MB / 450.4 MB, free: 2.672 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00118/0.4755, allocations: 0.6631 MB / 451 MB, free: 2.004 MB / 394.7 MB Notification: Performance of SimCode: time 1.773e-06/0.4755, allocations: 0 / 451 MB, free: 2.004 MB / 394.7 MB Notification: Performance of Templates: time 0.2055/0.6809, allocations: 48.26 MB / 499.3 MB, free: 113.9 MB / 426.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.06188883818686]