Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.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.0009302/0.0009302, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.9522/0.9522, allocations: 177.1 MB / 200.3 MB, free: 5.352 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.001163/0.001163, allocations: 155.7 kB / 256.9 MB, free: 12.81 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.06072/0.06072, allocations: 6.661 MB / 320.1 MB, free: 11.45 MB / 298.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_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 392.1 MB, free: 3.324 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.221e-05, allocations: 2.312 kB / 392.1 MB, free: 3.32 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.01843/0.01845, allocations: 23.98 MB / 416.1 MB, free: 11.23 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01382/0.03227, allocations: 7.967 MB / 424.1 MB, free: 3.242 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004149/0.03642, allocations: 199.1 kB / 424.3 MB, free: 3.047 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00808/0.0445, allocations: 6.311 MB / 430.6 MB, free: 12.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006757/0.05126, allocations: 2.835 MB / 433.4 MB, free: 9.855 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003394/0.05465, allocations: 1.624 MB / 435 MB, free: 8.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.008151/0.0628, allocations: 7.646 MB / 442.7 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1482/0.211, allocations: 9.008 MB / 451.7 MB, free: 118.1 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01004/0.221, allocations: 5.754 MB / 457.4 MB, free: 117.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007242/0.2282, allocations: 4.063 MB / 461.5 MB, free: 116.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002778/0.231, allocations: 1.065 MB / 462.6 MB, free: 116.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00427/0.2353, allocations: 1.454 MB / 464 MB, free: 116.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002365/0.2376, allocations: 2.222 MB / 466.2 MB, free: 115.7 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005531/0.2432, allocations: 2.781 MB / 469 MB, free: 114.6 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00871/0.2519, allocations: 6.986 MB / 476 MB, free: 111.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.2519, allocations: 3.797 kB / 476 MB, free: 111.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2519, allocations: 0 / 476 MB, free: 111.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003886/0.2523, allocations: 0 / 476 MB, free: 111.6 MB / 410.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.01685/0.2691, allocations: 8.881 MB / 484.9 MB, free: 106.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.2692, allocations: 13.09 kB / 484.9 MB, free: 106.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01335/0.2825, allocations: 4.307 MB / 489.2 MB, free: 102.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007029/0.2896, allocations: 4.182 MB / 493.4 MB, free: 98.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003278/0.2899, allocations: 482.2 kB / 493.9 MB, free: 97.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001405/0.2913, allocations: 0.6334 MB / 494.5 MB, free: 97.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01097/0.3023, allocations: 5.168 MB / 499.7 MB, free: 92.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001548/0.3024, allocations: 15.06 kB / 499.7 MB, free: 92.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005878/0.303, allocations: 267 kB / 499.9 MB, free: 92.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003039/0.3033, allocations: 417.7 kB / 0.4886 GB, free: 91.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006922/0.3103, allocations: 2.606 MB / 0.4912 GB, free: 89.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03511/0.3454, allocations: 27.04 MB / 0.5176 GB, free: 62.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007105/0.3525, allocations: 4.853 MB / 0.5223 GB, free: 58.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001457/0.3539, allocations: 0.8939 MB / 0.5232 GB, free: 57.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002019/0.3541, allocations: 115.2 kB / 0.5233 GB, free: 57.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.3542, allocations: 71.66 kB / 0.5234 GB, free: 57.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=295): time 4.368e-06/0.3542, allocations: 0 / 0.5234 GB, free: 57.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=301): time 0.008457/0.3626, allocations: 5.243 MB / 0.5285 GB, free: 52.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.3627, allocations: 85.78 kB / 0.5286 GB, free: 52.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002039/0.3647, allocations: 2.517 MB / 0.531 GB, free: 50.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.3648, allocations: 69.7 kB / 0.5311 GB, free: 49.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009629/0.3658, allocations: 3.15 MB / 0.5342 GB, free: 46.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004282/0.3662, allocations: 1.108 MB / 0.5352 GB, free: 45.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00085/0.367, allocations: 0.9973 MB / 0.5362 GB, free: 44.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.057e-05/0.3671, allocations: 488.2 kB / 0.5367 GB, free: 44.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000661/0.3678, allocations: 0.5242 MB / 0.5372 GB, free: 43.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001321/0.3691, allocations: 3.074 MB / 0.5402 GB, free: 39.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002414/0.3715, allocations: 3.998 MB / 0.5441 GB, free: 35.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.876e-05/0.3715, allocations: 15.47 kB / 0.5441 GB, free: 35.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.003995/0.3755, allocations: 3.692 MB / 0.5477 GB, free: 31.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.3755, allocations: 31.98 kB / 0.5478 GB, free: 31.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.293e-05/0.3756, allocations: 56 kB / 0.5478 GB, free: 31.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/0.3766, allocations: 0.6006 MB / 0.5484 GB, free: 31.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/0.3783, allocations: 0.9902 MB / 0.5494 GB, free: 30.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003258/0.3816, allocations: 4.202 MB / 0.5535 GB, free: 25.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.3831, allocations: 183.2 kB / 0.5536 GB, free: 25.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002259/0.3834, allocations: 196 kB / 0.5538 GB, free: 25.59 MB / 410.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.001253/0.3846, allocations: 462.5 kB / 0.5543 GB, free: 25.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004013/0.385, allocations: 410 kB / 0.5547 GB, free: 24.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002659/0.3877, allocations: 2.493 MB / 0.5571 GB, free: 22.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.3877, allocations: 32 kB / 0.5571 GB, free: 22.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3877, allocations: 4 kB / 0.5571 GB, free: 22.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/0.3877, allocations: 15.94 kB / 0.5571 GB, free: 22.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006843/0.3946, allocations: 6.144 MB / 0.5631 GB, free: 16.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.3946, allocations: 4 kB / 0.5631 GB, free: 16.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009362/0.3955, allocations: 492.5 kB / 0.5636 GB, free: 16.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008345/0.3963, allocations: 0.5015 MB / 0.5641 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/0.3965, allocations: 67.98 kB / 0.5642 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002538/0.399, allocations: 3.825 MB / 0.5679 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.399, allocations: 11.38 kB / 0.5679 GB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002859/0.4019, allocations: 2.986 MB / 0.5708 GB, free: 8.512 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006358/0.4025, allocations: 0.5445 MB / 0.5714 GB, free: 7.969 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/0.4027, allocations: 63.98 kB / 0.5714 GB, free: 7.906 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006464/0.4033, allocations: 68 kB / 0.5715 GB, free: 7.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002098/0.4036, allocations: 225.3 kB / 0.5717 GB, free: 7.621 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.331e-05/0.4037, allocations: 71.97 kB / 0.5718 GB, free: 7.551 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008243/0.4045, allocations: 1.129 MB / 0.5729 GB, free: 6.516 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4045, allocations: 0 / 0.5729 GB, free: 6.516 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002452/0.4069, allocations: 1.168 MB / 0.574 GB, free: 5.348 MB / 410.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.0003331/0.4073, allocations: 242.2 kB / 0.5742 GB, free: 5.137 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002721/0.41, allocations: 2.723 MB / 0.5769 GB, free: 2.605 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.41, allocations: 4 kB / 0.5769 GB, free: 2.602 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.4112, allocations: 1.367 MB / 0.5782 GB, free: 1.305 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.4125, allocations: 0.6056 MB / 0.5788 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.137/0.5496, allocations: 9.335 MB / 0.5879 GB, free: 102.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001237/0.5508, allocations: 1.634 MB / 0.5895 GB, free: 102.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001524/0.5523, allocations: 0.5259 MB / 0.5901 GB, free: 102.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001213/0.5535, allocations: 0.7355 MB / 0.5908 GB, free: 102.2 MB / 410.7 MB Notification: Performance of SimCode: time 2.004e-06/0.5535, allocations: 0 / 0.5908 GB, free: 102.2 MB / 410.7 MB Notification: Performance of Templates: time 0.0624/0.6159, allocations: 46.59 MB / 0.6363 GB, free: 77.1 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.42992145800963]