Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.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.001018/0.001018, allocations: 69.11 kB / 20.65 MB, free: 3.844 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.9282/0.9282, allocations: 177.2 MB / 201 MB, free: 5.328 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.001442/0.001442, allocations: 159.3 kB / 257.7 MB, free: 12.81 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.02479/0.02479, allocations: 6.656 MB / 320.9 MB, free: 11.56 MB / 298.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_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 392.9 MB, free: 3.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.296e-05/1.485e-05, allocations: 9.766 kB / 392.9 MB, free: 3.422 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve4): time 0.01665/0.01667, allocations: 24.02 MB / 417 MB, free: 11.29 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01297/0.02963, allocations: 7.894 MB / 424.8 MB, free: 3.371 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002906/0.03254, allocations: 203.1 kB / 425 MB, free: 3.172 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008104/0.04064, allocations: 7.906 MB / 432.9 MB, free: 11.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00545/0.04609, allocations: 3.177 MB / 436.1 MB, free: 8.035 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002602/0.0487, allocations: 2.025 MB / 438.2 MB, free: 6.008 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1312/0.1799, allocations: 9.707 MB / 447.9 MB, free: 118.6 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01313/0.193, allocations: 11.22 MB / 459.1 MB, free: 117.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007213/0.2002, allocations: 7.256 MB / 466.3 MB, free: 114.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004527/0.2047, allocations: 5.082 MB / 471.4 MB, free: 112.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001869/0.2066, allocations: 1.349 MB / 472.8 MB, free: 112.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001814/0.2084, allocations: 1.749 MB / 474.5 MB, free: 112.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001122/0.2095, allocations: 2.763 MB / 477.3 MB, free: 110.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002607/0.2121, allocations: 3.439 MB / 480.7 MB, free: 109.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005316/0.2175, allocations: 8.609 MB / 489.3 MB, free: 102.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.2175, allocations: 0 / 489.3 MB, free: 102.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.2175, allocations: 0 / 489.3 MB, free: 102.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.543e-05/0.2175, allocations: 0 / 489.3 MB, free: 102.8 MB / 410.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.01158/0.2291, allocations: 10.73 MB / 0.4883 GB, free: 92.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.2292, allocations: 8.031 kB / 0.4883 GB, free: 92.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01398/0.2431, allocations: 5.479 MB / 0.4937 GB, free: 87.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004663/0.2478, allocations: 5.287 MB / 0.4989 GB, free: 82.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001887/0.248, allocations: 0.5737 MB / 0.4994 GB, free: 81.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000713/0.2487, allocations: 0.7736 MB / 0.5002 GB, free: 80.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006427/0.2551, allocations: 6.317 MB / 0.5063 GB, free: 74.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001206/0.2552, allocations: 11.86 kB / 0.5063 GB, free: 74.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005112/0.2558, allocations: 321 kB / 0.5067 GB, free: 74.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002429/0.256, allocations: 0.4928 MB / 0.5071 GB, free: 74.13 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004115/0.2601, allocations: 3.157 MB / 0.5102 GB, free: 70.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02504/0.2852, allocations: 33.08 MB / 0.5425 GB, free: 38.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006095/0.2913, allocations: 6.453 MB / 0.5488 GB, free: 33.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/0.2923, allocations: 1.132 MB / 0.5499 GB, free: 32.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001687/0.2925, allocations: 122.9 kB / 0.5501 GB, free: 32.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001171/0.2936, allocations: 1.569 MB / 0.5516 GB, free: 30.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=391): time 5.23e-06/0.2936, allocations: 0 / 0.5516 GB, free: 30.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=397): time 0.0133/0.3069, allocations: 7.944 MB / 0.5593 GB, free: 22.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/0.307, allocations: 355.5 kB / 0.5597 GB, free: 22.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002042/0.309, allocations: 2.912 MB / 0.5625 GB, free: 19.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001461/0.3092, allocations: 93.69 kB / 0.5626 GB, free: 19.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001245/0.3104, allocations: 3.692 MB / 0.5662 GB, free: 16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005353/0.311, allocations: 1.455 MB / 0.5676 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001011/0.312, allocations: 1.199 MB / 0.5688 GB, free: 13.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.794e-05/0.312, allocations: 476.8 kB / 0.5693 GB, free: 13.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007347/0.3128, allocations: 0.6723 MB / 0.5699 GB, free: 12.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/0.3143, allocations: 3.728 MB / 0.5736 GB, free: 7.559 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00276/0.317, allocations: 4.678 MB / 0.5781 GB, free: 2.078 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.049e-05/0.317, allocations: 16 kB / 0.5781 GB, free: 2.062 MB / 410.7 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.2364/0.5535, allocations: 4.525 MB / 0.5826 GB, free: 88.06 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.119e-05/0.5535, allocations: 56.7 kB / 0.5826 GB, free: 88.03 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.45e-05/0.5535, allocations: 65.88 kB / 0.5827 GB, free: 88.03 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00155/0.5551, allocations: 0.9051 MB / 0.5836 GB, free: 88 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002097/0.5572, allocations: 1.171 MB / 0.5847 GB, free: 88 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004559/0.5617, allocations: 5.468 MB / 0.59 GB, free: 85.99 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/0.5636, allocations: 230 kB / 0.5903 GB, free: 85.99 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002253/0.5638, allocations: 223.6 kB / 0.5905 GB, free: 85.99 MB / 410.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.001409/0.5652, allocations: 0.54 MB / 0.591 GB, free: 85.8 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00053/0.5658, allocations: 0.4946 MB / 0.5915 GB, free: 85.79 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003584/0.5693, allocations: 3.325 MB / 0.5947 GB, free: 85.45 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.5694, allocations: 40.88 kB / 0.5948 GB, free: 85.45 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/0.5694, allocations: 11.38 kB / 0.5948 GB, free: 85.45 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-05/0.5694, allocations: 21.23 kB / 0.5948 GB, free: 85.44 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/0.5798, allocations: 9.841 MB / 0.6044 GB, free: 84.04 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.749e-06/0.5798, allocations: 4.531 kB / 0.6044 GB, free: 84.04 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/0.5812, allocations: 0.6195 MB / 0.605 GB, free: 84.04 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001586/0.5828, allocations: 0.7885 MB / 0.6058 GB, free: 83.98 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001599/0.5829, allocations: 92.11 kB / 0.6059 GB, free: 83.98 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004744/0.5877, allocations: 4.956 MB / 0.6107 GB, free: 81.86 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.5877, allocations: 7.625 kB / 0.6107 GB, free: 81.86 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005037/0.5927, allocations: 3.928 MB / 0.6146 GB, free: 80.86 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/0.5938, allocations: 0.7084 MB / 0.6153 GB, free: 80.65 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003275/0.5941, allocations: 75.45 kB / 0.6153 GB, free: 80.65 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000894/0.595, allocations: 109.9 kB / 0.6154 GB, free: 80.64 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005203/0.5955, allocations: 290.9 kB / 0.6157 GB, free: 80.63 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001656/0.5957, allocations: 94.23 kB / 0.6158 GB, free: 80.63 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001714/0.5974, allocations: 1.316 MB / 0.6171 GB, free: 80.45 MB / 410.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5974, allocations: 0 / 0.6171 GB, free: 80.45 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.003613/0.601, allocations: 1.451 MB / 0.6185 GB, free: 80.45 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.0003423/0.6014, allocations: 256.8 kB / 0.6188 GB, free: 80.35 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.004038/0.6054, allocations: 3.505 MB / 0.6222 GB, free: 79.82 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.6054, allocations: 2.594 kB / 0.6222 GB, free: 79.82 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001771/0.6072, allocations: 1.862 MB / 0.624 GB, free: 79.42 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001768/0.6089, allocations: 0.7618 MB / 0.6247 GB, free: 79.38 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/0.6208, allocations: 11.54 MB / 0.636 GB, free: 72.46 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001299/0.6221, allocations: 2.054 MB / 0.638 GB, free: 71.01 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.001573/0.6237, allocations: 0.6449 MB / 0.6386 GB, free: 70.5 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001324/0.625, allocations: 0.9003 MB / 0.6395 GB, free: 69.71 MB / 410.8 MB Notification: Performance of SimCode: time 1.383e-06/0.625, allocations: 0 / 0.6395 GB, free: 69.71 MB / 410.8 MB Notification: Performance of Templates: time 0.0757/0.7007, allocations: 60.01 MB / 0.6981 GB, free: 12.2 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.815453175920993]