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.0009293/0.0009293, allocations: 92.22 kB / 19.65 MB, free: 276 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 0.9589/0.9589, allocations: 177.1 MB / 200 MB, free: 5.562 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.001213/0.001213, allocations: 160.4 kB / 256.6 MB, free: 13.02 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.02443/0.02443, allocations: 6.662 MB / 319.8 MB, free: 26.55 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 5.451e-06/5.451e-06, allocations: 4 kB / 391.7 MB, free: 2.547 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.537e-05/3.082e-05, allocations: 6.25 kB / 391.7 MB, free: 2.539 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve4): time 0.1386/0.1386, allocations: 24.77 MB / 416.5 MB, free: 69.4 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01354/0.1521, allocations: 7.933 MB / 424.4 MB, free: 67.48 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005278/0.1574, allocations: 205.2 kB / 424.6 MB, free: 67.41 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01048/0.1679, allocations: 8.108 MB / 432.7 MB, free: 62.85 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009147/0.177, allocations: 3.187 MB / 435.9 MB, free: 60.32 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004251/0.1813, allocations: 2.054 MB / 437.9 MB, free: 58.75 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009344/0.1906, allocations: 9.701 MB / 447.7 MB, free: 51.3 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01419/0.2048, allocations: 11.24 MB / 458.9 MB, free: 39.93 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008029/0.2128, allocations: 7.196 MB / 466.1 MB, free: 32.72 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005695/0.2185, allocations: 4.982 MB / 471.1 MB, free: 27.73 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002173/0.2207, allocations: 1.355 MB / 472.4 MB, free: 26.38 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003101/0.2238, allocations: 1.737 MB / 474.2 MB, free: 24.64 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001428/0.2252, allocations: 2.77 MB / 476.9 MB, free: 21.86 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003812/0.229, allocations: 3.462 MB / 480.4 MB, free: 18.39 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009749/0.2388, allocations: 8.628 MB / 489 MB, free: 9.738 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.361e-06/0.2388, allocations: 0 / 489 MB, free: 9.738 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2388, allocations: 0 / 489 MB, free: 9.738 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.00035/0.2392, allocations: 4 kB / 489 MB, free: 9.734 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.01584/0.255, allocations: 11.46 MB / 0.4888 GB, free: 14.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.255, allocations: 8.031 kB / 0.4888 GB, free: 14.17 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01867/0.2737, allocations: 7.042 MB / 0.4956 GB, free: 7.117 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008673/0.2824, allocations: 5.625 MB / 0.5011 GB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004275/0.2828, allocations: 0.578 MB / 0.5017 GB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002053/0.2849, allocations: 0.7655 MB / 0.5024 GB, free: 80 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01517/0.3, allocations: 6.903 MB / 0.5092 GB, free: 9.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001759/0.3002, allocations: 23.81 kB / 0.5092 GB, free: 9.047 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007279/0.3009, allocations: 327.9 kB / 0.5095 GB, free: 8.727 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003512/0.3013, allocations: 0.4928 MB / 0.51 GB, free: 8.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01136/0.3127, allocations: 4.04 MB / 0.514 GB, free: 4.168 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04698/0.3596, allocations: 33.63 MB / 0.5468 GB, free: 1.594 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2564/0.616, allocations: 7.881 MB / 0.5545 GB, free: 91.06 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0024/0.6184, allocations: 1.304 MB / 0.5558 GB, free: 91.02 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002895/0.6187, allocations: 123.9 kB / 0.5559 GB, free: 91.01 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001954/0.6206, allocations: 1.686 MB / 0.5575 GB, free: 90.48 MB / 394.8 MB Notification: Performance of pre-optimization done (n=391): time 5.841e-06/0.6206, allocations: 0 / 0.5575 GB, free: 90.48 MB / 394.8 MB Notification: Performance of matching and sorting (n=397): time 0.02258/0.6432, allocations: 12.43 MB / 0.5697 GB, free: 86.88 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.711e-05/0.6433, allocations: 351.8 kB / 0.57 GB, free: 86.5 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003782/0.6471, allocations: 2.977 MB / 0.5729 GB, free: 86.08 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004292/0.6475, allocations: 92.73 kB / 0.573 GB, free: 86.05 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001731/0.6492, allocations: 3.681 MB / 0.5766 GB, free: 84.54 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001087/0.6503, allocations: 1.441 MB / 0.578 GB, free: 83.73 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001444/0.6518, allocations: 1.189 MB / 0.5792 GB, free: 83.63 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 4.037e-05/0.6518, allocations: 476.8 kB / 0.5796 GB, free: 83.16 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001753/0.6536, allocations: 0.8777 MB / 0.5805 GB, free: 83.12 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002791/0.6564, allocations: 3.899 MB / 0.5843 GB, free: 79.47 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005496/0.6618, allocations: 4.998 MB / 0.5892 GB, free: 76.02 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.391e-05/0.6619, allocations: 20.84 kB / 0.5892 GB, free: 76.02 MB / 394.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.008737/0.6706, allocations: 5.007 MB / 0.5941 GB, free: 73.73 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.267e-05/0.6707, allocations: 63.2 kB / 0.5941 GB, free: 73.66 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.402e-05/0.6708, allocations: 63.12 kB / 0.5942 GB, free: 73.61 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00239/0.6732, allocations: 0.936 MB / 0.5951 GB, free: 72.97 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003338/0.6765, allocations: 1.258 MB / 0.5963 GB, free: 72.03 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007244/0.6838, allocations: 5.766 MB / 0.602 GB, free: 68.18 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003464/0.6872, allocations: 342.8 kB / 0.6023 GB, free: 67.99 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005289/0.6877, allocations: 272.9 kB / 0.6026 GB, free: 67.79 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.001865/0.6896, allocations: 0.5391 MB / 0.6031 GB, free: 67.47 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008071/0.6904, allocations: 0.5051 MB / 0.6036 GB, free: 66.96 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004957/0.6954, allocations: 3.632 MB / 0.6071 GB, free: 63.96 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/0.6954, allocations: 44 kB / 0.6072 GB, free: 63.92 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.6954, allocations: 8 kB / 0.6072 GB, free: 63.91 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.32e-05/0.6954, allocations: 35.83 kB / 0.6072 GB, free: 63.9 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01238/0.7078, allocations: 10.21 MB / 0.6172 GB, free: 54.23 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.7078, allocations: 7.984 kB / 0.6172 GB, free: 54.23 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001437/0.7093, allocations: 0.6839 MB / 0.6179 GB, free: 53.58 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001674/0.7109, allocations: 0.8195 MB / 0.6187 GB, free: 52.76 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001747/0.7111, allocations: 99.09 kB / 0.6187 GB, free: 52.66 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004707/0.7158, allocations: 5.225 MB / 0.6239 GB, free: 47.35 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.7158, allocations: 7.281 kB / 0.6239 GB, free: 47.34 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005622/0.7214, allocations: 4.416 MB / 0.6282 GB, free: 42.8 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001381/0.7228, allocations: 0.7706 MB / 0.6289 GB, free: 42.02 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003357/0.7232, allocations: 76 kB / 0.629 GB, free: 41.95 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000987/0.7241, allocations: 187.8 kB / 0.6292 GB, free: 41.77 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00036/0.7245, allocations: 294.8 kB / 0.6295 GB, free: 41.48 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/0.7246, allocations: 120.6 kB / 0.6296 GB, free: 41.36 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.001618/0.7263, allocations: 1.439 MB / 0.631 GB, free: 39.92 MB / 394.8 MB Notification: Performance of sort global known variables: time 2.21e-07/0.7263, allocations: 0 / 0.631 GB, free: 39.92 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.003289/0.7295, allocations: 1.449 MB / 0.6324 GB, free: 38.47 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.0003781/0.7299, allocations: 258.2 kB / 0.6326 GB, free: 38.25 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.004733/0.7347, allocations: 3.869 MB / 0.6364 GB, free: 34.54 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.7347, allocations: 4.875 kB / 0.6364 GB, free: 34.54 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002093/0.7368, allocations: 2.025 MB / 0.6384 GB, free: 32.55 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/0.7387, allocations: 0.7569 MB / 0.6391 GB, free: 31.84 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/0.7505, allocations: 11.67 MB / 0.6505 GB, free: 20 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/0.7517, allocations: 2.053 MB / 0.6525 GB, free: 17.91 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.002224/0.7539, allocations: 1.322 MB / 0.6538 GB, free: 16.59 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006401/0.7546, allocations: 348.4 kB / 0.6542 GB, free: 16.25 MB / 394.8 MB Notification: Performance of SimCode: time 1.502e-06/0.7546, allocations: 0 / 0.6542 GB, free: 16.25 MB / 394.8 MB Notification: Performance of Templates: time 0.1913/0.9458, allocations: 54.09 MB / 0.707 GB, free: 120.9 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: 4.9980421010404825]