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.001372/0.001372, 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.9654/0.9654, allocations: 177.2 MB / 200.5 MB, free: 5.543 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.001207/0.001207, allocations: 168.6 kB / 257 MB, free: 13.04 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.0247/0.0247, allocations: 6.65 MB / 320.1 MB, free: 26.59 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.383e-06/1.383e-06, allocations: 3.938 kB / 391.7 MB, free: 2.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.534e-05/1.672e-05, allocations: 5.828 kB / 391.7 MB, free: 2.906 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.1391/0.1391, allocations: 24.59 MB / 416.3 MB, free: 69.06 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01312/0.1522, allocations: 7.989 MB / 424.3 MB, free: 67.26 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003171/0.1554, allocations: 205.8 kB / 424.5 MB, free: 67.2 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006435/0.1618, allocations: 6.441 MB / 430.9 MB, free: 64.12 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005005/0.1668, allocations: 2.856 MB / 433.8 MB, free: 61.98 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002106/0.1689, allocations: 1.657 MB / 435.5 MB, free: 60.71 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004534/0.1734, allocations: 7.617 MB / 443.1 MB, free: 55.95 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007353/0.1808, allocations: 9.032 MB / 452.1 MB, free: 46.95 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003874/0.1847, allocations: 5.698 MB / 457.8 MB, free: 41.24 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002727/0.1874, allocations: 3.976 MB / 461.8 MB, free: 37.26 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006843/0.1881, allocations: 1.07 MB / 462.8 MB, free: 36.19 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001456/0.1895, allocations: 1.456 MB / 464.3 MB, free: 34.73 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00088/0.1904, allocations: 2.225 MB / 466.5 MB, free: 32.5 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001764/0.1922, allocations: 2.791 MB / 469.3 MB, free: 29.7 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004467/0.1966, allocations: 7.015 MB / 476.3 MB, free: 22.67 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1967, allocations: 0 / 476.3 MB, free: 22.67 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1967, allocations: 0 / 476.3 MB, free: 22.67 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.095e-05/0.1967, allocations: 0 / 476.3 MB, free: 22.67 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.01127/0.208, allocations: 9.397 MB / 485.7 MB, free: 13.19 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.208, allocations: 8.031 kB / 485.7 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01445/0.2225, allocations: 5.491 MB / 491.2 MB, free: 7.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005193/0.2277, allocations: 4.437 MB / 495.7 MB, free: 3.184 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000168/0.2278, allocations: 493 kB / 496.1 MB, free: 2.699 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005999/0.2284, allocations: 0.6288 MB / 496.8 MB, free: 2.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008293/0.2367, allocations: 5.657 MB / 0.4907 GB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001014/0.2368, allocations: 7.953 kB / 0.4907 GB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004692/0.2373, allocations: 268 kB / 0.4909 GB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000279/0.2376, allocations: 417.6 kB / 0.4913 GB, free: 11.63 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006075/0.2436, allocations: 3.332 MB / 0.4946 GB, free: 8.281 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02729/0.2709, allocations: 27.44 MB / 0.5214 GB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007446/0.2784, allocations: 6.151 MB / 0.5274 GB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001388/0.2798, allocations: 1.038 MB / 0.5284 GB, free: 5.555 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001715/0.2799, allocations: 98.19 kB / 0.5285 GB, free: 5.457 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.28, allocations: 67.72 kB / 0.5286 GB, free: 5.379 MB / 378.7 MB Notification: Performance of pre-optimization done (n=295): time 5.22e-06/0.28, allocations: 0 / 0.5286 GB, free: 5.379 MB / 378.7 MB Notification: Performance of matching and sorting (n=301): time 0.01087/0.2909, allocations: 6.411 MB / 0.5348 GB, free: 14.86 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.2909, allocations: 81.78 kB / 0.5349 GB, free: 14.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002582/0.2935, allocations: 2.566 MB / 0.5374 GB, free: 12.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002745/0.2938, allocations: 77.64 kB / 0.5375 GB, free: 12.1 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001356/0.2951, allocations: 3.126 MB / 0.5405 GB, free: 8.941 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005715/0.2957, allocations: 1.096 MB / 0.5416 GB, free: 7.836 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009289/0.2966, allocations: 0.9933 MB / 0.5426 GB, free: 6.828 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.464e-05/0.2967, allocations: 480.7 kB / 0.543 GB, free: 6.355 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.2979, allocations: 0.6922 MB / 0.5437 GB, free: 5.656 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002357/0.3003, allocations: 3.216 MB / 0.5468 GB, free: 1.352 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1438/0.4441, allocations: 4.247 MB / 0.551 GB, free: 117.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.355e-05/0.4442, allocations: 20.03 kB / 0.551 GB, free: 117.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.006973/0.4512, allocations: 4.081 MB / 0.555 GB, free: 116.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.908e-05/0.4512, allocations: 30.27 kB / 0.555 GB, free: 116.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.203e-05/0.4513, allocations: 54.34 kB / 0.5551 GB, free: 116.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001484/0.4527, allocations: 0.6124 MB / 0.5557 GB, free: 116.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002136/0.4549, allocations: 1.074 MB / 0.5567 GB, free: 116.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00465/0.4595, allocations: 4.376 MB / 0.561 GB, free: 114.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002182/0.4617, allocations: 273 kB / 0.5613 GB, free: 114.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000323/0.462, allocations: 235.7 kB / 0.5615 GB, free: 114.6 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.001506/0.4635, allocations: 470.2 kB / 0.5619 GB, free: 114.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007183/0.4643, allocations: 413.5 kB / 0.5623 GB, free: 114.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004941/0.4692, allocations: 2.721 MB / 0.565 GB, free: 114 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.5e-05/0.4692, allocations: 30.06 kB / 0.565 GB, free: 114 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/0.4692, allocations: 7.094 kB / 0.565 GB, free: 114 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.448e-05/0.4693, allocations: 15.94 kB / 0.565 GB, free: 114 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0127/0.482, allocations: 7.703 MB / 0.5725 GB, free: 112.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/0.482, allocations: 3.438 kB / 0.5726 GB, free: 112.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/0.4834, allocations: 0.5343 MB / 0.5731 GB, free: 112.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00134/0.4848, allocations: 0.5209 MB / 0.5736 GB, free: 112 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001699/0.485, allocations: 80.75 kB / 0.5737 GB, free: 112 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004292/0.4893, allocations: 3.976 MB / 0.5775 GB, free: 109.2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.4893, allocations: 7.656 kB / 0.5776 GB, free: 109.2 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00539/0.4946, allocations: 3.365 MB / 0.5808 GB, free: 106.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/0.4957, allocations: 0.5891 MB / 0.5814 GB, free: 106.4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00034/0.4961, allocations: 59.89 kB / 0.5815 GB, free: 106.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.4971, allocations: 142.6 kB / 0.5816 GB, free: 106.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003418/0.4974, allocations: 221.4 kB / 0.5818 GB, free: 106.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/0.4976, allocations: 91.89 kB / 0.5819 GB, free: 106 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00167/0.4993, allocations: 1.249 MB / 0.5831 GB, free: 105 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.4993, allocations: 4.031 kB / 0.5831 GB, free: 105 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0033/0.5026, allocations: 1.174 MB / 0.5843 GB, free: 103.8 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.000383/0.5029, allocations: 233.2 kB / 0.5845 GB, free: 103.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004589/0.5075, allocations: 3.006 MB / 0.5874 GB, free: 100.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.5075, allocations: 0 / 0.5874 GB, free: 100.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002/0.5095, allocations: 1.493 MB / 0.5889 GB, free: 99.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/0.5112, allocations: 0.6069 MB / 0.5895 GB, free: 99.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/0.5225, allocations: 9.435 MB / 0.5987 GB, free: 90.34 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/0.5237, allocations: 1.64 MB / 0.6003 GB, free: 88.86 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00211/0.5258, allocations: 1.105 MB / 0.6014 GB, free: 87.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005569/0.5264, allocations: 280.4 kB / 0.6016 GB, free: 87.47 MB / 394.7 MB Notification: Performance of SimCode: time 2.214e-06/0.5264, allocations: 4 kB / 0.6016 GB, free: 87.47 MB / 394.7 MB Notification: Performance of Templates: time 0.04985/0.5762, allocations: 43.08 MB / 0.6437 GB, free: 44.91 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.388884284999222]