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.0009686/0.0009686, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.9789/0.9789, allocations: 177.1 MB / 200.5 MB, free: 5.535 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.001297/0.001297, allocations: 168.6 kB / 257 MB, free: 13.05 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.02842/0.02842, allocations: 6.655 MB / 320.1 MB, free: 11.71 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_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 9.52e-07/9.52e-07, allocations: 0 / 391.7 MB, free: 4.023 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.418e-05/1.513e-05, allocations: 2.312 kB / 391.7 MB, free: 4.02 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip4): time 0.01877/0.01879, allocations: 24.6 MB / 416.3 MB, free: 11.3 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01288/0.03167, allocations: 7.995 MB / 424.3 MB, free: 3.285 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00311/0.03478, allocations: 207 kB / 424.5 MB, free: 3.082 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00703/0.04181, allocations: 6.433 MB / 430.9 MB, free: 12.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006106/0.04791, allocations: 2.863 MB / 433.8 MB, free: 9.742 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002523/0.05044, allocations: 1.643 MB / 435.4 MB, free: 8.102 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006304/0.05674, allocations: 7.641 MB / 443.1 MB, free: 444 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1457/0.2024, allocations: 9.007 MB / 452.1 MB, free: 117.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007186/0.2096, allocations: 5.699 MB / 457.8 MB, free: 117.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005042/0.2147, allocations: 3.979 MB / 461.8 MB, free: 116.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001831/0.2165, allocations: 1.073 MB / 462.8 MB, free: 116.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001871/0.2184, allocations: 1.456 MB / 464.3 MB, free: 116.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001045/0.2194, allocations: 2.224 MB / 466.5 MB, free: 115.1 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002923/0.2223, allocations: 2.793 MB / 469.3 MB, free: 114 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006057/0.2284, allocations: 7.019 MB / 476.3 MB, free: 110.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2284, allocations: 3.938 kB / 476.3 MB, free: 110.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2284, allocations: 2.469 kB / 476.3 MB, free: 110.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002652/0.2287, allocations: 0 / 476.3 MB, free: 110.9 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.01296/0.2416, allocations: 9.376 MB / 485.7 MB, free: 106 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.2417, allocations: 12.03 kB / 485.7 MB, free: 105.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01391/0.2556, allocations: 5.49 MB / 491.2 MB, free: 100.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004998/0.2606, allocations: 4.441 MB / 495.7 MB, free: 96.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/0.2607, allocations: 485.9 kB / 496.1 MB, free: 95.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005896/0.2613, allocations: 0.6385 MB / 496.8 MB, free: 95.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007338/0.2687, allocations: 5.656 MB / 0.4907 GB, free: 89.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.775e-05/0.2688, allocations: 8.547 kB / 0.4907 GB, free: 89.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004261/0.2692, allocations: 270.9 kB / 0.4909 GB, free: 89.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002074/0.2694, allocations: 420.9 kB / 0.4913 GB, free: 88.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00547/0.2749, allocations: 3.333 MB / 0.4946 GB, free: 85.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02292/0.2978, allocations: 27.44 MB / 0.5214 GB, free: 57.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006479/0.3042, allocations: 6.142 MB / 0.5274 GB, free: 52.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/0.3054, allocations: 1.038 MB / 0.5284 GB, free: 51.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001472/0.3056, allocations: 102.2 kB / 0.5285 GB, free: 51.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.3056, allocations: 71.66 kB / 0.5286 GB, free: 51.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=295): time 4.128e-06/0.3056, allocations: 0 / 0.5286 GB, free: 51.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=301): time 0.01002/0.3157, allocations: 6.404 MB / 0.5348 GB, free: 44.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.3157, allocations: 81.78 kB / 0.5349 GB, free: 44.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002389/0.3181, allocations: 2.566 MB / 0.5374 GB, free: 42.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.3182, allocations: 73.7 kB / 0.5375 GB, free: 41.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009554/0.3191, allocations: 3.13 MB / 0.5405 GB, free: 38.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004375/0.3196, allocations: 1.099 MB / 0.5416 GB, free: 37.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007877/0.3204, allocations: 0.9854 MB / 0.5426 GB, free: 36.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.938e-05/0.3204, allocations: 492.6 kB / 0.543 GB, free: 36.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.3214, allocations: 0.6838 MB / 0.5437 GB, free: 35.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/0.3231, allocations: 3.216 MB / 0.5468 GB, free: 31.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002992/0.3261, allocations: 4.257 MB / 0.551 GB, free: 26.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.826e-05/0.3261, allocations: 16 kB / 0.551 GB, free: 26.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.00488/0.331, allocations: 4.074 MB / 0.555 GB, free: 22.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.603e-05/0.331, allocations: 28 kB / 0.555 GB, free: 22.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.641e-05/0.331, allocations: 56 kB / 0.5551 GB, free: 22.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/0.3322, allocations: 0.6274 MB / 0.5557 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001832/0.334, allocations: 1.072 MB / 0.5567 GB, free: 20.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003772/0.3378, allocations: 4.392 MB / 0.561 GB, free: 16.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.3395, allocations: 271.7 kB / 0.5613 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001971/0.3397, allocations: 232 kB / 0.5615 GB, free: 15.75 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.001137/0.3408, allocations: 469.5 kB / 0.5619 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003939/0.3412, allocations: 410 kB / 0.5623 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003284/0.3445, allocations: 2.736 MB / 0.565 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.3445, allocations: 28 kB / 0.565 GB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.3445, allocations: 8 kB / 0.565 GB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/0.3445, allocations: 19.94 kB / 0.5651 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008398/0.3529, allocations: 7.689 MB / 0.5726 GB, free: 4.426 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.3529, allocations: 4.625 kB / 0.5726 GB, free: 4.422 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.354, allocations: 0.5393 MB / 0.5731 GB, free: 3.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009682/0.3549, allocations: 0.5117 MB / 0.5736 GB, free: 3.395 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/0.355, allocations: 71.97 kB / 0.5737 GB, free: 3.324 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003273/0.3583, allocations: 3.983 MB / 0.5776 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.3583, allocations: 7.281 kB / 0.5776 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00455/0.3629, allocations: 3.355 MB / 0.5808 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009828/0.3638, allocations: 0.5915 MB / 0.5814 GB, free: 11.13 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002692/0.3641, allocations: 56 kB / 0.5815 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008005/0.3649, allocations: 155.9 kB / 0.5816 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002928/0.3652, allocations: 221.8 kB / 0.5818 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/0.3653, allocations: 91.92 kB / 0.5819 GB, free: 10.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001479/0.3668, allocations: 1.249 MB / 0.5831 GB, free: 9.359 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3668, allocations: 0 / 0.5831 GB, free: 9.359 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002834/0.3696, allocations: 1.172 MB / 0.5843 GB, free: 8.188 MB / 426.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.0003685/0.37, allocations: 232 kB / 0.5845 GB, free: 7.984 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003947/0.374, allocations: 3.027 MB / 0.5875 GB, free: 5.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.374, allocations: 0 / 0.5875 GB, free: 5.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00188/0.3758, allocations: 1.49 MB / 0.5889 GB, free: 3.637 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/0.3774, allocations: 0.5902 MB / 0.5895 GB, free: 3.062 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1255/0.5029, allocations: 9.426 MB / 0.5987 GB, free: 156.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001281/0.5042, allocations: 1.632 MB / 0.6003 GB, free: 156.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002171/0.5064, allocations: 1.106 MB / 0.6014 GB, free: 156.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005867/0.507, allocations: 286 kB / 0.6016 GB, free: 156.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.843e-06/0.507, allocations: 0 / 0.6016 GB, free: 156.4 MB / 426.7 MB Notification: Performance of Templates: time 0.049/0.556, allocations: 43.07 MB / 0.6437 GB, free: 125.6 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.439831737894565]