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.001451/0.001451, allocations: 88.72 kB / 19.44 MB, free: 356 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.541/1.541, allocations: 177.1 MB / 199.7 MB, free: 5.809 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.001771/0.001771, allocations: 160 kB / 256.3 MB, free: 13.17 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.03775/0.03775, allocations: 6.66 MB / 319.4 MB, free: 26.56 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_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: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 390.9 MB, free: 2.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.565e-05/3.76e-05, allocations: 6.25 kB / 391 MB, free: 2.91 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip2): time 0.1976/0.1976, allocations: 22 MB / 413 MB, free: 68.97 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01823/0.2158, allocations: 7.809 MB / 420.8 MB, free: 67.78 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006242/0.2221, allocations: 201 kB / 421 MB, free: 67.72 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01633/0.2384, allocations: 6.022 MB / 427 MB, free: 65.68 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01185/0.2503, allocations: 2.831 MB / 429.8 MB, free: 63.82 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006051/0.2563, allocations: 1.61 MB / 431.4 MB, free: 62.56 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01035/0.2667, allocations: 7.64 MB / 439.1 MB, free: 57.79 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0158/0.2825, allocations: 9.005 MB / 448.1 MB, free: 49.41 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01181/0.2943, allocations: 5.655 MB / 453.7 MB, free: 43.75 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006579/0.3008, allocations: 3.621 MB / 457.3 MB, free: 40.12 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00285/0.3037, allocations: 1.07 MB / 458.4 MB, free: 39.05 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004702/0.3084, allocations: 1.452 MB / 459.9 MB, free: 37.6 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002963/0.3114, allocations: 2.189 MB / 462.1 MB, free: 35.4 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00617/0.3175, allocations: 2.76 MB / 464.8 MB, free: 32.64 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01732/0.3348, allocations: 14.7 MB / 479.5 MB, free: 17.9 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.3349, allocations: 0 / 479.5 MB, free: 17.9 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3349, allocations: 0 / 479.5 MB, free: 17.9 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005231/0.3354, allocations: 4 kB / 479.5 MB, free: 17.89 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.03118/0.3666, allocations: 8.834 MB / 488.4 MB, free: 8.984 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.3666, allocations: 12.03 kB / 488.4 MB, free: 8.973 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02665/0.3933, allocations: 5.483 MB / 493.8 MB, free: 3.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0119/0.4052, allocations: 4.808 MB / 498.7 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008313/0.406, allocations: 489 kB / 499.1 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003656/0.4097, allocations: 0.6327 MB / 499.8 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03454/0.4442, allocations: 10.48 MB / 0.4983 GB, free: 2.926 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000422/0.4446, allocations: 15.94 kB / 0.4983 GB, free: 2.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002971/0.4476, allocations: 264 kB / 0.4986 GB, free: 2.652 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006629/0.4482, allocations: 417.7 kB / 0.499 GB, free: 2.242 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02922/0.4775, allocations: 9.853 MB / 0.5086 GB, free: 8.375 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07527/0.5527, allocations: 30.45 MB / 0.5383 GB, free: 9.141 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0175/0.5702, allocations: 6.718 MB / 0.5449 GB, free: 3.133 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004906/0.5751, allocations: 2.121 MB / 0.5469 GB, free: 1.008 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005015/0.5756, allocations: 102.3 kB / 0.547 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.706e-05/0.5757, allocations: 64.89 kB / 0.5471 GB, free: 0.832 MB / 394.7 MB Notification: Performance of pre-optimization done (n=295): time 6.533e-06/0.5757, allocations: 0 / 0.5471 GB, free: 0.832 MB / 394.7 MB Notification: Performance of matching and sorting (n=301): time 0.2053/0.781, allocations: 10.89 MB / 0.5577 GB, free: 118.6 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.7811, allocations: 81.22 kB / 0.5578 GB, free: 118.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004474/0.7855, allocations: 2.886 MB / 0.5606 GB, free: 117.4 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005198/0.7861, allocations: 77.42 kB / 0.5607 GB, free: 117.4 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001918/0.788, allocations: 2.962 MB / 0.5636 GB, free: 115.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001226/0.7892, allocations: 1.07 MB / 0.5646 GB, free: 114.6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002088/0.7913, allocations: 0.9128 MB / 0.5655 GB, free: 114.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.389e-05/0.7914, allocations: 310.1 kB / 0.5658 GB, free: 113.9 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003564/0.7949, allocations: 2.03 MB / 0.5678 GB, free: 113.1 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005199/0.8001, allocations: 3.753 MB / 0.5715 GB, free: 110.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007792/0.8079, allocations: 6.062 MB / 0.5774 GB, free: 106 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000109/0.808, allocations: 15.53 kB / 0.5774 GB, free: 106 MB / 394.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01282/0.8208, allocations: 6.845 MB / 0.5841 GB, free: 101.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001198/0.821, allocations: 28.55 kB / 0.5841 GB, free: 101.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000144/0.8211, allocations: 56 kB / 0.5842 GB, free: 101.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002363/0.8235, allocations: 0.7674 MB / 0.5849 GB, free: 101 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004087/0.8275, allocations: 1.072 MB / 0.586 GB, free: 100.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008089/0.8356, allocations: 6.025 MB / 0.5919 GB, free: 94.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004111/0.8397, allocations: 271.3 kB / 0.5921 GB, free: 94.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009815/0.8407, allocations: 237.5 kB / 0.5923 GB, free: 94.23 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.004716/0.8454, allocations: 2.312 MB / 0.5946 GB, free: 92.01 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001467/0.8469, allocations: 406 kB / 0.595 GB, free: 91.61 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008493/0.8554, allocations: 4.612 MB / 0.5995 GB, free: 86.96 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.592e-05/0.8554, allocations: 32.55 kB / 0.5995 GB, free: 86.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-05/0.8555, allocations: 8 kB / 0.5995 GB, free: 86.92 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.201e-05/0.8555, allocations: 21.03 kB / 0.5996 GB, free: 86.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02142/0.8769, allocations: 9.54 MB / 0.6089 GB, free: 77.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.952e-05/0.877, allocations: 7.625 kB / 0.6089 GB, free: 77.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002441/0.8794, allocations: 0.5428 MB / 0.6094 GB, free: 76.76 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00207/0.8815, allocations: 0.6585 MB / 0.6101 GB, free: 76.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005536/0.882, allocations: 67.98 kB / 0.6101 GB, free: 76.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006665/0.8887, allocations: 5.273 MB / 0.6153 GB, free: 70.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/0.8887, allocations: 11.94 kB / 0.6153 GB, free: 70.66 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01052/0.8992, allocations: 6.664 MB / 0.6218 GB, free: 63.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00198/0.9012, allocations: 0.6383 MB / 0.6224 GB, free: 63.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009182/0.9021, allocations: 60 kB / 0.6225 GB, free: 63.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002256/0.9044, allocations: 143.8 kB / 0.6226 GB, free: 63 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005831/0.905, allocations: 217.8 kB / 0.6228 GB, free: 62.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000336/0.9053, allocations: 96.05 kB / 0.6229 GB, free: 62.69 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003474/0.9088, allocations: 1.847 MB / 0.6247 GB, free: 60.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.9088, allocations: 0 / 0.6247 GB, free: 60.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006097/0.9149, allocations: 1.172 MB / 0.6258 GB, free: 59.66 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.000946/0.9158, allocations: 226.8 kB / 0.6261 GB, free: 59.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009263/0.9251, allocations: 4.832 MB / 0.6308 GB, free: 54.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-05/0.9251, allocations: 3.219 kB / 0.6308 GB, free: 54.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004649/0.9297, allocations: 2.12 MB / 0.6329 GB, free: 52.44 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005045/0.9348, allocations: 0.6036 MB / 0.6334 GB, free: 51.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0232/0.958, allocations: 11.27 MB / 0.6445 GB, free: 40.48 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008272/0.9662, allocations: 3.65 MB / 0.648 GB, free: 36.78 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004804/0.9711, allocations: 1.302 MB / 0.6493 GB, free: 35.47 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001623/0.9727, allocations: 284.4 kB / 0.6496 GB, free: 35.2 MB / 394.7 MB Notification: Performance of SimCode: time 2.474e-06/0.9727, allocations: 0 / 0.6496 GB, free: 35.2 MB / 394.7 MB Notification: Performance of Templates: time 0.07376/1.046, allocations: 43.09 MB / 0.6916 GB, free: 8.633 MB / 410.7 MB " [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.848208863986656]