Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01141/0.01141, allocations: 102.8 kB / 15.73 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002515/0.002515, allocations: 196.4 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 54.95 kB / 326.5 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09025/0.09146, allocations: 46.62 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.0034/0.0949, allocations: 2.337 MB / 375.5 MB, free: 14.97 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.09597, allocations: 0.6278 MB / 376.1 MB, free: 14.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.09611, allocations: 11.94 kB / 376.1 MB, free: 14.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.09629, allocations: 35.64 kB / 376.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.09646, allocations: 83.27 kB / 376.3 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.09667, allocations: 55.94 kB / 376.3 MB, free: 14.15 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002721/0.09695, allocations: 266.7 kB / 376.6 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.09717, allocations: 114.7 kB / 376.7 MB, free: 13.78 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.09733, allocations: 111.6 kB / 376.8 MB, free: 13.67 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.09748, allocations: 107.5 kB / 376.9 MB, free: 13.56 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.814e-05/0.09752, allocations: 20 kB / 376.9 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.465e-05/0.09757, allocations: 20 kB / 376.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.045e-05/0.09762, allocations: 59.7 kB / 377 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.09775, allocations: 123.4 kB / 377.1 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.09803, allocations: 263 kB / 377.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.09805, allocations: 4 kB / 377.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.09806, allocations: 4 kB / 377.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.09807, allocations: 0 / 377.4 MB, free: 13.08 MB / 318.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.0007552/0.09883, allocations: 0.5146 MB / 377.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.09888, allocations: 11.89 kB / 377.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.098e-05/0.09894, allocations: 28.66 kB / 377.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/0.0993, allocations: 248.5 kB / 378.2 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.09933, allocations: 20.81 kB / 378.2 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.404e-05/0.09938, allocations: 20.38 kB / 378.2 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003707/0.09976, allocations: 195.6 kB / 378.4 MB, free: 11.96 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.09979, allocations: 7.984 kB / 378.4 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.09981, allocations: 8 kB / 378.4 MB, free: 11.94 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.09983, allocations: 4 kB / 378.4 MB, free: 11.94 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002578/0.1001, allocations: 141.6 kB / 378.6 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009078/0.101, allocations: 0.619 MB / 379.2 MB, free: 11.13 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.1013, allocations: 174.5 kB / 379.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.1015, allocations: 108.8 kB / 379.5 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.1015, allocations: 3.984 kB / 379.5 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.1016, allocations: 42.55 kB / 379.5 MB, free: 10.79 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.453e-06/0.1016, allocations: 0 / 379.5 MB, free: 10.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001861/0.1034, allocations: 1.068 MB / 380.6 MB, free: 9.625 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.1035, allocations: 59.34 kB / 380.6 MB, free: 9.555 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.1037, allocations: 179.1 kB / 380.8 MB, free: 9.371 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.1037, allocations: 29.7 kB / 380.8 MB, free: 9.336 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.538e-05/0.1038, allocations: 136.7 kB / 381 MB, free: 9.199 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.386e-05/0.1039, allocations: 118.3 kB / 381.1 MB, free: 9.082 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.413e-05/0.1039, allocations: 53.69 kB / 381.1 MB, free: 9.023 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1041, allocations: 334.8 kB / 381.5 MB, free: 8.688 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.1042, allocations: 75.95 kB / 381.5 MB, free: 8.613 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.1044, allocations: 102.8 kB / 381.6 MB, free: 8.504 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003024/0.1047, allocations: 191.6 kB / 381.8 MB, free: 8.309 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1047, allocations: 0 / 381.8 MB, free: 8.309 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004945/0.1052, allocations: 299.1 kB / 382.1 MB, free: 8.008 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1052, allocations: 5.094 kB / 382.1 MB, free: 8.004 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1052, allocations: 0 / 382.1 MB, free: 8.004 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001736/0.1054, allocations: 48.77 kB / 382.2 MB, free: 7.953 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.1057, allocations: 51.97 kB / 382.2 MB, free: 7.902 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/0.1071, allocations: 1.74 MB / 384 MB, free: 6.027 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.1072, allocations: 12.09 kB / 384 MB, free: 6.016 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.1073, allocations: 12 kB / 384 MB, free: 6.004 MB / 318.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 () * Number of clocked 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 (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 {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001373/0.1074, allocations: 145.7 kB / 384.1 MB, free: 5.852 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.467e-05/0.1075, allocations: 23.66 kB / 384.1 MB, free: 5.828 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.811e-05/0.1075, allocations: 30.66 kB / 384.2 MB, free: 5.797 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.1075, allocations: 7.938 kB / 384.2 MB, free: 5.789 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1075, allocations: 4 kB / 384.2 MB, free: 5.785 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1076, allocations: 7.984 kB / 384.2 MB, free: 5.777 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.1086, allocations: 0.7658 MB / 385 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.1086, allocations: 4 kB / 385 MB, free: 4.934 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/0.1089, allocations: 60.06 kB / 385 MB, free: 4.875 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001124/0.109, allocations: 36.77 kB / 385.1 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.109, allocations: 8 kB / 385.1 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/0.1101, allocations: 1.489 MB / 386.6 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1101, allocations: 0 / 386.6 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000686/0.1108, allocations: 486.4 kB / 387 MB, free: 2.688 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.618e-05/0.1109, allocations: 96.83 kB / 387.1 MB, free: 2.574 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.1109, allocations: 12.03 kB / 387.1 MB, free: 2.562 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.1111, allocations: 8 kB / 387.1 MB, free: 2.555 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.1111, allocations: 23.97 kB / 387.2 MB, free: 2.531 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.1112, allocations: 8 kB / 387.2 MB, free: 2.523 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.1113, allocations: 135.2 kB / 387.3 MB, free: 2.391 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1113, allocations: 0 / 387.3 MB, free: 2.391 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003557/0.1116, allocations: 64 kB / 387.4 MB, free: 2.328 MB / 318.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 () * Number of clocked 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 (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 {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001237/0.1118, allocations: 111.1 kB / 387.5 MB, free: 2.211 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005963/0.1124, allocations: 335.1 kB / 387.8 MB, free: 1.871 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1124, allocations: 0 / 387.8 MB, free: 1.871 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003254/0.1127, allocations: 242.6 kB / 388 MB, free: 1.621 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.1131, allocations: 51.84 kB / 388.1 MB, free: 1.57 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.1144, allocations: 0.7178 MB / 388.8 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.1147, allocations: 0.76 MB / 389.6 MB, free: 32 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.694e-05/0.1148, allocations: 26.27 kB / 389.6 MB, free: 4 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.264e-05/0.1149, allocations: 19.48 kB / 389.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1149, allocations: 4 kB / 389.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of Templates: time 0.006535/0.1214, allocations: 2.723 MB / 392.3 MB, free: 13.25 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1)