Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.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.001274/0.001274, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.958/0.958, allocations: 177.1 MB / 200.3 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.001594/0.001594, allocations: 160.6 kB / 256.9 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.02339/0.02339, allocations: 6.655 MB / 320.1 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_Slip2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 392.1 MB, free: 2.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.696e-05, allocations: 2.312 kB / 392.1 MB, free: 2.207 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip2): time 0.153/0.153, allocations: 24 MB / 416.1 MB, free: 69.59 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01616/0.1691, allocations: 7.96 MB / 424.1 MB, free: 67.67 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005857/0.175, allocations: 201.8 kB / 424.3 MB, free: 67.61 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009715/0.1847, allocations: 6.313 MB / 430.6 MB, free: 64.35 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00767/0.1924, allocations: 2.831 MB / 433.4 MB, free: 62.16 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003586/0.196, allocations: 1.624 MB / 435.1 MB, free: 60.89 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008409/0.2044, allocations: 7.637 MB / 442.7 MB, free: 56.12 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01182/0.2162, allocations: 9.025 MB / 451.7 MB, free: 46.97 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006353/0.2226, allocations: 5.76 MB / 457.5 MB, free: 41.2 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003508/0.2261, allocations: 4.054 MB / 461.5 MB, free: 37.14 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009816/0.227, allocations: 1.066 MB / 462.6 MB, free: 36.07 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00203/0.2291, allocations: 1.448 MB / 464 MB, free: 34.62 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008693/0.2299, allocations: 2.217 MB / 466.3 MB, free: 32.4 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001802/0.2317, allocations: 2.784 MB / 469 MB, free: 29.61 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005129/0.2369, allocations: 6.988 MB / 476 MB, free: 22.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.2369, allocations: 0 / 476 MB, free: 22.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2369, allocations: 0 / 476 MB, free: 22.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.687e-05/0.237, allocations: 0 / 476 MB, free: 22.61 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.009414/0.2464, allocations: 8.901 MB / 484.9 MB, free: 13.62 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.2464, allocations: 8.031 kB / 484.9 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/0.2575, allocations: 4.302 MB / 489.2 MB, free: 9.305 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003915/0.2614, allocations: 4.179 MB / 493.4 MB, free: 5.066 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/0.2616, allocations: 489.1 kB / 493.9 MB, free: 4.586 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005751/0.2622, allocations: 0.6321 MB / 494.5 MB, free: 3.957 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007414/0.2696, allocations: 5.164 MB / 499.7 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001316/0.2697, allocations: 11.94 kB / 499.7 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006237/0.2703, allocations: 272 kB / 500 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003974/0.2707, allocations: 413.7 kB / 0.4887 GB, free: 14 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003874/0.2746, allocations: 2.615 MB / 0.4912 GB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0263/0.3009, allocations: 27.03 MB / 0.5176 GB, free: 15.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005508/0.3064, allocations: 4.868 MB / 0.5224 GB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009876/0.3074, allocations: 0.9013 MB / 0.5232 GB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001679/0.3076, allocations: 114.2 kB / 0.5233 GB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.3076, allocations: 67.72 kB / 0.5234 GB, free: 10.28 MB / 378.7 MB Notification: Performance of pre-optimization done (n=295): time 4.047e-06/0.3076, allocations: 0 / 0.5234 GB, free: 10.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=301): time 0.008317/0.3159, allocations: 5.232 MB / 0.5285 GB, free: 4.949 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.316, allocations: 81.78 kB / 0.5286 GB, free: 4.855 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002268/0.3182, allocations: 2.521 MB / 0.5311 GB, free: 2.312 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.3184, allocations: 77.7 kB / 0.5311 GB, free: 2.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001332/0.3197, allocations: 3.141 MB / 0.5342 GB, free: 15.05 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005371/0.3202, allocations: 1.112 MB / 0.5353 GB, free: 13.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009105/0.3211, allocations: 1.001 MB / 0.5363 GB, free: 12.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.3212, allocations: 480.5 kB / 0.5367 GB, free: 12.45 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006485/0.3219, allocations: 0.5282 MB / 0.5372 GB, free: 11.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002009/0.3239, allocations: 3.071 MB / 0.5402 GB, free: 7.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002997/0.3269, allocations: 3.992 MB / 0.5441 GB, free: 2.672 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.829e-05/0.3269, allocations: 16 kB / 0.5442 GB, free: 2.656 MB / 394.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.1328/0.4598, allocations: 3.687 MB / 0.5478 GB, free: 93.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.091e-05/0.4598, allocations: 28.66 kB / 0.5478 GB, free: 93.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.115e-05/0.4599, allocations: 55.8 kB / 0.5478 GB, free: 93.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001361/0.4612, allocations: 0.5991 MB / 0.5484 GB, free: 93.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002271/0.4635, allocations: 0.9955 MB / 0.5494 GB, free: 93.28 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003752/0.4673, allocations: 4.193 MB / 0.5535 GB, free: 91.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002025/0.4693, allocations: 174 kB / 0.5537 GB, free: 91.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002301/0.4695, allocations: 196.2 kB / 0.5538 GB, free: 91.3 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.001254/0.4708, allocations: 463.7 kB / 0.5543 GB, free: 91.14 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004508/0.4712, allocations: 405.5 kB / 0.5547 GB, free: 91.14 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002907/0.4741, allocations: 2.499 MB / 0.5571 GB, free: 90.92 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.15e-05/0.4741, allocations: 31.03 kB / 0.5571 GB, free: 90.92 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.4742, allocations: 11.91 kB / 0.5571 GB, free: 90.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/0.4742, allocations: 17.86 kB / 0.5572 GB, free: 90.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008089/0.4823, allocations: 6.137 MB / 0.5632 GB, free: 90.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.4823, allocations: 7.781 kB / 0.5632 GB, free: 90.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009491/0.4832, allocations: 493.3 kB / 0.5636 GB, free: 90.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008854/0.4841, allocations: 0.5034 MB / 0.5641 GB, free: 90.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001322/0.4842, allocations: 70.33 kB / 0.5642 GB, free: 90.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002717/0.487, allocations: 3.829 MB / 0.5679 GB, free: 88.17 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.487, allocations: 10.59 kB / 0.5679 GB, free: 88.17 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003008/0.49, allocations: 2.993 MB / 0.5709 GB, free: 87.31 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006415/0.4906, allocations: 0.5342 MB / 0.5714 GB, free: 87.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002208/0.4908, allocations: 61.47 kB / 0.5714 GB, free: 87.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006622/0.4915, allocations: 74.31 kB / 0.5715 GB, free: 87.14 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002169/0.4917, allocations: 215.5 kB / 0.5717 GB, free: 87.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.4918, allocations: 81.3 kB / 0.5718 GB, free: 87.14 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009135/0.4927, allocations: 1.136 MB / 0.5729 GB, free: 86.95 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4927, allocations: 0 / 0.5729 GB, free: 86.95 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002567/0.4953, allocations: 1.171 MB / 0.5741 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.0003228/0.4956, allocations: 230.3 kB / 0.5743 GB, free: 86.85 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002969/0.4986, allocations: 2.733 MB / 0.5769 GB, free: 86.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.4986, allocations: 4.5 kB / 0.5769 GB, free: 86.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001245/0.4998, allocations: 1.35 MB / 0.5783 GB, free: 86.21 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.5012, allocations: 0.6058 MB / 0.5789 GB, free: 86.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009659/0.5109, allocations: 9.331 MB / 0.588 GB, free: 79.24 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.5119, allocations: 1.635 MB / 0.5896 GB, free: 78.34 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001164/0.5131, allocations: 0.5333 MB / 0.5901 GB, free: 77.92 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/0.5141, allocations: 0.7416 MB / 0.5908 GB, free: 77.26 MB / 394.7 MB Notification: Performance of SimCode: time 7.91e-07/0.5141, allocations: 0 / 0.5908 GB, free: 77.26 MB / 394.7 MB Notification: Performance of Templates: time 0.06086/0.575, allocations: 46.61 MB / 0.6363 GB, free: 31.98 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.353219366166741]