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.0009233/0.0009233, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.942/0.942, allocations: 177.1 MB / 200 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.001337/0.001337, allocations: 160.4 kB / 256.6 MB, free: 13 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.02352/0.02352, allocations: 6.657 MB / 319.8 MB, free: 26.53 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.172e-06/1.172e-06, allocations: 0 / 391.7 MB, free: 2.531 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.482e-05/1.599e-05, allocations: 6.25 kB / 391.7 MB, free: 2.523 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.1407/0.1407, allocations: 24.75 MB / 416.4 MB, free: 69.37 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01569/0.1564, allocations: 8.014 MB / 424.4 MB, free: 67.43 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006012/0.1624, allocations: 201.3 kB / 424.6 MB, free: 67.37 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01069/0.1731, allocations: 6.462 MB / 431.1 MB, free: 63.96 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008056/0.1812, allocations: 2.854 MB / 434 MB, free: 61.74 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003538/0.1847, allocations: 1.652 MB / 435.6 MB, free: 60.48 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007744/0.1925, allocations: 7.639 MB / 443.3 MB, free: 55.68 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01206/0.2045, allocations: 9.017 MB / 452.3 MB, free: 46.54 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009613/0.2141, allocations: 5.756 MB / 458 MB, free: 40.78 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005907/0.22, allocations: 4.047 MB / 462.1 MB, free: 36.72 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002831/0.2229, allocations: 1.062 MB / 463.1 MB, free: 35.66 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00452/0.2274, allocations: 1.452 MB / 464.6 MB, free: 34.21 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001986/0.2294, allocations: 2.221 MB / 466.8 MB, free: 31.98 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004546/0.2339, allocations: 2.791 MB / 469.6 MB, free: 29.18 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008213/0.2421, allocations: 6.984 MB / 476.6 MB, free: 22.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.2421, allocations: 0 / 476.6 MB, free: 22.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2421, allocations: 0 / 476.6 MB, free: 22.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002533/0.2424, allocations: 0 / 476.6 MB, free: 22.18 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.01514/0.2575, allocations: 9.366 MB / 485.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/0.2576, allocations: 8.031 kB / 486 MB, free: 12.72 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01325/0.2709, allocations: 5.491 MB / 491.4 MB, free: 7.223 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006472/0.2773, allocations: 4.445 MB / 495.9 MB, free: 2.719 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002543/0.2776, allocations: 485.1 kB / 496.4 MB, free: 2.242 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001207/0.2788, allocations: 0.6288 MB / 497 MB, free: 1.613 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01018/0.289, allocations: 5.645 MB / 0.4909 GB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001176/0.2891, allocations: 11.94 kB / 0.4909 GB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004609/0.2896, allocations: 268 kB / 0.4911 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002885/0.2898, allocations: 413.7 kB / 0.4915 GB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008128/0.298, allocations: 3.324 MB / 0.4948 GB, free: 7.844 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03898/0.3369, allocations: 27.4 MB / 0.5215 GB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009697/0.3466, allocations: 6.154 MB / 0.5275 GB, free: 6.207 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001806/0.3484, allocations: 1.03 MB / 0.5285 GB, free: 5.168 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002032/0.3487, allocations: 94.27 kB / 0.5286 GB, free: 5.074 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.492e-05/0.3487, allocations: 75.7 kB / 0.5287 GB, free: 4.988 MB / 378.7 MB Notification: Performance of pre-optimization done (n=295): time 5.901e-06/0.3487, allocations: 0 / 0.5287 GB, free: 4.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=301): time 0.01352/0.3622, allocations: 6.399 MB / 0.5349 GB, free: 14.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.3623, allocations: 97.64 kB / 0.535 GB, free: 14.37 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003683/0.366, allocations: 2.558 MB / 0.5375 GB, free: 11.79 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000142/0.3661, allocations: 73.7 kB / 0.5376 GB, free: 11.71 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00183/0.3679, allocations: 3.114 MB / 0.5407 GB, free: 8.566 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000788/0.3687, allocations: 1.104 MB / 0.5417 GB, free: 7.453 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001225/0.3699, allocations: 0.9777 MB / 0.5427 GB, free: 6.461 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003466/0.3703, allocations: 484.7 kB / 0.5431 GB, free: 5.984 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/0.3718, allocations: 0.6844 MB / 0.5438 GB, free: 5.293 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002766/0.3745, allocations: 3.213 MB / 0.547 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1485/0.5231, allocations: 4.245 MB / 0.5511 GB, free: 89.67 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.728e-05/0.5232, allocations: 16.75 kB / 0.5511 GB, free: 89.67 MB / 394.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.008236/0.5314, allocations: 4.063 MB / 0.5551 GB, free: 89.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.251e-05/0.5314, allocations: 35.62 kB / 0.5551 GB, free: 89.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.69e-05/0.5315, allocations: 53 kB / 0.5552 GB, free: 89.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001738/0.5333, allocations: 0.6143 MB / 0.5558 GB, free: 89.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002965/0.5362, allocations: 1.069 MB / 0.5568 GB, free: 89.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005471/0.5417, allocations: 4.39 MB / 0.5611 GB, free: 87.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002708/0.5444, allocations: 276.1 kB / 0.5614 GB, free: 87.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005334/0.545, allocations: 228.5 kB / 0.5616 GB, free: 87.46 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.001757/0.5467, allocations: 457.1 kB / 0.562 GB, free: 87.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006916/0.5474, allocations: 411 kB / 0.5624 GB, free: 87.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00483/0.5522, allocations: 2.736 MB / 0.5651 GB, free: 87.05 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/0.5523, allocations: 35.56 kB / 0.5651 GB, free: 87.05 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.5523, allocations: 7.875 kB / 0.5651 GB, free: 87.05 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.287e-05/0.5523, allocations: 15.23 kB / 0.5651 GB, free: 87.05 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01354/0.5658, allocations: 7.683 MB / 0.5726 GB, free: 86.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.5658, allocations: 10.38 kB / 0.5726 GB, free: 86.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/0.567, allocations: 0.5321 MB / 0.5732 GB, free: 86.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001167/0.5682, allocations: 0.5134 MB / 0.5737 GB, free: 86.22 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001826/0.5683, allocations: 73.66 kB / 0.5737 GB, free: 86.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003444/0.5718, allocations: 3.985 MB / 0.5776 GB, free: 84.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.5718, allocations: 7.125 kB / 0.5776 GB, free: 84.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004962/0.5768, allocations: 3.36 MB / 0.5809 GB, free: 83.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/0.578, allocations: 0.5891 MB / 0.5815 GB, free: 83.33 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003932/0.5784, allocations: 61.91 kB / 0.5816 GB, free: 83.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009195/0.5793, allocations: 146.2 kB / 0.5817 GB, free: 83.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003741/0.5797, allocations: 223.5 kB / 0.5819 GB, free: 83.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/0.5798, allocations: 89.3 kB / 0.582 GB, free: 83.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00172/0.5815, allocations: 1.24 MB / 0.5832 GB, free: 83.08 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5815, allocations: 0 / 0.5832 GB, free: 83.08 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003365/0.5849, allocations: 1.17 MB / 0.5843 GB, free: 82.18 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.0005089/0.5854, allocations: 225 kB / 0.5846 GB, free: 81.99 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004704/0.5901, allocations: 3.01 MB / 0.5875 GB, free: 79.49 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.5901, allocations: 0 / 0.5875 GB, free: 79.49 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00203/0.5922, allocations: 1.485 MB / 0.5889 GB, free: 78.24 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/0.5944, allocations: 0.605 MB / 0.5895 GB, free: 77.76 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/0.6072, allocations: 9.435 MB / 0.5988 GB, free: 68.99 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001547/0.6088, allocations: 1.632 MB / 0.6003 GB, free: 67.76 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002339/0.6111, allocations: 1.113 MB / 0.6014 GB, free: 67.05 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006369/0.6118, allocations: 275.2 kB / 0.6017 GB, free: 66.8 MB / 394.7 MB Notification: Performance of SimCode: time 1.903e-06/0.6118, allocations: 0 / 0.6017 GB, free: 66.8 MB / 394.7 MB Notification: Performance of Templates: time 0.05404/0.6658, allocations: 45.04 MB / 0.6457 GB, free: 22.49 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.400906109716743]