Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00571/0.00571, allocations: 106.2 kB / 15.74 MB, free: 6.441 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.001591/0.001591, allocations: 195.1 kB / 16.67 MB, free: 6.355 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.555/1.555, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.001089/0.001089, allocations: 50.98 kB / 326.5 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09428/0.09537, allocations: 46.62 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003544/0.09896, allocations: 2.341 MB / 375.5 MB, free: 14.96 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.1, allocations: 0.6239 MB / 376.1 MB, free: 14.33 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.1002, allocations: 7.938 kB / 376.1 MB, free: 14.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.1004, allocations: 35.66 kB / 376.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001463/0.1005, allocations: 75.33 kB / 376.2 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.1008, allocations: 55.94 kB / 376.3 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002734/0.101, allocations: 262.7 kB / 376.6 MB, free: 13.9 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002175/0.1013, allocations: 84.28 kB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.1014, allocations: 103.6 kB / 376.7 MB, free: 13.72 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.1016, allocations: 103.5 kB / 376.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.492e-05/0.1016, allocations: 20 kB / 376.9 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.284e-05/0.1016, allocations: 20 kB / 376.9 MB, free: 13.58 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.81e-05/0.1017, allocations: 55.7 kB / 376.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.1018, allocations: 115.5 kB / 377 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002726/0.1021, allocations: 247.1 kB / 377.3 MB, free: 13.17 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1021, allocations: 0 / 377.3 MB, free: 13.17 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1021, allocations: 0 / 377.3 MB, free: 13.17 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1021, allocations: 0 / 377.3 MB, free: 13.17 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007786/0.1029, allocations: 0.5029 MB / 377.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.103, allocations: 15.97 kB / 377.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.099e-05/0.103, allocations: 28.66 kB / 377.8 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/0.1034, allocations: 240.6 kB / 378.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.1035, allocations: 16.81 kB / 378.1 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.067e-05/0.1035, allocations: 28.28 kB / 378.1 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003904/0.1039, allocations: 210.2 kB / 378.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.1039, allocations: 4 kB / 378.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.846e-05/0.104, allocations: 8 kB / 378.3 MB, free: 12.03 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.104, allocations: 8 kB / 378.3 MB, free: 12.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002839/0.1043, allocations: 129.6 kB / 378.5 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.1055, allocations: 0.7054 MB / 379.2 MB, free: 11.13 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/0.1058, allocations: 150.5 kB / 379.3 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.1059, allocations: 68.83 kB / 379.4 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.106, allocations: 7.938 kB / 379.4 MB, free: 10.9 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.106, allocations: 34.91 kB / 379.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.106, allocations: 0 / 379.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.00176/0.1078, allocations: 0.8916 MB / 380.3 MB, free: 9.867 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.1078, allocations: 55.41 kB / 380.4 MB, free: 9.801 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.108, allocations: 170.7 kB / 380.5 MB, free: 9.617 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.1081, allocations: 33.7 kB / 380.6 MB, free: 9.578 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.72e-05/0.1082, allocations: 140.3 kB / 380.7 MB, free: 9.438 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.349e-05/0.1083, allocations: 86.75 kB / 380.8 MB, free: 9.352 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.868e-05/0.1083, allocations: 49.7 kB / 380.8 MB, free: 9.297 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1085, allocations: 326.8 kB / 381.2 MB, free: 8.969 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.1086, allocations: 55.97 kB / 381.2 MB, free: 8.914 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.1087, allocations: 100.2 kB / 381.3 MB, free: 8.801 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.109, allocations: 172.1 kB / 381.5 MB, free: 8.617 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.109, allocations: 0 / 381.5 MB, free: 8.617 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004343/0.1095, allocations: 254 kB / 381.7 MB, free: 8.359 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1095, allocations: 11.94 kB / 381.7 MB, free: 8.348 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1095, allocations: 0 / 381.7 MB, free: 8.348 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001728/0.1097, allocations: 36.83 kB / 381.8 MB, free: 8.309 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.1099, allocations: 47.92 kB / 381.8 MB, free: 8.262 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.1112, allocations: 1.492 MB / 383.3 MB, free: 6.629 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.1114, allocations: 8.016 kB / 383.3 MB, free: 6.621 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.1114, allocations: 12 kB / 383.3 MB, free: 6.609 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 27 * 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 prepare postOptimizeDAE: time 0.0001585/0.1116, allocations: 141.8 kB / 383.5 MB, free: 6.461 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.1116, allocations: 15.81 kB / 383.5 MB, free: 6.445 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.956e-05/0.1117, allocations: 25.86 kB / 383.5 MB, free: 6.414 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.1117, allocations: 7.938 kB / 383.5 MB, free: 6.406 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1117, allocations: 0 / 383.5 MB, free: 6.406 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.1117, allocations: 0 / 383.5 MB, free: 6.406 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.1128, allocations: 0.6519 MB / 384.2 MB, free: 5.684 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1128, allocations: 0 / 384.2 MB, free: 5.684 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.113, allocations: 51.91 kB / 384.2 MB, free: 5.633 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001204/0.1131, allocations: 28.84 kB / 384.2 MB, free: 5.602 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.1132, allocations: 4 kB / 384.3 MB, free: 5.598 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001202/0.1144, allocations: 1.485 MB / 385.7 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.1144, allocations: 4.031 kB / 385.7 MB, free: 3.969 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005755/0.115, allocations: 409.9 kB / 386.1 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-05/0.1151, allocations: 92.86 kB / 386.2 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.1151, allocations: 4 kB / 386.2 MB, free: 3.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.1152, allocations: 12 kB / 386.2 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.125e-05/0.1153, allocations: 23.95 kB / 386.3 MB, free: 3.395 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.1153, allocations: 8 kB / 386.3 MB, free: 3.387 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001104/0.1154, allocations: 128.8 kB / 386.4 MB, free: 3.262 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1154, allocations: 0 / 386.4 MB, free: 3.262 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000351/0.1158, allocations: 60 kB / 386.5 MB, free: 3.203 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (21): * Single equations (assignments): 20 * 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.0001634/0.1159, allocations: 107.2 kB / 386.6 MB, free: 3.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005839/0.1165, allocations: 282.7 kB / 386.8 MB, free: 2.801 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.1165, allocations: 0 / 386.8 MB, free: 2.801 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003043/0.1169, allocations: 222.5 kB / 387.1 MB, free: 2.57 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.1173, allocations: 52.27 kB / 387.1 MB, free: 2.52 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.1185, allocations: 0.6574 MB / 387.8 MB, free: 1.828 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.1189, allocations: 0.7519 MB / 388.5 MB, free: 1.051 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.639e-05/0.119, allocations: 17.95 kB / 388.5 MB, free: 1.035 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.939e-05/0.1191, allocations: 19.44 kB / 388.6 MB, free: 1.016 MB / 318.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1191, allocations: 0 / 388.6 MB, free: 1.016 MB / 318.1 MB Notification: Performance of Templates: time 0.005604/0.1247, allocations: 2.414 MB / 391 MB, free: 14.6 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1)