Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001021/0.001021, allocations: 188.5 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.39/1.39, allocations: 194.3 MB / 203.1 MB, free: 9.324 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.0017/0.001701, allocations: 109.9 kB / 248.1 MB, free: 6.344 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.109e-05/2.111e-05, allocations: 4 kB / 298.1 MB, free: 8.25 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1323, allocations: 44.5 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3557/0.488, allocations: 72.4 MB / 415 MB, free: 23.4 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/0.4883, allocations: 64.78 kB / 415 MB, free: 23.37 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.008966/0.4972, allocations: 3.794 MB / 418.8 MB, free: 20.31 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4973, allocations: 0 / 418.8 MB, free: 20.31 MB / 315.1 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.4973, allocations: 8 kB / 418.8 MB, free: 20.3 MB / 315.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0004649/0.4978, allocations: 471.8 kB / 419.3 MB, free: 19.82 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.4978, allocations: 8.031 kB / 419.3 MB, free: 19.81 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/0.4979, allocations: 25.44 kB / 419.3 MB, free: 19.79 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.4981, allocations: 238.6 kB / 419.6 MB, free: 19.52 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.4981, allocations: 7.266 kB / 419.6 MB, free: 19.52 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.4982, allocations: 19.91 kB / 419.6 MB, free: 19.5 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001916/0.4984, allocations: 111.2 kB / 419.7 MB, free: 19.43 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.4986, allocations: 150.3 kB / 419.8 MB, free: 19.31 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.4986, allocations: 0 / 419.8 MB, free: 19.31 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.4987, allocations: 0 / 419.8 MB, free: 19.31 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.4987, allocations: 8 kB / 419.9 MB, free: 19.3 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007087/0.4994, allocations: 0.5792 MB / 420.4 MB, free: 18.79 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.4996, allocations: 155.8 kB / 420.6 MB, free: 18.68 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.4997, allocations: 90.67 kB / 420.7 MB, free: 18.62 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.4997, allocations: 4 kB / 420.7 MB, free: 18.62 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.4998, allocations: 33.69 kB / 420.7 MB, free: 18.58 MB / 315.1 MB Notification: Performance of pre-optimization done (n=24): time 1.343e-06/0.4998, allocations: 0 / 420.7 MB, free: 18.58 MB / 315.1 MB Notification: Performance of matching and sorting (n=32): time 0.001317/0.5011, allocations: 0.9064 MB / 421.6 MB, free: 17.7 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/0.5011, allocations: 59.39 kB / 421.7 MB, free: 17.63 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.5012, allocations: 131 kB / 421.8 MB, free: 17.51 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.5013, allocations: 25.7 kB / 421.8 MB, free: 17.48 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.075e-05/0.5013, allocations: 140.5 kB / 422 MB, free: 17.36 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.934e-05/0.5014, allocations: 115.4 kB / 422.1 MB, free: 17.26 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.337e-06/0.5014, allocations: 4 kB / 422.1 MB, free: 17.25 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 7.14e-05/0.5015, allocations: 332.8 kB / 422.4 MB, free: 16.93 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.908e-05/0.5016, allocations: 54.69 kB / 422.5 MB, free: 16.9 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.512e-05/0.5017, allocations: 86.72 kB / 422.5 MB, free: 16.83 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.5018, allocations: 76.39 kB / 422.6 MB, free: 16.79 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.5018, allocations: 0 / 422.6 MB, free: 16.79 MB / 315.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003267/0.5021, allocations: 258.7 kB / 422.9 MB, free: 16.58 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.5021, allocations: 6.812 kB / 422.9 MB, free: 16.57 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.5021, allocations: 0 / 422.9 MB, free: 16.57 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001411/0.5023, allocations: 43.41 kB / 422.9 MB, free: 16.54 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.5025, allocations: 56.41 kB / 423 MB, free: 16.48 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009282/0.5035, allocations: 1.511 MB / 424.5 MB, free: 15 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.5036, allocations: 6.781 kB / 424.5 MB, free: 14.99 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.5036, allocations: 15.19 kB / 424.5 MB, free: 14.98 MB / 315.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.607e-05/0.5037, allocations: 113.7 kB / 424.6 MB, free: 14.86 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.5037, allocations: 19.81 kB / 424.6 MB, free: 14.84 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.136e-05/0.5038, allocations: 23.7 kB / 424.7 MB, free: 14.83 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.5038, allocations: 4 kB / 424.7 MB, free: 14.83 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.5038, allocations: 4 kB / 424.7 MB, free: 14.82 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.5038, allocations: 0 / 424.7 MB, free: 14.82 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008504/0.5047, allocations: 0.6936 MB / 425.4 MB, free: 14.2 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5047, allocations: 8.094 kB / 425.4 MB, free: 14.19 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/0.5049, allocations: 59.86 kB / 425.4 MB, free: 14.13 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.863e-05/0.505, allocations: 35.7 kB / 425.5 MB, free: 14.1 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.505, allocations: 4 kB / 425.5 MB, free: 14.09 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006475/0.5057, allocations: 1.334 MB / 426.8 MB, free: 12.72 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5057, allocations: 0 / 426.8 MB, free: 12.72 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004079/0.5061, allocations: 465.5 kB / 427.3 MB, free: 12.31 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.211e-05/0.5062, allocations: 92.92 kB / 427.3 MB, free: 12.2 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.5062, allocations: 4.031 kB / 427.3 MB, free: 12.2 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.5063, allocations: 7.953 kB / 427.4 MB, free: 12.19 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.5064, allocations: 26.53 kB / 427.4 MB, free: 12.16 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.5064, allocations: 7.562 kB / 427.4 MB, free: 12.16 MB / 315.1 MB Notification: Performance of sorting global known variables: time 4.721e-05/0.5065, allocations: 117.8 kB / 427.5 MB, free: 12.05 MB / 315.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5065, allocations: 4 kB / 427.5 MB, free: 12.05 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0003397/0.5068, allocations: 56 kB / 427.6 MB, free: 12 MB / 315.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001139/0.5069, allocations: 104.8 kB / 427.7 MB, free: 11.89 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0004044/0.5073, allocations: 316.1 kB / 428 MB, free: 11.63 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5074, allocations: 0 / 428 MB, free: 11.63 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002185/0.5076, allocations: 221.1 kB / 428.2 MB, free: 11.44 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.5079, allocations: 25.23 kB / 428.2 MB, free: 11.42 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000802/0.5087, allocations: 0.5737 MB / 428.8 MB, free: 10.87 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.509, allocations: 0.7681 MB / 429.6 MB, free: 10.08 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 7.211e-05/0.5091, allocations: 18.08 kB / 429.6 MB, free: 10.06 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/0.5092, allocations: 19.44 kB / 429.6 MB, free: 10.04 MB / 315.1 MB Notification: Performance of SimCode: time 1.633e-06/0.5092, allocations: 0 / 429.6 MB, free: 10.04 MB / 315.1 MB Notification: Performance of Templates: time 0.004343/0.5135, allocations: 2.25 MB / 431.8 MB, free: 7.855 MB / 315.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1)