Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.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.001845/0.001845, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.512/1.512, allocations: 230.6 MB / 252.7 MB, free: 8.07 MB / 206.1 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.002424/0.002424, allocations: 215.5 kB / 309.2 MB, free: 2.945 MB / 238.1 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.0453/0.0453, allocations: 8.917 MB / 374.6 MB, free: 1.727 MB / 302.1 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_Slip2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2") [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002746/0.002746, allocations: 83.88 kB / 0.4897 GB, free: 6.664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2764, allocations: 55.6 MB / 0.544 GB, free: 26.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip2): time 0.01905/0.2954, allocations: 21.99 MB / 0.5654 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01624/0.3116, allocations: 7.775 MB / 0.573 GB, free: 6.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007013/0.3187, allocations: 205.4 kB / 0.5732 GB, free: 6.879 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01556/0.3342, allocations: 5.708 MB / 0.5788 GB, free: 3.715 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01048/0.3447, allocations: 2.789 MB / 0.5815 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005786/0.3505, allocations: 1.593 MB / 0.5831 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01243/0.3629, allocations: 7.389 MB / 0.5903 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01921/0.3821, allocations: 8.991 MB / 0.5991 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007363/0.3895, allocations: 3.841 MB / 0.6028 GB, free: 412 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008024/0.3975, allocations: 4.033 MB / 0.6068 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002725/0.4002, allocations: 1.074 MB / 0.6078 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005072/0.4053, allocations: 1.449 MB / 0.6092 GB, free: 9.832 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003475/0.4088, allocations: 2.143 MB / 0.6113 GB, free: 7.684 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006892/0.4157, allocations: 3.21 MB / 0.6144 GB, free: 4.461 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02086/0.4365, allocations: 14.56 MB / 0.6287 GB, free: 5.855 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.4365, allocations: 0 / 0.6287 GB, free: 5.855 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4365, allocations: 0 / 0.6287 GB, free: 5.855 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.00039/0.4369, allocations: 0 / 0.6287 GB, free: 5.855 MB / 430.1 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.02796/0.4649, allocations: 8.886 MB / 0.6373 GB, free: 12.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.4649, allocations: 12.03 kB / 0.6374 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02692/0.4919, allocations: 4.409 MB / 0.6417 GB, free: 8.465 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01187/0.5037, allocations: 4.629 MB / 0.6462 GB, free: 3.785 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006358/0.5044, allocations: 489.1 kB / 0.6466 GB, free: 3.305 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003823/0.5082, allocations: 0.6288 MB / 0.6473 GB, free: 2.676 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02613/0.5343, allocations: 10.48 MB / 0.6575 GB, free: 8.09 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001972/0.5345, allocations: 7.953 kB / 0.6575 GB, free: 8.082 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001312/0.5358, allocations: 268 kB / 0.6578 GB, free: 7.82 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004987/0.5363, allocations: 421.6 kB / 0.6582 GB, free: 7.406 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02103/0.5574, allocations: 9.849 MB / 0.6678 GB, free: 13.54 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3229/0.8803, allocations: 29.68 MB / 0.6968 GB, free: 101.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01571/0.896, allocations: 6.688 MB / 0.7033 GB, free: 101.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003203/0.8992, allocations: 2.103 MB / 0.7053 GB, free: 101.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002718/0.8995, allocations: 94.11 kB / 0.7054 GB, free: 101.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.8995, allocations: 59.83 kB / 0.7055 GB, free: 101.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=295): time 6.222e-06/0.8995, allocations: 4.312 kB / 0.7055 GB, free: 101.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=301): time 0.02135/0.9209, allocations: 10.79 MB / 0.716 GB, free: 99.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.9209, allocations: 84.27 kB / 0.7161 GB, free: 99.26 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005295/0.9262, allocations: 2.882 MB / 0.7189 GB, free: 98.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004997/0.9267, allocations: 79.3 kB / 0.719 GB, free: 98.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001961/0.9287, allocations: 2.981 MB / 0.7219 GB, free: 96.19 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001185/0.9299, allocations: 1.079 MB / 0.723 GB, free: 95.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001473/0.9313, allocations: 0.9241 MB / 0.7239 GB, free: 94.91 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.381e-05/0.9314, allocations: 303.5 kB / 0.7242 GB, free: 94.61 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003303/0.9347, allocations: 2.033 MB / 0.7261 GB, free: 93.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003942/0.9387, allocations: 3.755 MB / 0.7298 GB, free: 90.87 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007345/0.946, allocations: 6.063 MB / 0.7357 GB, free: 86.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001148/0.9461, allocations: 15.97 kB / 0.7357 GB, free: 86.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01129/0.9574, allocations: 6.628 MB / 0.7422 GB, free: 84.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.717e-05/0.9575, allocations: 31.91 kB / 0.7423 GB, free: 84.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001095/0.9576, allocations: 53.03 kB / 0.7423 GB, free: 84.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00173/0.9593, allocations: 0.6621 MB / 0.7429 GB, free: 83.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003847/0.9631, allocations: 1.079 MB / 0.744 GB, free: 83.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007775/0.9709, allocations: 6.002 MB / 0.7499 GB, free: 80.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004203/0.9751, allocations: 278.2 kB / 0.7501 GB, free: 80.17 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007646/0.9759, allocations: 239.2 kB / 0.7504 GB, free: 80.13 MB / 494.1 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.00419/0.9801, allocations: 2.311 MB / 0.7526 GB, free: 78.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009281/0.981, allocations: 315.9 kB / 0.7529 GB, free: 78.74 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007004/0.988, allocations: 4.604 MB / 0.7574 GB, free: 76.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.258e-05/0.988, allocations: 33.25 kB / 0.7574 GB, free: 76.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.988, allocations: 3.75 kB / 0.7574 GB, free: 76.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.141e-05/0.9881, allocations: 14.53 kB / 0.7575 GB, free: 76.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02219/1.01, allocations: 9.548 MB / 0.7668 GB, free: 68.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.168e-05/1.01, allocations: 4 kB / 0.7668 GB, free: 68.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003087/1.013, allocations: 0.5305 MB / 0.7673 GB, free: 67.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002165/1.016, allocations: 0.5667 MB / 0.7679 GB, free: 67.09 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004426/1.016, allocations: 71.97 kB / 0.7679 GB, free: 67.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009172/1.025, allocations: 5.226 MB / 0.773 GB, free: 61.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/1.025, allocations: 4.875 kB / 0.773 GB, free: 61.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01387/1.039, allocations: 6.57 MB / 0.7795 GB, free: 54.97 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002961/1.042, allocations: 0.646 MB / 0.7801 GB, free: 54.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001199/1.043, allocations: 59.98 kB / 0.7801 GB, free: 54.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003036/1.046, allocations: 139.9 kB / 0.7803 GB, free: 54.12 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006835/1.047, allocations: 217.8 kB / 0.7805 GB, free: 53.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003923/1.047, allocations: 99.97 kB / 0.7806 GB, free: 53.81 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003979/1.051, allocations: 1.843 MB / 0.7824 GB, free: 51.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.051, allocations: 7.672 kB / 0.7824 GB, free: 51.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006329/1.058, allocations: 1.168 MB / 0.7835 GB, free: 50.79 MB / 494.1 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.0007045/1.058, allocations: 230.2 kB / 0.7837 GB, free: 50.56 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01101/1.069, allocations: 4.827 MB / 0.7885 GB, free: 45.71 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.457e-05/1.069, allocations: 7.562 kB / 0.7885 GB, free: 45.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005056/1.074, allocations: 2.118 MB / 0.7905 GB, free: 43.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005509/1.08, allocations: 0.5658 MB / 0.7911 GB, free: 43.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02116/1.101, allocations: 11.19 MB / 0.802 GB, free: 31.72 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004035/1.105, allocations: 3.643 MB / 0.8056 GB, free: 28.03 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003321/1.108, allocations: 1.305 MB / 0.8068 GB, free: 26.72 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009461/1.109, allocations: 279.4 kB / 0.8071 GB, free: 26.45 MB / 494.1 MB Notification: Performance of SimCode: time 9.82e-07/1.109, allocations: 0 / 0.8071 GB, free: 26.45 MB / 494.1 MB Notification: Performance of Templates: time 0.08053/1.19, allocations: 49.74 MB / 0.8557 GB, free: 9.211 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.482239920645952] Failed to read output from testmodel.py, exit status != 0: 1.200548928231001 1.216753354 0.776513542 Calling exit ...