Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.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.002506/0.002506, allocations: 85.48 kB / 19.44 MB, free: 348 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 1.602/1.602, allocations: 177.1 MB / 199.7 MB, free: 5.797 MB / 186.7 MB " [Timeout remaining time 178] 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.002027/0.002027, allocations: 164.5 kB / 256.3 MB, free: 13.15 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.04178/0.04178, allocations: 6.652 MB / 319.4 MB, free: 26.57 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_Slip4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 391 MB, free: 2.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.058e-05/3.239e-05, allocations: 5.969 kB / 391 MB, free: 2.906 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip4): time 0.167/0.167, allocations: 24.56 MB / 415.5 MB, free: 69.08 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01575/0.1828, allocations: 7.997 MB / 423.5 MB, free: 67.25 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006135/0.1889, allocations: 205.4 kB / 423.7 MB, free: 67.19 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02087/0.2098, allocations: 6.434 MB / 430.2 MB, free: 64.11 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01238/0.2221, allocations: 2.848 MB / 433 MB, free: 61.97 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005682/0.2278, allocations: 1.653 MB / 434.7 MB, free: 60.7 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01005/0.2379, allocations: 7.632 MB / 442.3 MB, free: 55.93 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.013/0.2509, allocations: 9.025 MB / 451.3 MB, free: 46.89 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009324/0.2602, allocations: 5.69 MB / 457 MB, free: 41.19 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006789/0.267, allocations: 3.984 MB / 461 MB, free: 37.2 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002391/0.2694, allocations: 1.07 MB / 462.1 MB, free: 36.12 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003986/0.2734, allocations: 1.452 MB / 463.5 MB, free: 34.67 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00206/0.2754, allocations: 2.225 MB / 465.7 MB, free: 32.44 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004433/0.2799, allocations: 2.799 MB / 468.5 MB, free: 29.64 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01249/0.2924, allocations: 14.78 MB / 483.3 MB, free: 14.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.2924, allocations: 0 / 483.3 MB, free: 14.81 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2924, allocations: 3.938 kB / 483.3 MB, free: 14.81 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003821/0.2927, allocations: 0 / 483.3 MB, free: 14.81 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: 1800 * Number of variables: 1800 Notification: Performance of Generate backend data structure: time 0.02453/0.3173, allocations: 10.13 MB / 493.4 MB, free: 4.594 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.3173, allocations: 12.03 kB / 493.5 MB, free: 4.582 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0262/0.3435, allocations: 5.487 MB / 498.9 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01247/0.356, allocations: 4.491 MB / 0.4916 GB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005712/0.3566, allocations: 485.1 kB / 0.4921 GB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002347/0.3589, allocations: 0.6288 MB / 0.4927 GB, free: 9.434 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02772/0.3866, allocations: 10.59 MB / 0.5031 GB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002114/0.3868, allocations: 7.953 kB / 0.5031 GB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001188/0.388, allocations: 268 kB / 0.5033 GB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005478/0.3886, allocations: 421.6 kB / 0.5037 GB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02218/0.4107, allocations: 8.732 MB / 0.5123 GB, free: 5.305 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2793/0.6901, allocations: 56.73 MB / 0.5677 GB, free: 100.1 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01401/0.7041, allocations: 6.33 MB / 0.5738 GB, free: 99.86 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002983/0.7071, allocations: 1.824 MB / 0.5756 GB, free: 99.65 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003403/0.7074, allocations: 94.45 kB / 0.5757 GB, free: 99.64 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.7074, allocations: 66.97 kB / 0.5758 GB, free: 99.57 MB / 394.7 MB Notification: Performance of pre-optimization done (n=295): time 5.56e-06/0.7074, allocations: 1.875 kB / 0.5758 GB, free: 99.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=301): time 0.01808/0.7255, allocations: 9.465 MB / 0.585 GB, free: 95.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.7256, allocations: 92.75 kB / 0.5851 GB, free: 95.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004443/0.73, allocations: 3.886 MB / 0.5889 GB, free: 93.13 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003415/0.7303, allocations: 76.83 kB / 0.589 GB, free: 93.06 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001546/0.7319, allocations: 3.32 MB / 0.5922 GB, free: 90.6 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008698/0.7328, allocations: 1.177 MB / 0.5934 GB, free: 89.62 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001425/0.7342, allocations: 1.184 MB / 0.5945 GB, free: 88.93 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.586e-05/0.7342, allocations: 480.4 kB / 0.595 GB, free: 88.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002134/0.7364, allocations: 1.623 MB / 0.5966 GB, free: 87.24 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002984/0.7394, allocations: 4.329 MB / 0.6008 GB, free: 81.85 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005556/0.7449, allocations: 6.506 MB / 0.6071 GB, free: 74.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.884e-05/0.745, allocations: 16 kB / 0.6072 GB, free: 74.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.008797/0.7538, allocations: 6.091 MB / 0.6131 GB, free: 68.12 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.797e-05/0.7538, allocations: 28 kB / 0.6131 GB, free: 68.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.906e-05/0.7539, allocations: 59.95 kB / 0.6132 GB, free: 68.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002086/0.756, allocations: 0.7757 MB / 0.6139 GB, free: 67.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003552/0.7595, allocations: 1.076 MB / 0.615 GB, free: 66.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007328/0.7669, allocations: 6.654 MB / 0.6215 GB, free: 59.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003581/0.7704, allocations: 279.6 kB / 0.6218 GB, free: 59.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005003/0.7709, allocations: 232 kB / 0.622 GB, free: 58.92 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 251 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (560): * Single equations (assignments): 559 * Array equations: 0 * Algorithm blocks: 0 * 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 {(8,28,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00297/0.7739, allocations: 2.134 MB / 0.6241 GB, free: 56.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000791/0.7747, allocations: 413.9 kB / 0.6245 GB, free: 56.37 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007034/0.7817, allocations: 4.107 MB / 0.6285 GB, free: 52.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.813e-05/0.7818, allocations: 36 kB / 0.6285 GB, free: 52.17 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/0.7818, allocations: 4 kB / 0.6285 GB, free: 52.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.362e-05/0.7818, allocations: 15.94 kB / 0.6285 GB, free: 52.15 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01856/0.8004, allocations: 11.68 MB / 0.6399 GB, free: 40.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/0.8004, allocations: 16.02 kB / 0.64 GB, free: 40.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001991/0.8024, allocations: 0.5305 MB / 0.6405 GB, free: 39.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00188/0.8043, allocations: 0.6628 MB / 0.6411 GB, free: 39.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001847/0.8044, allocations: 71.97 kB / 0.6412 GB, free: 39.03 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006202/0.8107, allocations: 5.89 MB / 0.6469 GB, free: 33.03 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.8107, allocations: 11.92 kB / 0.647 GB, free: 33.02 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007622/0.8183, allocations: 5.573 MB / 0.6524 GB, free: 27.26 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001741/0.82, allocations: 0.5915 MB / 0.653 GB, free: 26.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004789/0.8205, allocations: 56 kB / 0.653 GB, free: 26.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/0.8221, allocations: 151.9 kB / 0.6532 GB, free: 26.46 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003755/0.8224, allocations: 221.8 kB / 0.6534 GB, free: 26.24 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001613/0.8226, allocations: 90.92 kB / 0.6535 GB, free: 26.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002628/0.8252, allocations: 2.049 MB / 0.6555 GB, free: 24.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.8252, allocations: 0 / 0.6555 GB, free: 24.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004705/0.8299, allocations: 1.176 MB / 0.6566 GB, free: 22.93 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (smee.short.port_p.reference.gamma,mechanicalPowerSensor.relSpeedSensor.phi_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (291): * Single equations (assignments): 290 * Array equations: 0 * Algorithm blocks: 0 * 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 {(8,26,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004463/0.8304, allocations: 227.2 kB / 0.6568 GB, free: 22.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007701/0.8381, allocations: 4.667 MB / 0.6614 GB, free: 17.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.254e-05/0.8381, allocations: 4 kB / 0.6614 GB, free: 17.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003521/0.8416, allocations: 2.088 MB / 0.6634 GB, free: 15.86 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003395/0.845, allocations: 0.6113 MB / 0.664 GB, free: 15.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01642/0.8614, allocations: 10.48 MB / 0.6743 GB, free: 4.645 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002929/0.8644, allocations: 3.365 MB / 0.6776 GB, free: 1.23 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003098/0.8675, allocations: 1.109 MB / 0.6786 GB, free: 120 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009305/0.8684, allocations: 280.4 kB / 0.6789 GB, free: 15.84 MB / 410.7 MB Notification: Performance of SimCode: time 2.675e-06/0.8684, allocations: 0 / 0.6789 GB, free: 15.84 MB / 410.7 MB Notification: Performance of Templates: time 0.2474/1.116, allocations: 43.01 MB / 0.7209 GB, free: 129 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.2941677999915555]