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.001584/0.001584, allocations: 85.17 kB / 19.87 MB, free: 4.617 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 1.004/1.004, allocations: 177.2 MB / 200.3 MB, free: 5.367 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.00119/0.00119, allocations: 159.4 kB / 256.9 MB, free: 12.82 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.03902/0.03902, allocations: 6.648 MB / 320.1 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_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.753e-06/1.753e-06, allocations: 0 / 392.1 MB, free: 2.223 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.468e-05, allocations: 9.766 kB / 392.1 MB, free: 2.215 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve4): time 0.1467/0.1467, allocations: 24.02 MB / 416.2 MB, free: 68.98 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01547/0.1622, allocations: 7.888 MB / 424.1 MB, free: 67.46 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005765/0.1679, allocations: 201.3 kB / 424.2 MB, free: 67.4 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009734/0.1777, allocations: 7.912 MB / 432.2 MB, free: 63.05 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009545/0.1872, allocations: 3.17 MB / 435.3 MB, free: 60.52 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004622/0.1918, allocations: 2.027 MB / 437.4 MB, free: 58.93 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01049/0.2023, allocations: 9.702 MB / 447.1 MB, free: 51.63 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01394/0.2163, allocations: 11.24 MB / 458.3 MB, free: 40.27 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01029/0.2266, allocations: 7.254 MB / 465.6 MB, free: 33 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006949/0.2335, allocations: 5.088 MB / 470.6 MB, free: 27.9 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003724/0.2372, allocations: 1.348 MB / 472 MB, free: 26.55 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005862/0.2431, allocations: 1.737 MB / 473.7 MB, free: 24.82 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003686/0.2468, allocations: 2.766 MB / 476.5 MB, free: 22.04 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006817/0.2536, allocations: 3.454 MB / 479.9 MB, free: 18.58 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01127/0.2649, allocations: 8.593 MB / 488.5 MB, free: 9.965 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.2649, allocations: 0 / 488.5 MB, free: 9.965 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2649, allocations: 0 / 488.5 MB, free: 9.965 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004406/0.2653, allocations: 0 / 488.5 MB, free: 9.965 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.02027/0.2856, allocations: 10.74 MB / 499.3 MB, free: 15.13 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.2856, allocations: 8.031 kB / 499.3 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02312/0.3088, allocations: 5.479 MB / 0.4929 GB, free: 9.637 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009523/0.3183, allocations: 5.285 MB / 0.4981 GB, free: 4.281 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003925/0.3187, allocations: 0.5741 MB / 0.4987 GB, free: 3.707 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001817/0.3205, allocations: 0.7733 MB / 0.4994 GB, free: 2.934 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01049/0.331, allocations: 6.312 MB / 0.5056 GB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001487/0.3311, allocations: 15.84 kB / 0.5056 GB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000616/0.3317, allocations: 324 kB / 0.5059 GB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004094/0.3322, allocations: 0.4967 MB / 0.5064 GB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006246/0.3384, allocations: 3.154 MB / 0.5095 GB, free: 8.492 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0451/0.3835, allocations: 33.1 MB / 0.5418 GB, free: 6.449 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008085/0.3916, allocations: 6.455 MB / 0.5481 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.265/0.6565, allocations: 1.121 MB / 0.5492 GB, free: 93.48 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005056/0.657, allocations: 150.8 kB / 0.5493 GB, free: 93.47 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002325/0.6594, allocations: 1.568 MB / 0.5509 GB, free: 92.94 MB / 394.8 MB Notification: Performance of pre-optimization done (n=391): time 6.623e-06/0.6594, allocations: 0.75 kB / 0.5509 GB, free: 92.94 MB / 394.8 MB Notification: Performance of matching and sorting (n=397): time 0.01761/0.677, allocations: 7.948 MB / 0.5586 GB, free: 92.21 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.6771, allocations: 356 kB / 0.559 GB, free: 91.84 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003996/0.6811, allocations: 2.912 MB / 0.5618 GB, free: 91.41 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006469/0.6817, allocations: 88.23 kB / 0.5619 GB, free: 91.38 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002129/0.6839, allocations: 3.698 MB / 0.5655 GB, free: 89.88 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001502/0.6854, allocations: 1.463 MB / 0.5669 GB, free: 89.07 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001273/0.6866, allocations: 1.191 MB / 0.5681 GB, free: 88.97 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 5.492e-05/0.6867, allocations: 481.4 kB / 0.5686 GB, free: 88.5 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008014/0.6875, allocations: 0.6736 MB / 0.5692 GB, free: 88.45 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001818/0.6893, allocations: 3.727 MB / 0.5729 GB, free: 84.81 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003373/0.6927, allocations: 4.67 MB / 0.5774 GB, free: 81.36 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.742e-05/0.6927, allocations: 15.88 kB / 0.5774 GB, free: 81.36 MB / 394.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.005686/0.6984, allocations: 4.535 MB / 0.5819 GB, free: 80.87 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.611e-05/0.6985, allocations: 64.11 kB / 0.5819 GB, free: 80.84 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.776e-05/0.6985, allocations: 58.16 kB / 0.582 GB, free: 80.84 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001704/0.7002, allocations: 0.904 MB / 0.5829 GB, free: 80.79 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002261/0.7025, allocations: 1.177 MB / 0.584 GB, free: 80.79 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005074/0.7076, allocations: 5.467 MB / 0.5893 GB, free: 78.63 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002712/0.7103, allocations: 237.7 kB / 0.5896 GB, free: 78.6 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003398/0.7106, allocations: 220.2 kB / 0.5898 GB, free: 78.6 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.001804/0.7124, allocations: 0.5387 MB / 0.5903 GB, free: 78.32 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007275/0.7132, allocations: 0.4948 MB / 0.5908 GB, free: 77.88 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003634/0.7168, allocations: 3.317 MB / 0.594 GB, free: 75.9 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/0.7168, allocations: 43.94 kB / 0.5941 GB, free: 75.86 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/0.7168, allocations: 13.38 kB / 0.5941 GB, free: 75.85 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.36e-05/0.7168, allocations: 22.94 kB / 0.5941 GB, free: 75.84 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01157/0.7284, allocations: 9.84 MB / 0.6037 GB, free: 69.83 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.7284, allocations: 4 kB / 0.6037 GB, free: 69.83 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/0.7297, allocations: 0.6131 MB / 0.6043 GB, free: 69.32 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001501/0.7312, allocations: 0.7922 MB / 0.6051 GB, free: 68.54 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001842/0.7314, allocations: 95.72 kB / 0.6052 GB, free: 68.45 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004635/0.7361, allocations: 4.97 MB / 0.61 GB, free: 63.48 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.7361, allocations: 4 kB / 0.61 GB, free: 63.47 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00475/0.7408, allocations: 3.93 MB / 0.6139 GB, free: 59.49 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001262/0.7421, allocations: 0.7081 MB / 0.6146 GB, free: 58.78 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003197/0.7424, allocations: 72 kB / 0.6146 GB, free: 58.71 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008727/0.7433, allocations: 104 kB / 0.6147 GB, free: 58.61 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003333/0.7436, allocations: 291.6 kB / 0.615 GB, free: 58.33 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001339/0.7437, allocations: 91.97 kB / 0.6151 GB, free: 58.24 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.001289/0.745, allocations: 1.321 MB / 0.6164 GB, free: 57.04 MB / 394.8 MB Notification: Performance of sort global known variables: time 3.31e-07/0.745, allocations: 0 / 0.6164 GB, free: 57.04 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.003897/0.7489, allocations: 1.445 MB / 0.6178 GB, free: 55.6 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.000431/0.7494, allocations: 267.2 kB / 0.6181 GB, free: 55.38 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.004666/0.754, allocations: 3.503 MB / 0.6215 GB, free: 52.1 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.754, allocations: 4.5 kB / 0.6215 GB, free: 52.09 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002207/0.7562, allocations: 1.873 MB / 0.6233 GB, free: 50.3 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002651/0.7589, allocations: 0.7486 MB / 0.624 GB, free: 49.6 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01459/0.7735, allocations: 11.55 MB / 0.6353 GB, free: 37.97 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00171/0.7752, allocations: 2.045 MB / 0.6373 GB, free: 35.89 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.002031/0.7772, allocations: 0.6439 MB / 0.6379 GB, free: 35.24 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001363/0.7786, allocations: 0.9002 MB / 0.6388 GB, free: 34.34 MB / 394.8 MB Notification: Performance of SimCode: time 1.813e-06/0.7786, allocations: 4 kB / 0.6388 GB, free: 34.34 MB / 394.8 MB Notification: Performance of Templates: time 0.07957/0.8581, allocations: 58.92 MB / 0.6964 GB, free: 8.324 MB / 426.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: 5.092826569918543]