Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.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.001758/0.001758, allocations: 85.48 kB / 19.44 MB, free: 344 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.584/1.584, allocations: 177.1 MB / 199.7 MB, free: 5.809 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.002063/0.002063, allocations: 163.7 kB / 256.3 MB, free: 13.16 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.04075/0.04075, 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_VCurve1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 390.9 MB, free: 2.938 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.003e-05/3.153e-05, allocations: 2.312 kB / 390.9 MB, free: 2.934 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve1): time 0.1763/0.1763, allocations: 24.52 MB / 415.5 MB, free: 69.09 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01791/0.1942, allocations: 7.943 MB / 423.4 MB, free: 67.25 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006441/0.2007, allocations: 204.3 kB / 423.6 MB, free: 67.19 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0188/0.2195, allocations: 8.062 MB / 431.7 MB, free: 63.14 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01216/0.2316, allocations: 3.183 MB / 434.9 MB, free: 60.62 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006669/0.2383, allocations: 2.052 MB / 436.9 MB, free: 59.04 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01218/0.2505, allocations: 9.695 MB / 446.6 MB, free: 51.78 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01664/0.2671, allocations: 11.24 MB / 457.8 MB, free: 40.41 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01314/0.2802, allocations: 7.192 MB / 465 MB, free: 33.21 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008081/0.2883, allocations: 4.967 MB / 470 MB, free: 28.23 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003766/0.2921, allocations: 1.352 MB / 471.3 MB, free: 26.88 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006971/0.2991, allocations: 1.741 MB / 473.1 MB, free: 25.14 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003711/0.3028, allocations: 2.774 MB / 475.9 MB, free: 22.36 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008175/0.3109, allocations: 3.458 MB / 479.3 MB, free: 18.89 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01514/0.3261, allocations: 8.628 MB / 488 MB, free: 10.24 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.387e-06/0.3261, allocations: 3.938 kB / 488 MB, free: 10.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3261, allocations: 0 / 488 MB, free: 10.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005685/0.3267, allocations: 0 / 488 MB, free: 10.23 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.02619/0.3529, allocations: 11.45 MB / 499.4 MB, free: 14.69 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.3529, allocations: 12.03 kB / 499.4 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0357/0.3886, allocations: 7.05 MB / 0.4946 GB, free: 7.613 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01401/0.4026, allocations: 5.601 MB / 0.5001 GB, free: 1.945 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008331/0.4034, allocations: 0.5819 MB / 0.5006 GB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002912/0.4063, allocations: 0.7655 MB / 0.5014 GB, free: 0.5977 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02389/0.4302, allocations: 6.911 MB / 0.5081 GB, free: 9.582 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002472/0.4305, allocations: 11.91 kB / 0.5081 GB, free: 9.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001134/0.4316, allocations: 327.9 kB / 0.5085 GB, free: 9.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00062/0.4322, allocations: 0.5005 MB / 0.5089 GB, free: 8.746 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01602/0.4483, allocations: 4.052 MB / 0.5129 GB, free: 4.672 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07082/0.5191, allocations: 33.63 MB / 0.5457 GB, free: 2.102 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.233/0.752, allocations: 7.896 MB / 0.5535 GB, free: 118.6 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002976/0.755, allocations: 1.313 MB / 0.5547 GB, free: 118.6 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004072/0.7554, allocations: 119.1 kB / 0.5549 GB, free: 118.6 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002682/0.7581, allocations: 1.696 MB / 0.5565 GB, free: 118 MB / 394.8 MB Notification: Performance of pre-optimization done (n=391): time 7.605e-06/0.7581, allocations: 0 / 0.5565 GB, free: 118 MB / 394.8 MB Notification: Performance of matching and sorting (n=397): time 0.03062/0.7887, allocations: 12.46 MB / 0.5687 GB, free: 114.3 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.7888, allocations: 361.3 kB / 0.569 GB, free: 113.9 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004042/0.7929, allocations: 2.975 MB / 0.5719 GB, free: 113.5 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005617/0.7934, allocations: 91.14 kB / 0.572 GB, free: 113.5 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001855/0.7953, allocations: 3.68 MB / 0.5756 GB, free: 111.9 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001375/0.7967, allocations: 1.436 MB / 0.577 GB, free: 111 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001644/0.7983, allocations: 1.191 MB / 0.5782 GB, free: 110.9 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 6.159e-05/0.7984, allocations: 476.8 kB / 0.5786 GB, free: 110.4 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001959/0.8003, allocations: 0.8848 MB / 0.5795 GB, free: 110.3 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003636/0.804, allocations: 3.905 MB / 0.5833 GB, free: 106.6 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006457/0.8104, allocations: 5.01 MB / 0.5882 GB, free: 101.2 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001176/0.8105, allocations: 19.94 kB / 0.5882 GB, free: 101.2 MB / 394.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01173/0.8223, allocations: 5.021 MB / 0.5931 GB, free: 96.73 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.8224, allocations: 59.11 kB / 0.5932 GB, free: 96.66 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001315/0.8225, allocations: 63.75 kB / 0.5932 GB, free: 96.61 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00328/0.8258, allocations: 0.9299 MB / 0.5941 GB, free: 95.91 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004443/0.8303, allocations: 1.267 MB / 0.5954 GB, free: 94.83 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008994/0.8392, allocations: 5.755 MB / 0.601 GB, free: 89.54 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00448/0.8437, allocations: 361.8 kB / 0.6014 GB, free: 89.25 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008962/0.8446, allocations: 271.5 kB / 0.6016 GB, free: 89 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.002854/0.8475, allocations: 0.5387 MB / 0.6021 GB, free: 88.45 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001495/0.849, allocations: 0.4936 MB / 0.6026 GB, free: 87.96 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008269/0.8572, allocations: 3.651 MB / 0.6062 GB, free: 84.38 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.448e-05/0.8573, allocations: 43.98 kB / 0.6062 GB, free: 84.34 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-05/0.8573, allocations: 12 kB / 0.6062 GB, free: 84.33 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.245e-05/0.8573, allocations: 23.92 kB / 0.6063 GB, free: 84.3 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01992/0.8773, allocations: 10.23 MB / 0.6163 GB, free: 73.98 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/0.8773, allocations: 4 kB / 0.6163 GB, free: 73.97 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002647/0.8799, allocations: 0.6832 MB / 0.6169 GB, free: 73.29 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002951/0.8829, allocations: 0.8379 MB / 0.6177 GB, free: 72.46 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004418/0.8833, allocations: 87.97 kB / 0.6178 GB, free: 72.37 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007755/0.8911, allocations: 5.209 MB / 0.6229 GB, free: 67.05 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.8911, allocations: 4 kB / 0.6229 GB, free: 67.04 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009539/0.9006, allocations: 4.452 MB / 0.6273 GB, free: 62.43 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001932/0.9025, allocations: 0.7705 MB / 0.628 GB, free: 61.65 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00096/0.9035, allocations: 83.94 kB / 0.6281 GB, free: 61.57 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002094/0.9056, allocations: 187.8 kB / 0.6283 GB, free: 61.39 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000557/0.9062, allocations: 291 kB / 0.6286 GB, free: 61.11 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002001/0.9064, allocations: 120 kB / 0.6287 GB, free: 60.99 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.002109/0.9085, allocations: 1.443 MB / 0.6301 GB, free: 59.55 MB / 394.8 MB Notification: Performance of sort global known variables: time 9e-08/0.9085, allocations: 0 / 0.6301 GB, free: 59.55 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.004572/0.913, allocations: 1.449 MB / 0.6315 GB, free: 58.1 MB / 394.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.0004903/0.9135, allocations: 253 kB / 0.6317 GB, free: 57.84 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.007266/0.9208, allocations: 3.883 MB / 0.6355 GB, free: 53.91 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/0.9208, allocations: 128 / 0.6355 GB, free: 53.91 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003552/0.9243, allocations: 2.035 MB / 0.6375 GB, free: 51.83 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003595/0.9279, allocations: 0.7564 MB / 0.6383 GB, free: 51.12 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01824/0.9462, allocations: 11.67 MB / 0.6496 GB, free: 39.28 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001952/0.9481, allocations: 2.043 MB / 0.6516 GB, free: 37.2 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.00351/0.9516, allocations: 1.322 MB / 0.6529 GB, free: 35.88 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009182/0.9526, allocations: 348.3 kB / 0.6533 GB, free: 35.54 MB / 394.8 MB Notification: Performance of SimCode: time 1.162e-06/0.9526, allocations: 4 kB / 0.6533 GB, free: 35.53 MB / 394.8 MB Notification: Performance of Templates: time 0.2272/1.18, allocations: 54.07 MB / 0.7061 GB, free: 118.1 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.704647683771327]