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.001771/0.001771, allocations: 93.47 kB / 19.44 MB, free: 336 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.558/1.558, 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.002131/0.002131, allocations: 160.6 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.04081/0.04081, allocations: 6.657 MB / 319.4 MB, free: 26.56 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.462e-06/1.462e-06, allocations: 0 / 390.9 MB, free: 2.941 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.123e-05/3.269e-05, allocations: 13.77 kB / 391 MB, free: 2.93 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve1): time 0.1705/0.1705, allocations: 24.47 MB / 415.4 MB, free: 69.11 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01994/0.1905, allocations: 7.931 MB / 423.4 MB, free: 67.29 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006816/0.1973, allocations: 205.3 kB / 423.6 MB, free: 67.23 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01918/0.2165, allocations: 8.059 MB / 431.6 MB, free: 63.17 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01279/0.2293, allocations: 3.186 MB / 434.8 MB, free: 60.64 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006625/0.2359, allocations: 2.047 MB / 436.9 MB, free: 59.06 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01356/0.2495, allocations: 9.691 MB / 446.5 MB, free: 51.77 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02021/0.2697, allocations: 11.24 MB / 457.8 MB, free: 40.39 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0151/0.2848, allocations: 7.192 MB / 465 MB, free: 33.19 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009256/0.294, allocations: 4.963 MB / 469.9 MB, free: 28.22 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004254/0.2983, allocations: 1.352 MB / 471.3 MB, free: 26.87 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006823/0.3051, allocations: 1.753 MB / 473 MB, free: 25.11 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004285/0.3094, allocations: 2.766 MB / 475.8 MB, free: 22.34 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009152/0.3185, allocations: 3.458 MB / 479.3 MB, free: 18.88 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0223/0.3408, allocations: 18.59 MB / 497.9 MB, free: 244 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3408, allocations: 4 kB / 497.9 MB, free: 240 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3408, allocations: 0 / 497.9 MB, free: 240 kB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005312/0.3414, allocations: 0 / 497.9 MB, free: 240 kB / 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.03898/0.3804, allocations: 12.45 MB / 0.4983 GB, free: 3.688 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.3804, allocations: 11.97 kB / 0.4984 GB, free: 3.676 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0374/0.4178, allocations: 7.046 MB / 0.5052 GB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01543/0.4332, allocations: 5.663 MB / 0.5108 GB, free: 6.887 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007207/0.434, allocations: 0.5819 MB / 0.5113 GB, free: 6.305 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003147/0.4371, allocations: 0.7655 MB / 0.5121 GB, free: 5.539 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03395/0.4711, allocations: 13.11 MB / 0.5249 GB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002308/0.4713, allocations: 15.91 kB / 0.5249 GB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001143/0.4724, allocations: 320 kB / 0.5252 GB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006425/0.4731, allocations: 0.5005 MB / 0.5257 GB, free: 7.484 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02832/0.5014, allocations: 10.86 MB / 0.5363 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2579/0.7593, allocations: 80.11 MB / 0.6145 GB, free: 64.36 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01565/0.7749, allocations: 8.415 MB / 0.6228 GB, free: 57.36 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003721/0.7786, allocations: 2.35 MB / 0.6251 GB, free: 55.01 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003501/0.779, allocations: 130.2 kB / 0.6252 GB, free: 54.89 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003239/0.7822, allocations: 2.712 MB / 0.6278 GB, free: 52.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=391): time 7.585e-06/0.7822, allocations: 0 / 0.6278 GB, free: 52.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=397): time 0.03826/0.8205, allocations: 16.57 MB / 0.644 GB, free: 35.45 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.8206, allocations: 359.5 kB / 0.6444 GB, free: 35.03 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006976/0.8276, allocations: 4.683 MB / 0.6489 GB, free: 30.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009912/0.8286, allocations: 93.7 kB / 0.649 GB, free: 30.22 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002125/0.8307, allocations: 3.923 MB / 0.6528 GB, free: 26.29 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001374/0.8321, allocations: 1.558 MB / 0.6544 GB, free: 24.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001954/0.834, allocations: 1.463 MB / 0.6558 GB, free: 23.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.992e-05/0.8341, allocations: 480.8 kB / 0.6563 GB, free: 22.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002992/0.8371, allocations: 2.074 MB / 0.6583 GB, free: 20.71 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004405/0.8415, allocations: 5.373 MB / 0.6635 GB, free: 14.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007914/0.8494, allocations: 8.042 MB / 0.6714 GB, free: 4.859 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.031e-05/0.8495, allocations: 20 kB / 0.6714 GB, free: 4.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01406/0.8636, allocations: 7.616 MB / 0.6788 GB, free: 13.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.8637, allocations: 57.7 kB / 0.6789 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001265/0.8638, allocations: 60.31 kB / 0.6789 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003924/0.8677, allocations: 1.178 MB / 0.6801 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005166/0.8729, allocations: 1.26 MB / 0.6813 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01619/0.8891, allocations: 9.255 MB / 0.6904 GB, free: 1.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004461/0.8936, allocations: 355.5 kB / 0.6907 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008044/0.8944, allocations: 268 kB / 0.691 GB, free: 0.6406 MB / 410.7 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.005394/0.8998, allocations: 2.662 MB / 0.6936 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001527/0.9013, allocations: 0.5015 MB / 0.6941 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01165/0.9129, allocations: 5.523 MB / 0.6994 GB, free: 7.875 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.755e-05/0.913, allocations: 43.98 kB / 0.6995 GB, free: 7.832 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.584e-05/0.913, allocations: 12 kB / 0.6995 GB, free: 7.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.387e-05/0.913, allocations: 19.92 kB / 0.6995 GB, free: 7.801 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1796/1.093, allocations: 15.73 MB / 0.7149 GB, free: 127.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-05/1.093, allocations: 3.312 kB / 0.7149 GB, free: 127.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002974/1.096, allocations: 0.6873 MB / 0.7156 GB, free: 127.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003574/1.099, allocations: 1.028 MB / 0.7166 GB, free: 127.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006353/1.1, allocations: 93.66 kB / 0.7166 GB, free: 127.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01044/1.11, allocations: 8.18 MB / 0.7246 GB, free: 125.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.094e-06/1.11, allocations: 5.5 kB / 0.7246 GB, free: 125.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01186/1.122, allocations: 7.473 MB / 0.7319 GB, free: 123.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002519/1.125, allocations: 0.7695 MB / 0.7327 GB, free: 123.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008223/1.125, allocations: 78.44 kB / 0.7328 GB, free: 123.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00205/1.128, allocations: 187.4 kB / 0.7329 GB, free: 123.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006369/1.128, allocations: 294.1 kB / 0.7332 GB, free: 123.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002165/1.128, allocations: 117.4 kB / 0.7333 GB, free: 123.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003178/1.132, allocations: 2.417 MB / 0.7357 GB, free: 122.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/1.132, allocations: 2 kB / 0.7357 GB, free: 122.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004957/1.136, allocations: 1.456 MB / 0.7371 GB, free: 122 MB / 426.7 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.0005628/1.137, allocations: 249.4 kB / 0.7374 GB, free: 121.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009154/1.146, allocations: 6.078 MB / 0.7433 GB, free: 119.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/1.146, allocations: 0 / 0.7433 GB, free: 119.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00448/1.151, allocations: 2.862 MB / 0.7461 GB, free: 118.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003772/1.154, allocations: 0.7602 MB / 0.7468 GB, free: 118.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01933/1.174, allocations: 13.08 MB / 0.7596 GB, free: 106.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003521/1.177, allocations: 4.182 MB / 0.7637 GB, free: 102.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003487/1.181, allocations: 1.322 MB / 0.765 GB, free: 101.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009038/1.182, allocations: 348.4 kB / 0.7653 GB, free: 101 MB / 426.7 MB Notification: Performance of SimCode: time 1.954e-06/1.182, allocations: 4.875 kB / 0.7653 GB, free: 101 MB / 426.7 MB Notification: Performance of Templates: time 0.08371/1.265, allocations: 54.02 MB / 0.8181 GB, free: 47.68 MB / 426.7 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.953572001075372]