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.001007/0.001007, allocations: 73.88 kB / 20.66 MB, free: 3.848 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.9761/0.9761, allocations: 177.2 MB / 201.1 MB, free: 5.387 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.00155/0.00155, allocations: 160.6 kB / 257.7 MB, free: 12.8 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.02326/0.02326, allocations: 6.66 MB / 320.9 MB, free: 26.35 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.753e-06/1.753e-06, allocations: 0 / 392.9 MB, free: 2.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.314e-05, allocations: 2.312 kB / 392.9 MB, free: 2.203 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve2): time 0.1271/0.1271, allocations: 24.02 MB / 417 MB, free: 69.5 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01091/0.1381, allocations: 7.89 MB / 424.8 MB, free: 67.66 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001938/0.14, allocations: 200.6 kB / 425 MB, free: 67.61 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007023/0.147, allocations: 7.916 MB / 433 MB, free: 63.23 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004798/0.1518, allocations: 3.159 MB / 436.1 MB, free: 60.7 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002503/0.1543, allocations: 2.026 MB / 438.1 MB, free: 59.12 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005402/0.1597, allocations: 9.703 MB / 447.8 MB, free: 51.78 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009266/0.169, allocations: 11.24 MB / 459.1 MB, free: 40.41 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004922/0.1739, allocations: 7.25 MB / 466.3 MB, free: 33.14 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003562/0.1775, allocations: 5.088 MB / 471.4 MB, free: 28.05 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001112/0.1786, allocations: 1.352 MB / 472.8 MB, free: 26.7 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/0.1802, allocations: 1.741 MB / 474.5 MB, free: 24.95 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001073/0.1813, allocations: 2.755 MB / 477.3 MB, free: 22.19 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002538/0.1838, allocations: 3.454 MB / 480.7 MB, free: 18.73 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005853/0.1897, allocations: 8.597 MB / 489.3 MB, free: 10.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1897, allocations: 0 / 489.3 MB, free: 10.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1897, allocations: 4 kB / 489.3 MB, free: 10.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.941e-05/0.1898, allocations: 4 kB / 489.3 MB, free: 10.1 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.01173/0.2015, allocations: 10.73 MB / 0.4883 GB, free: 15.28 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.2015, allocations: 8.031 kB / 0.4883 GB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0155/0.217, allocations: 5.491 MB / 0.4937 GB, free: 9.773 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006187/0.2232, allocations: 5.277 MB / 0.4989 GB, free: 4.426 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002807/0.2235, allocations: 0.578 MB / 0.4994 GB, free: 3.848 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000815/0.2243, allocations: 0.7655 MB / 0.5002 GB, free: 3.082 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007451/0.2318, allocations: 6.319 MB / 0.5063 GB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001219/0.2319, allocations: 19.88 kB / 0.5064 GB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005424/0.2324, allocations: 324 kB / 0.5067 GB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003225/0.2328, allocations: 0.4928 MB / 0.5072 GB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004598/0.2374, allocations: 3.15 MB / 0.5102 GB, free: 8.637 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03048/0.2678, allocations: 33.07 MB / 0.5425 GB, free: 6.625 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007009/0.2748, allocations: 6.456 MB / 0.5488 GB, free: 1.148 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/0.276, allocations: 1.128 MB / 0.5499 GB, free: 16 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2324/0.5084, allocations: 121 kB / 0.55 GB, free: 93.86 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002344/0.5107, allocations: 1.568 MB / 0.5516 GB, free: 93.33 MB / 394.8 MB Notification: Performance of pre-optimization done (n=391): time 6.913e-06/0.5107, allocations: 0 / 0.5516 GB, free: 93.33 MB / 394.8 MB Notification: Performance of matching and sorting (n=397): time 0.01845/0.5292, allocations: 7.953 MB / 0.5593 GB, free: 92.62 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.797e-05/0.5293, allocations: 353.3 kB / 0.5597 GB, free: 92.24 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003657/0.5329, allocations: 2.917 MB / 0.5625 GB, free: 91.82 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001632/0.5331, allocations: 87.83 kB / 0.5626 GB, free: 91.79 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001843/0.5349, allocations: 3.696 MB / 0.5662 GB, free: 90.28 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008131/0.5357, allocations: 1.457 MB / 0.5676 GB, free: 89.48 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001492/0.5372, allocations: 1.195 MB / 0.5688 GB, free: 89.38 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 4.676e-05/0.5373, allocations: 479.1 kB / 0.5693 GB, free: 88.91 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.5383, allocations: 0.6787 MB / 0.5699 GB, free: 88.86 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002022/0.5403, allocations: 3.727 MB / 0.5736 GB, free: 85.21 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003548/0.5439, allocations: 4.666 MB / 0.5781 GB, free: 81.76 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.99e-05/0.5439, allocations: 19.38 kB / 0.5781 GB, free: 81.76 MB / 394.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.006077/0.55, allocations: 4.53 MB / 0.5826 GB, free: 81.28 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.257e-05/0.55, allocations: 57.48 kB / 0.5826 GB, free: 81.25 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-05/0.5501, allocations: 65 kB / 0.5827 GB, free: 81.24 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002001/0.5521, allocations: 0.9046 MB / 0.5836 GB, free: 81.2 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002707/0.5548, allocations: 1.169 MB / 0.5847 GB, free: 81.2 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005929/0.5607, allocations: 5.462 MB / 0.59 GB, free: 79.04 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002157/0.5629, allocations: 229.8 kB / 0.5903 GB, free: 79.02 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003074/0.5632, allocations: 229.1 kB / 0.5905 GB, free: 79.01 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.001457/0.5647, allocations: 0.5372 MB / 0.591 GB, free: 78.72 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005391/0.5652, allocations: 0.4997 MB / 0.5915 GB, free: 78.27 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003381/0.5686, allocations: 3.318 MB / 0.5947 GB, free: 76.31 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.5686, allocations: 43.89 kB / 0.5948 GB, free: 76.27 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.5686, allocations: 15.94 kB / 0.5948 GB, free: 76.26 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.997e-05/0.5686, allocations: 17.67 kB / 0.5948 GB, free: 76.26 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009129/0.5778, allocations: 9.842 MB / 0.6044 GB, free: 70.2 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.5778, allocations: 4 kB / 0.6044 GB, free: 70.2 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/0.579, allocations: 0.6104 MB / 0.605 GB, free: 69.64 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001329/0.5803, allocations: 0.7935 MB / 0.6058 GB, free: 68.85 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001316/0.5805, allocations: 87.97 kB / 0.6059 GB, free: 68.76 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003858/0.5843, allocations: 4.965 MB / 0.6107 GB, free: 63.8 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.5843, allocations: 11.47 kB / 0.6107 GB, free: 63.79 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003954/0.5883, allocations: 3.925 MB / 0.6146 GB, free: 59.81 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008273/0.5891, allocations: 0.7106 MB / 0.6153 GB, free: 59.1 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002977/0.5894, allocations: 76 kB / 0.6153 GB, free: 59.02 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007947/0.5902, allocations: 106.3 kB / 0.6154 GB, free: 58.92 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002788/0.5905, allocations: 289.1 kB / 0.6157 GB, free: 58.64 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/0.5906, allocations: 93.19 kB / 0.6158 GB, free: 58.55 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.0009491/0.5915, allocations: 1.316 MB / 0.6171 GB, free: 57.36 MB / 394.8 MB Notification: Performance of sort global known variables: time 4e-08/0.5915, allocations: 0 / 0.6171 GB, free: 57.36 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.003229/0.5948, allocations: 1.445 MB / 0.6185 GB, free: 55.91 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.0003483/0.5951, allocations: 260 kB / 0.6188 GB, free: 55.69 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.003358/0.5985, allocations: 3.509 MB / 0.6222 GB, free: 52.41 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5985, allocations: 4 kB / 0.6222 GB, free: 52.4 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001571/0.6001, allocations: 1.867 MB / 0.624 GB, free: 50.62 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/0.6018, allocations: 0.7535 MB / 0.6247 GB, free: 49.92 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/0.6123, allocations: 11.55 MB / 0.636 GB, free: 38.29 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/0.6135, allocations: 2.041 MB / 0.638 GB, free: 36.22 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.001405/0.6149, allocations: 0.6517 MB / 0.6387 GB, free: 35.56 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001405/0.6163, allocations: 0.907 MB / 0.6395 GB, free: 34.66 MB / 394.8 MB Notification: Performance of SimCode: time 1.994e-06/0.6163, allocations: 0 / 0.6395 GB, free: 34.66 MB / 394.8 MB Notification: Performance of Templates: time 0.07104/0.6874, allocations: 60 MB / 0.6981 GB, free: 7.531 MB / 426.8 MB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.970755469985306]