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.000992/0.000992, allocations: 77.95 kB / 20.66 MB, free: 3.832 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.991/0.991, allocations: 177.2 MB / 201 MB, free: 5.699 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.001211/0.001211, allocations: 160.6 kB / 257.7 MB, free: 12.98 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.02491/0.02491, allocations: 6.659 MB / 320.9 MB, free: 26.34 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 1.352e-06/1.352e-06, allocations: 0 / 392.9 MB, free: 2.215 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.718e-05/1.853e-05, allocations: 10.05 kB / 392.9 MB, free: 2.207 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.1318/0.1318, allocations: 24 MB / 416.9 MB, free: 69.6 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01212/0.1439, allocations: 7.961 MB / 424.9 MB, free: 67.68 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003866/0.1478, allocations: 200.8 kB / 425.1 MB, free: 67.62 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007569/0.1554, allocations: 6.309 MB / 431.4 MB, free: 64.36 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006321/0.1617, allocations: 2.839 MB / 434.2 MB, free: 62.16 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002931/0.1646, allocations: 1.618 MB / 435.8 MB, free: 60.9 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006844/0.1715, allocations: 7.64 MB / 443.5 MB, free: 56.12 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008344/0.1798, allocations: 9.025 MB / 452.5 MB, free: 46.97 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005391/0.1852, allocations: 5.756 MB / 458.3 MB, free: 41.2 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004012/0.1892, allocations: 4.058 MB / 462.3 MB, free: 37.14 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001616/0.1908, allocations: 1.062 MB / 463.4 MB, free: 36.07 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00208/0.1929, allocations: 1.448 MB / 464.8 MB, free: 34.62 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009244/0.1938, allocations: 2.217 MB / 467.1 MB, free: 32.4 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002714/0.1965, allocations: 2.787 MB / 469.8 MB, free: 29.61 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006287/0.2028, allocations: 6.988 MB / 476.8 MB, free: 22.6 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2028, allocations: 0 / 476.8 MB, free: 22.6 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2028, allocations: 4 kB / 476.8 MB, free: 22.6 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001947/0.203, allocations: 0 / 476.8 MB, free: 22.6 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.0113/0.2143, allocations: 8.885 MB / 485.7 MB, free: 13.63 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.2144, allocations: 12.03 kB / 485.7 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01206/0.2264, allocations: 4.302 MB / 490 MB, free: 9.309 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005168/0.2316, allocations: 4.187 MB / 494.2 MB, free: 5.062 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000239/0.2318, allocations: 493 kB / 494.7 MB, free: 4.578 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001437/0.2333, allocations: 0.621 MB / 495.3 MB, free: 3.957 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008882/0.2422, allocations: 5.171 MB / 0.4888 GB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001325/0.2423, allocations: 15.92 kB / 0.4888 GB, free: 14.67 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004949/0.2428, allocations: 264 kB / 0.489 GB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002821/0.2431, allocations: 417.7 kB / 0.4894 GB, free: 14 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005286/0.2484, allocations: 2.611 MB / 0.492 GB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03817/0.2865, allocations: 27 MB / 0.5183 GB, free: 15.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008154/0.2947, allocations: 4.864 MB / 0.5231 GB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001455/0.2961, allocations: 0.9013 MB / 0.524 GB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002061/0.2963, allocations: 94.25 kB / 0.5241 GB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.303e-05/0.2964, allocations: 67.72 kB / 0.5241 GB, free: 10.33 MB / 378.7 MB Notification: Performance of pre-optimization done (n=295): time 5.651e-06/0.2964, allocations: 0 / 0.5241 GB, free: 10.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=301): time 0.01145/0.3078, allocations: 5.232 MB / 0.5292 GB, free: 5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.3079, allocations: 85.78 kB / 0.5293 GB, free: 4.902 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00316/0.3111, allocations: 2.521 MB / 0.5318 GB, free: 2.359 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001382/0.3112, allocations: 73.69 kB / 0.5319 GB, free: 2.281 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001934/0.3131, allocations: 3.141 MB / 0.5349 GB, free: 15.1 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001022/0.3142, allocations: 1.108 MB / 0.536 GB, free: 13.98 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001233/0.3154, allocations: 1.001 MB / 0.537 GB, free: 12.97 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.3155, allocations: 480.5 kB / 0.5374 GB, free: 12.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009238/0.3164, allocations: 0.5282 MB / 0.538 GB, free: 11.96 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002338/0.3188, allocations: 3.075 MB / 0.541 GB, free: 7.801 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004234/0.323, allocations: 4 MB / 0.5449 GB, free: 2.715 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.414e-05/0.323, allocations: 16 kB / 0.5449 GB, free: 2.699 MB / 394.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.141/0.4641, allocations: 3.683 MB / 0.5485 GB, free: 93.29 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.253e-05/0.4641, allocations: 29.72 kB / 0.5485 GB, free: 93.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.424e-05/0.4642, allocations: 55.47 kB / 0.5486 GB, free: 93.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/0.4656, allocations: 0.5959 MB / 0.5491 GB, free: 93.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002518/0.4682, allocations: 0.9974 MB / 0.5501 GB, free: 93.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003626/0.4718, allocations: 4.188 MB / 0.5542 GB, free: 91.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002434/0.4742, allocations: 167.9 kB / 0.5544 GB, free: 91.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004508/0.4747, allocations: 197.4 kB / 0.5546 GB, free: 91.29 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.00148/0.4761, allocations: 463.5 kB / 0.555 GB, free: 91.13 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005878/0.4767, allocations: 412 kB / 0.5554 GB, free: 91.13 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003167/0.4799, allocations: 2.489 MB / 0.5578 GB, free: 90.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.869e-05/0.4799, allocations: 37.12 kB / 0.5579 GB, free: 90.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.4799, allocations: 10.25 kB / 0.5579 GB, free: 90.9 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/0.48, allocations: 14.3 kB / 0.5579 GB, free: 90.9 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009098/0.4891, allocations: 6.151 MB / 0.5639 GB, free: 90.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.4891, allocations: 3.719 kB / 0.5639 GB, free: 90.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009807/0.49, allocations: 489.8 kB / 0.5644 GB, free: 90.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009512/0.491, allocations: 0.501 MB / 0.5648 GB, free: 90.17 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001446/0.4911, allocations: 70.06 kB / 0.5649 GB, free: 90.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003005/0.4941, allocations: 3.824 MB / 0.5686 GB, free: 88.17 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.4941, allocations: 9.812 kB / 0.5687 GB, free: 88.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003679/0.4978, allocations: 2.989 MB / 0.5716 GB, free: 87.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009302/0.4988, allocations: 0.5335 MB / 0.5721 GB, free: 87.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002819/0.499, allocations: 62.53 kB / 0.5722 GB, free: 87.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007183/0.4998, allocations: 79.08 kB / 0.5722 GB, free: 87.14 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002751/0.5, allocations: 220.8 kB / 0.5724 GB, free: 87.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.5001, allocations: 73.61 kB / 0.5725 GB, free: 87.13 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001232/0.5014, allocations: 1.139 MB / 0.5736 GB, free: 86.94 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.5014, allocations: 0 / 0.5736 GB, free: 86.94 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003235/0.5046, allocations: 1.17 MB / 0.5748 GB, free: 86.94 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.0003948/0.505, allocations: 232.7 kB / 0.575 GB, free: 86.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003564/0.5086, allocations: 2.725 MB / 0.5776 GB, free: 86.46 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.5086, allocations: 3.656 kB / 0.5776 GB, free: 86.46 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001548/0.5101, allocations: 1.364 MB / 0.579 GB, free: 86.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/0.512, allocations: 0.6067 MB / 0.5796 GB, free: 86.15 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/0.5247, allocations: 9.329 MB / 0.5887 GB, free: 79.33 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/0.5259, allocations: 1.632 MB / 0.5903 GB, free: 78.37 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001612/0.5275, allocations: 0.5366 MB / 0.5908 GB, free: 77.95 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001088/0.5286, allocations: 0.7348 MB / 0.5915 GB, free: 77.3 MB / 394.7 MB Notification: Performance of SimCode: time 1.743e-06/0.5286, allocations: 0 / 0.5915 GB, free: 77.3 MB / 394.7 MB Notification: Performance of Templates: time 0.06219/0.5908, allocations: 47.46 MB / 0.6379 GB, free: 31.15 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.529304155148566]