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.000976/0.000976, allocations: 73.88 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.9703/0.9703, 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.001247/0.001247, allocations: 168.5 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.02517/0.02517, allocations: 6.656 MB / 320.9 MB, free: 11.46 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_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.363e-06/1.363e-06, allocations: 0 / 392.9 MB, free: 3.344 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.883e-05/2.019e-05, allocations: 2.312 kB / 392.9 MB, free: 3.34 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve1): time 0.01958/0.0196, allocations: 24 MB / 416.9 MB, free: 11.23 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01556/0.03516, allocations: 7.89 MB / 424.8 MB, free: 3.312 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005491/0.04065, allocations: 207 kB / 425 MB, free: 3.109 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0112/0.05185, allocations: 7.906 MB / 432.9 MB, free: 11.17 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008766/0.06062, allocations: 3.165 MB / 436.1 MB, free: 7.984 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004349/0.06496, allocations: 2.037 MB / 438.1 MB, free: 5.945 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.131/0.196, allocations: 9.702 MB / 447.8 MB, free: 118.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01717/0.2132, allocations: 11.22 MB / 459 MB, free: 117.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01207/0.2252, allocations: 7.253 MB / 466.3 MB, free: 114.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006557/0.2318, allocations: 5.086 MB / 471.4 MB, free: 112.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003016/0.2348, allocations: 1.35 MB / 472.7 MB, free: 112.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004604/0.2394, allocations: 1.737 MB / 474.5 MB, free: 112.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003567/0.243, allocations: 2.77 MB / 477.2 MB, free: 110.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006213/0.2492, allocations: 3.438 MB / 480.7 MB, free: 109.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00882/0.258, allocations: 8.611 MB / 489.3 MB, free: 102.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.258, allocations: 0 / 489.3 MB, free: 102.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.258, allocations: 0 / 489.3 MB, free: 102.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003474/0.2584, 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.01725/0.2756, allocations: 10.73 MB / 0.4883 GB, free: 92.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.2756, allocations: 8.031 kB / 0.4883 GB, free: 92.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0162/0.2918, allocations: 5.477 MB / 0.4936 GB, free: 87.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007253/0.2991, allocations: 5.284 MB / 0.4988 GB, free: 82.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002722/0.2994, allocations: 0.583 MB / 0.4994 GB, free: 81.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001849/0.3012, allocations: 0.7655 MB / 0.5001 GB, free: 80.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009818/0.311, allocations: 6.319 MB / 0.5063 GB, free: 74.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002114/0.3112, allocations: 15.52 kB / 0.5063 GB, free: 74.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000606/0.3118, allocations: 319.7 kB / 0.5066 GB, free: 74.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002898/0.3121, allocations: 0.4967 MB / 0.5071 GB, free: 74.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006338/0.3185, allocations: 3.15 MB / 0.5102 GB, free: 70.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04016/0.3586, allocations: 33.08 MB / 0.5425 GB, free: 38.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006778/0.3654, allocations: 6.451 MB / 0.5488 GB, free: 33.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001314/0.3667, allocations: 1.133 MB / 0.5499 GB, free: 32.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002142/0.3669, allocations: 123 kB / 0.55 GB, free: 32.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001287/0.3682, allocations: 1.564 MB / 0.5515 GB, free: 30.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=391): time 5.801e-06/0.3682, allocations: 4 kB / 0.5515 GB, free: 30.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=397): time 0.01474/0.383, allocations: 7.944 MB / 0.5593 GB, free: 22.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.143e-05/0.383, allocations: 354.7 kB / 0.5596 GB, free: 22.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002549/0.3856, allocations: 2.915 MB / 0.5625 GB, free: 19.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002333/0.3858, allocations: 89.7 kB / 0.5626 GB, free: 19.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001299/0.3871, allocations: 3.699 MB / 0.5662 GB, free: 15.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000816/0.3879, allocations: 1.46 MB / 0.5676 GB, free: 14.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001066/0.389, allocations: 1.198 MB / 0.5688 GB, free: 13.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.885e-05/0.389, allocations: 476.8 kB / 0.5692 GB, free: 13.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008507/0.3899, allocations: 0.6723 MB / 0.5699 GB, free: 12.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001579/0.3915, allocations: 3.726 MB / 0.5735 GB, free: 7.531 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002997/0.3945, allocations: 4.678 MB / 0.5781 GB, free: 2.051 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-05/0.3945, allocations: 16 kB / 0.5781 GB, free: 2.035 MB / 410.7 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.2686/0.6631, allocations: 4.523 MB / 0.5825 GB, free: 88.12 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.884e-05/0.6631, allocations: 59.92 kB / 0.5826 GB, free: 88.09 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.609e-05/0.6632, allocations: 61.72 kB / 0.5826 GB, free: 88.09 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001956/0.6652, allocations: 0.9052 MB / 0.5835 GB, free: 88.06 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002787/0.668, allocations: 1.174 MB / 0.5847 GB, free: 88.06 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005763/0.6737, allocations: 5.457 MB / 0.59 GB, free: 86.05 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003165/0.6769, allocations: 237.7 kB / 0.5902 GB, free: 86.05 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006238/0.6775, allocations: 226.7 kB / 0.5904 GB, free: 86.05 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.00206/0.6796, allocations: 0.5318 MB / 0.591 GB, free: 85.86 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008484/0.6804, allocations: 0.4999 MB / 0.5914 GB, free: 85.84 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004242/0.6847, allocations: 3.32 MB / 0.5947 GB, free: 85.5 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/0.6847, allocations: 39.16 kB / 0.5947 GB, free: 85.5 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.6847, allocations: 10.53 kB / 0.5947 GB, free: 85.5 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.367e-05/0.6847, allocations: 22.78 kB / 0.5948 GB, free: 85.5 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01347/0.6982, allocations: 9.845 MB / 0.6044 GB, free: 84.09 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.6982, allocations: 5.656 kB / 0.6044 GB, free: 84.09 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001669/0.6999, allocations: 0.6128 MB / 0.605 GB, free: 84.09 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001938/0.7018, allocations: 0.7865 MB / 0.6057 GB, free: 84.04 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002525/0.7021, allocations: 93.91 kB / 0.6058 GB, free: 84.04 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005299/0.7074, allocations: 4.956 MB / 0.6107 GB, free: 81.91 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.7074, allocations: 9.656 kB / 0.6107 GB, free: 81.91 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005866/0.7132, allocations: 3.928 MB / 0.6145 GB, free: 80.91 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/0.7144, allocations: 0.7104 MB / 0.6152 GB, free: 80.7 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003666/0.7148, allocations: 77.06 kB / 0.6153 GB, free: 80.7 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008963/0.7157, allocations: 107.6 kB / 0.6154 GB, free: 80.7 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004205/0.7161, allocations: 289.1 kB / 0.6157 GB, free: 80.68 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000147/0.7163, allocations: 91.2 kB / 0.6157 GB, free: 80.68 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001582/0.7178, allocations: 1.316 MB / 0.617 GB, free: 80.5 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7178, allocations: 0 / 0.617 GB, free: 80.5 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.003363/0.7212, allocations: 1.45 MB / 0.6184 GB, free: 80.5 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.000454/0.7217, allocations: 262.4 kB / 0.6187 GB, free: 80.4 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.004407/0.7261, allocations: 3.511 MB / 0.6221 GB, free: 79.87 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.7261, allocations: 1.875 kB / 0.6221 GB, free: 79.87 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00193/0.728, allocations: 1.863 MB / 0.6239 GB, free: 79.47 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/0.7299, allocations: 0.7514 MB / 0.6247 GB, free: 79.43 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01367/0.7435, allocations: 11.55 MB / 0.636 GB, free: 72.53 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/0.7449, allocations: 2.046 MB / 0.638 GB, free: 71.02 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.001851/0.7467, allocations: 0.6441 MB / 0.6386 GB, free: 70.52 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001357/0.7481, allocations: 0.9026 MB / 0.6395 GB, free: 69.72 MB / 410.8 MB Notification: Performance of SimCode: time 1.593e-06/0.7481, allocations: 0 / 0.6395 GB, free: 69.72 MB / 410.8 MB Notification: Performance of Templates: time 0.06818/0.8163, allocations: 60 MB / 0.6981 GB, free: 12.2 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: 4.964051307179034]