Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.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.001509/0.001509, allocations: 88.72 kB / 19.44 MB, free: 356 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 1.6/1.6, allocations: 177.1 MB / 199.7 MB, free: 5.805 MB / 186.7 MB " [Timeout remaining time 178] 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.001646/0.001646, allocations: 160.6 kB / 256.3 MB, free: 13.17 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.03788/0.03788, allocations: 6.661 MB / 319.4 MB, free: 26.57 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_VCurve2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 391 MB, free: 2.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.044e-05/3.235e-05, allocations: 6.312 kB / 391 MB, free: 2.922 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve2): time 0.1928/0.1928, allocations: 22.04 MB / 413 MB, free: 68.96 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02238/0.2152, allocations: 7.733 MB / 420.7 MB, free: 67.8 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006451/0.2216, allocations: 201 kB / 420.9 MB, free: 67.74 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0179/0.2395, allocations: 7.549 MB / 428.5 MB, free: 64.86 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01244/0.252, allocations: 3.16 MB / 431.6 MB, free: 62.45 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007863/0.2598, allocations: 2.008 MB / 433.6 MB, free: 60.88 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01392/0.2738, allocations: 9.696 MB / 443.3 MB, free: 54.27 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02045/0.2942, allocations: 11.22 MB / 454.6 MB, free: 42.92 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01369/0.3079, allocations: 7.145 MB / 461.7 MB, free: 35.77 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007359/0.3153, allocations: 4.525 MB / 466.2 MB, free: 31.23 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00302/0.3183, allocations: 1.352 MB / 467.6 MB, free: 29.88 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005171/0.3234, allocations: 1.737 MB / 469.3 MB, free: 28.14 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002925/0.3264, allocations: 2.723 MB / 472 MB, free: 25.41 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007102/0.3335, allocations: 3.423 MB / 475.5 MB, free: 21.98 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01915/0.3526, allocations: 18.49 MB / 494 MB, free: 3.438 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.3526, allocations: 0 / 494 MB, free: 3.438 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.3526, allocations: 0 / 494 MB, free: 3.438 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005094/0.3531, allocations: 0 / 494 MB, free: 3.438 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: 2183 * Number of variables: 2183 Notification: Performance of Generate backend data structure: time 0.03527/0.3884, allocations: 10.8 MB / 0.4929 GB, free: 8.547 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.3885, allocations: 8.031 kB / 0.4929 GB, free: 8.539 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03775/0.4262, allocations: 7.039 MB / 0.4998 GB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01642/0.4426, allocations: 6.09 MB / 0.5058 GB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009397/0.4436, allocations: 0.5819 MB / 0.5063 GB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004143/0.4477, allocations: 0.7655 MB / 0.5071 GB, free: 9.984 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0404/0.4881, allocations: 12.97 MB / 0.5197 GB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004535/0.4886, allocations: 15.91 kB / 0.5198 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002907/0.4915, allocations: 320 kB / 0.5201 GB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008075/0.4923, allocations: 0.4928 MB / 0.5205 GB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03402/0.5263, allocations: 12.24 MB / 0.5325 GB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3773/0.9036, allocations: 37.6 MB / 0.5692 GB, free: 100.4 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01652/0.9202, allocations: 8.949 MB / 0.578 GB, free: 97.96 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004987/0.9251, allocations: 2.725 MB / 0.5806 GB, free: 96.72 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005015/0.9256, allocations: 124.5 kB / 0.5807 GB, free: 96.68 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00451/0.9302, allocations: 2.79 MB / 0.5835 GB, free: 94.82 MB / 394.8 MB Notification: Performance of pre-optimization done (n=391): time 1.139e-05/0.9302, allocations: 0 / 0.5835 GB, free: 94.82 MB / 394.8 MB Notification: Performance of matching and sorting (n=397): time 0.03879/0.969, allocations: 18.46 MB / 0.6015 GB, free: 81.23 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.9691, allocations: 351.5 kB / 0.6018 GB, free: 80.82 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004974/0.9741, allocations: 3.363 MB / 0.6051 GB, free: 77.53 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007158/0.9748, allocations: 93.7 kB / 0.6052 GB, free: 77.43 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001836/0.9766, allocations: 3.495 MB / 0.6086 GB, free: 74.39 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001607/0.9782, allocations: 1.401 MB / 0.61 GB, free: 73.01 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002065/0.9803, allocations: 1.093 MB / 0.611 GB, free: 71.91 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 5.438e-05/0.9803, allocations: 305.1 kB / 0.6113 GB, free: 71.61 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00359/0.9839, allocations: 2.585 MB / 0.6139 GB, free: 69.01 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004696/0.9886, allocations: 4.717 MB / 0.6185 GB, free: 63.36 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008402/0.997, allocations: 7.467 MB / 0.6258 GB, free: 55.02 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.137e-05/0.9971, allocations: 20 kB / 0.6258 GB, free: 55 MB / 394.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.0146/1.012, allocations: 8.549 MB / 0.6341 GB, free: 46.42 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.335e-05/1.012, allocations: 62.8 kB / 0.6342 GB, free: 46.36 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001013/1.012, allocations: 60 kB / 0.6342 GB, free: 46.3 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003317/1.015, allocations: 1.164 MB / 0.6354 GB, free: 45.13 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004686/1.02, allocations: 1.267 MB / 0.6366 GB, free: 43.86 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01141/1.031, allocations: 8.583 MB / 0.645 GB, free: 35.18 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005062/1.036, allocations: 347.5 kB / 0.6453 GB, free: 34.84 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001365/1.038, allocations: 282.8 kB / 0.6456 GB, free: 34.56 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 275 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 662 * Array equations: 0 * Algorithm blocks: 1 * 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 {(10,48,52.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006472/1.044, allocations: 2.895 MB / 0.6484 GB, free: 31.65 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001813/1.046, allocations: 0.5015 MB / 0.6489 GB, free: 31.14 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/1.057, allocations: 6.172 MB / 0.6549 GB, free: 24.91 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.552e-05/1.058, allocations: 40 kB / 0.655 GB, free: 24.87 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.931e-05/1.058, allocations: 12 kB / 0.655 GB, free: 24.86 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-05/1.058, allocations: 19.92 kB / 0.655 GB, free: 24.84 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02918/1.087, allocations: 12.76 MB / 0.6675 GB, free: 12.02 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-05/1.087, allocations: 11.94 kB / 0.6675 GB, free: 12 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003188/1.09, allocations: 0.6826 MB / 0.6682 GB, free: 11.32 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00343/1.093, allocations: 1.023 MB / 0.6692 GB, free: 10.29 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000865/1.094, allocations: 95.97 kB / 0.6692 GB, free: 10.2 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01008/1.104, allocations: 7.525 MB / 0.6766 GB, free: 2.578 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/1.104, allocations: 12 kB / 0.6766 GB, free: 2.566 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01964/1.124, allocations: 8.934 MB / 0.6853 GB, free: 9.492 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004672/1.129, allocations: 0.8331 MB / 0.6861 GB, free: 8.656 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002111/1.131, allocations: 76 kB / 0.6862 GB, free: 8.582 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003693/1.135, allocations: 191.7 kB / 0.6864 GB, free: 8.395 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001475/1.136, allocations: 291 kB / 0.6867 GB, free: 8.105 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008921/1.137, allocations: 131.5 kB / 0.6868 GB, free: 7.98 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.006467/1.143, allocations: 2.165 MB / 0.6889 GB, free: 5.816 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.7e-07/1.143, allocations: 0 / 0.6889 GB, free: 5.816 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.009013/1.152, allocations: 1.453 MB / 0.6903 GB, free: 4.363 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 3 (smee.inertiaRotor.w,smee.rotorCage.port_p.reference.gamma,constantTorque.phi) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (371): * Single equations (assignments): 369 * Array equations: 0 * Algorithm blocks: 1 * 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 {(10,46,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001399/1.154, allocations: 257.3 kB / 0.6906 GB, free: 4.113 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.01674/1.171, allocations: 6.279 MB / 0.6967 GB, free: 13.8 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.048e-05/1.171, allocations: 4.125 kB / 0.6967 GB, free: 13.8 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00845/1.179, allocations: 2.915 MB / 0.6996 GB, free: 10.85 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007734/1.187, allocations: 0.7521 MB / 0.7003 GB, free: 10.13 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1986/1.385, allocations: 14.09 MB / 0.7141 GB, free: 133.3 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01112/1.396, allocations: 4.527 MB / 0.7185 GB, free: 133 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.005512/1.402, allocations: 1.56 MB / 0.72 GB, free: 132.9 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001692/1.404, allocations: 342.9 kB / 0.7203 GB, free: 132.9 MB / 426.8 MB Notification: Performance of SimCode: time 2.054e-06/1.404, allocations: 3.219 kB / 0.7203 GB, free: 132.9 MB / 426.8 MB Notification: Performance of Templates: time 0.0901/1.494, allocations: 54.11 MB / 0.7732 GB, free: 95.9 MB / 426.8 MB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.54637293703854]