Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.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.001365/0.001365, 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.548/1.548, allocations: 177.1 MB / 199.7 MB, free: 5.812 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.001744/0.001744, allocations: 164.7 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.03837/0.03837, allocations: 6.662 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_Slip3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 391 MB, free: 2.938 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.289e-05/3.486e-05, allocations: 6.312 kB / 391 MB, free: 2.93 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.1891/0.1892, allocations: 22.01 MB / 413 MB, free: 68.95 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01895/0.2081, allocations: 7.805 MB / 420.8 MB, free: 67.78 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00761/0.2157, allocations: 200.5 kB / 421 MB, free: 67.72 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01632/0.232, allocations: 6.027 MB / 427 MB, free: 65.73 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01169/0.2437, allocations: 2.824 MB / 429.8 MB, free: 63.89 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006852/0.2506, allocations: 1.608 MB / 431.4 MB, free: 62.64 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01214/0.2627, allocations: 7.637 MB / 439.1 MB, free: 57.87 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01732/0.28, allocations: 9.012 MB / 448.1 MB, free: 49.54 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0128/0.2928, allocations: 5.651 MB / 453.7 MB, free: 43.88 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00758/0.3004, allocations: 3.613 MB / 457.3 MB, free: 40.25 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00322/0.3036, allocations: 1.07 MB / 458.4 MB, free: 39.18 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005556/0.3092, allocations: 1.46 MB / 459.9 MB, free: 37.72 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002914/0.3121, allocations: 2.186 MB / 462.1 MB, free: 35.53 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006187/0.3183, allocations: 2.768 MB / 464.8 MB, free: 32.76 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01577/0.3341, allocations: 14.7 MB / 479.5 MB, free: 18.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3341, allocations: 0 / 479.5 MB, free: 18.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3341, allocations: 0 / 479.5 MB, free: 18.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004087/0.3345, allocations: 0 / 479.5 MB, free: 18.02 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.02882/0.3633, allocations: 8.826 MB / 488.4 MB, free: 9.113 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.3634, allocations: 16.03 kB / 488.4 MB, free: 9.098 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02714/0.3905, allocations: 5.479 MB / 493.8 MB, free: 3.609 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01155/0.4021, allocations: 4.816 MB / 498.7 MB, free: 14.74 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007755/0.4028, allocations: 485.1 kB / 499.1 MB, free: 14.26 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003233/0.4061, allocations: 0.6327 MB / 499.8 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0342/0.4403, allocations: 10.48 MB / 0.4983 GB, free: 3.051 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004383/0.4407, allocations: 15.89 kB / 0.4983 GB, free: 3.035 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002821/0.4435, allocations: 260 kB / 0.4986 GB, free: 2.781 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006819/0.4442, allocations: 417.7 kB / 0.499 GB, free: 2.371 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0278/0.472, allocations: 9.853 MB / 0.5086 GB, free: 8.504 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08396/0.556, allocations: 30.45 MB / 0.5383 GB, free: 9.281 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01704/0.573, allocations: 6.73 MB / 0.5449 GB, free: 3.262 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005145/0.5782, allocations: 2.121 MB / 0.5469 GB, free: 1.137 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004973/0.5786, allocations: 102.3 kB / 0.547 GB, free: 1.035 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.256e-05/0.5787, allocations: 64.88 kB / 0.5471 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of pre-optimization done (n=295): time 6.392e-06/0.5787, allocations: 0 / 0.5471 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of matching and sorting (n=301): time 0.2162/0.795, allocations: 10.89 MB / 0.5577 GB, free: 118.6 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.795, allocations: 81.25 kB / 0.5578 GB, free: 118.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004758/0.7998, allocations: 2.882 MB / 0.5606 GB, free: 117.4 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006615/0.8005, allocations: 77.42 kB / 0.5607 GB, free: 117.4 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002296/0.8028, allocations: 2.962 MB / 0.5636 GB, free: 115.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001469/0.8042, allocations: 1.073 MB / 0.5646 GB, free: 114.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002119/0.8064, allocations: 0.9111 MB / 0.5655 GB, free: 114.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.272e-05/0.8064, allocations: 309.9 kB / 0.5658 GB, free: 113.9 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003927/0.8103, allocations: 2.027 MB / 0.5678 GB, free: 113.1 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005267/0.8156, allocations: 3.751 MB / 0.5715 GB, free: 110.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007773/0.8234, allocations: 6.06 MB / 0.5774 GB, free: 106 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001315/0.8235, allocations: 15.56 kB / 0.5774 GB, free: 106 MB / 394.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.0156/0.8391, allocations: 6.842 MB / 0.5841 GB, free: 101.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001544/0.8393, allocations: 28 kB / 0.5841 GB, free: 101.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001695/0.8394, allocations: 61.78 kB / 0.5842 GB, free: 101.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002598/0.842, allocations: 0.7702 MB / 0.5849 GB, free: 101.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004272/0.8463, allocations: 1.074 MB / 0.586 GB, free: 100.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00842/0.8547, allocations: 6.027 MB / 0.5919 GB, free: 94.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00465/0.8594, allocations: 266.1 kB / 0.5921 GB, free: 94.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00111/0.8605, allocations: 237.8 kB / 0.5923 GB, free: 94.38 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.005497/0.866, allocations: 2.318 MB / 0.5946 GB, free: 92.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001703/0.8677, allocations: 406 kB / 0.595 GB, free: 91.76 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0098/0.8775, allocations: 4.613 MB / 0.5995 GB, free: 87.11 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.983e-05/0.8775, allocations: 32 kB / 0.5995 GB, free: 87.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.539e-05/0.8775, allocations: 4 kB / 0.5995 GB, free: 87.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.137e-05/0.8776, allocations: 15.94 kB / 0.5995 GB, free: 87.05 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0228/0.9004, allocations: 9.546 MB / 0.6089 GB, free: 77.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.863e-05/0.9004, allocations: 8 kB / 0.6089 GB, free: 77.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002348/0.9028, allocations: 0.5343 MB / 0.6094 GB, free: 76.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002086/0.9049, allocations: 0.6591 MB / 0.61 GB, free: 76.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004941/0.9054, allocations: 75.97 kB / 0.6101 GB, free: 76.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00664/0.912, allocations: 5.276 MB / 0.6153 GB, free: 70.82 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.912, allocations: 7.938 kB / 0.6153 GB, free: 70.81 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01099/0.923, allocations: 6.664 MB / 0.6218 GB, free: 63.99 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00226/0.9253, allocations: 0.6383 MB / 0.6224 GB, free: 63.35 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001172/0.9264, allocations: 67.98 kB / 0.6225 GB, free: 63.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002599/0.929, allocations: 135.9 kB / 0.6226 GB, free: 63.15 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007708/0.9298, allocations: 221.8 kB / 0.6228 GB, free: 62.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004299/0.9302, allocations: 91.97 kB / 0.6229 GB, free: 62.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003746/0.934, allocations: 1.843 MB / 0.6247 GB, free: 60.99 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.934, allocations: 0 / 0.6247 GB, free: 60.99 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006543/0.9405, allocations: 1.176 MB / 0.6258 GB, free: 59.81 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.001059/0.9416, allocations: 236.8 kB / 0.6261 GB, free: 59.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009031/0.9506, allocations: 4.832 MB / 0.6308 GB, free: 54.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/0.9506, allocations: 0 / 0.6308 GB, free: 54.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003757/0.9544, allocations: 2.116 MB / 0.6329 GB, free: 52.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003997/0.9584, allocations: 0.6025 MB / 0.6334 GB, free: 52.04 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02147/0.9799, allocations: 11.27 MB / 0.6445 GB, free: 40.63 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00688/0.9867, allocations: 3.646 MB / 0.648 GB, free: 36.94 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00371/0.9904, allocations: 1.305 MB / 0.6493 GB, free: 35.63 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009446/0.9914, allocations: 284.4 kB / 0.6496 GB, free: 35.36 MB / 394.7 MB Notification: Performance of SimCode: time 1.393e-06/0.9914, allocations: 0 / 0.6496 GB, free: 35.36 MB / 394.7 MB Notification: Performance of Templates: time 0.0718/1.063, allocations: 43.09 MB / 0.6916 GB, free: 8.793 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.8897936519933864]