Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001474/0.001474, allocations: 112.6 kB / 17.06 MB, free: 6.09 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.001293/0.001293, allocations: 199 kB / 18 MB, free: 5.168 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.551/1.551, allocations: 205.1 MB / 223.9 MB, free: 12.2 MB / 190.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.001289/0.001289, allocations: 47.92 kB / 327.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09631/0.09761, allocations: 46.61 MB / 374.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003536/0.1012, allocations: 2.348 MB / 376.8 MB, free: 2.215 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.1023, allocations: 0.6278 MB / 377.4 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001833/0.1025, allocations: 7.938 kB / 377.5 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001723/0.1027, allocations: 31.66 kB / 377.5 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.1029, allocations: 75.33 kB / 377.6 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.1031, allocations: 43.94 kB / 377.6 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003295/0.1035, allocations: 266.8 kB / 377.9 MB, free: 1.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.1037, allocations: 88.28 kB / 377.9 MB, free: 1.074 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.1039, allocations: 99.64 kB / 378 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.104, allocations: 103.5 kB / 378.1 MB, free: 0.875 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.847e-05/0.1041, allocations: 20 kB / 378.2 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.572e-05/0.1041, allocations: 16 kB / 378.2 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.398e-05/0.1042, allocations: 47.83 kB / 378.2 MB, free: 0.793 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.1043, allocations: 131.3 kB / 378.4 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.1046, allocations: 251.1 kB / 378.6 MB, free: 428 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1046, allocations: 0 / 378.6 MB, free: 428 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1046, allocations: 0 / 378.6 MB, free: 428 kB / 318.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.1046, allocations: 0 / 378.6 MB, free: 428 kB / 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.1744/0.279, allocations: 0.4936 MB / 379.1 MB, free: 13.74 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.279, allocations: 8.375 kB / 379.1 MB, free: 13.74 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.505e-05/0.2791, allocations: 26.16 kB / 379.1 MB, free: 13.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004468/0.2796, allocations: 247.1 kB / 379.4 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.2796, allocations: 19.97 kB / 379.4 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.16e-05/0.2797, allocations: 24.84 kB / 379.4 MB, free: 13.51 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004482/0.2801, allocations: 211.5 kB / 379.6 MB, free: 13.46 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.2802, allocations: 2.828 kB / 379.6 MB, free: 13.46 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.2802, allocations: 14.06 kB / 379.6 MB, free: 13.45 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.2802, allocations: 5.5 kB / 379.6 MB, free: 13.45 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002872/0.2805, allocations: 124.3 kB / 379.8 MB, free: 13.42 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.2815, allocations: 0.7032 MB / 380.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/0.2818, allocations: 145.6 kB / 380.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.282, allocations: 77.92 kB / 380.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.282, allocations: 3.828 kB / 380.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.282, allocations: 38.17 kB / 380.7 MB, free: 12.78 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.683e-06/0.282, allocations: 0 / 380.7 MB, free: 12.78 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001852/0.2839, allocations: 0.8761 MB / 381.6 MB, free: 12.13 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.284, allocations: 58.09 kB / 381.7 MB, free: 12.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.2841, allocations: 176.8 kB / 381.8 MB, free: 11.94 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.2841, allocations: 31.08 kB / 381.9 MB, free: 11.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.2842, allocations: 142.9 kB / 382 MB, free: 11.78 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.383e-05/0.2843, allocations: 87.14 kB / 382.1 MB, free: 11.71 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.317e-05/0.2844, allocations: 49.16 kB / 382.1 MB, free: 11.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.836e-05/0.2845, allocations: 329.2 kB / 382.5 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.2846, allocations: 54.22 kB / 382.5 MB, free: 11.35 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.2848, allocations: 102.9 kB / 382.6 MB, free: 11.28 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002995/0.2851, allocations: 171.2 kB / 382.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.2851, allocations: 0.875 kB / 382.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004609/0.2856, allocations: 254.3 kB / 383 MB, free: 11.06 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.2856, allocations: 6.344 kB / 383 MB, free: 11.06 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2856, allocations: 1.25 kB / 383 MB, free: 11.06 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001825/0.2858, allocations: 39.7 kB / 383.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.286, allocations: 48.94 kB / 383.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/0.2871, allocations: 1.491 MB / 384.6 MB, free: 9.574 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.2872, allocations: 16.3 kB / 384.6 MB, free: 9.566 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.2873, allocations: 7.734 kB / 384.6 MB, free: 9.566 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.0001699/0.2874, allocations: 135.8 kB / 384.8 MB, free: 9.434 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.433e-05/0.2875, allocations: 16.62 kB / 384.8 MB, free: 9.426 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.334e-05/0.2876, allocations: 23.39 kB / 384.8 MB, free: 9.41 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.2876, allocations: 4.031 kB / 384.8 MB, free: 9.41 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.2876, allocations: 5.062 kB / 384.8 MB, free: 9.406 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.2876, allocations: 5.312 kB / 384.8 MB, free: 9.402 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.289, allocations: 0.6481 MB / 385.5 MB, free: 8.922 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.289, allocations: 1.25 kB / 385.5 MB, free: 8.922 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003104/0.2893, allocations: 49.48 kB / 385.5 MB, free: 8.914 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001588/0.2895, allocations: 35.75 kB / 385.6 MB, free: 8.898 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.2895, allocations: 6.859 kB / 385.6 MB, free: 8.895 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001241/0.2908, allocations: 1.489 MB / 387 MB, free: 7.438 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.2908, allocations: 0.8906 kB / 387 MB, free: 7.438 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000884/0.2917, allocations: 405.2 kB / 387.4 MB, free: 7.18 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.72e-05/0.2918, allocations: 98.73 kB / 387.5 MB, free: 7.074 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.2918, allocations: 2.031 kB / 387.5 MB, free: 7.074 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.292, allocations: 8.188 kB / 387.5 MB, free: 7.07 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.896e-05/0.2921, allocations: 19.16 kB / 387.6 MB, free: 7.066 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.2922, allocations: 6.609 kB / 387.6 MB, free: 7.066 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001512/0.2923, allocations: 136.7 kB / 387.7 MB, free: 6.969 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2923, allocations: 0 / 387.7 MB, free: 6.969 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000631/0.293, allocations: 62.5 kB / 387.8 MB, free: 6.957 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.0001975/0.2932, allocations: 99.02 kB / 387.9 MB, free: 6.863 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008882/0.2941, allocations: 300.6 kB / 388.2 MB, free: 6.688 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.2941, allocations: 0 / 388.2 MB, free: 6.688 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004886/0.2946, allocations: 213 kB / 388.4 MB, free: 6.547 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006927/0.2953, allocations: 35.62 kB / 388.4 MB, free: 6.535 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.2971, allocations: 0.6736 MB / 389.1 MB, free: 6.094 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.2974, allocations: 0.7503 MB / 389.8 MB, free: 5.387 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001277/0.2976, allocations: 21.16 kB / 389.8 MB, free: 5.383 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.573e-05/0.2976, allocations: 18.28 kB / 389.9 MB, free: 5.375 MB / 318.1 MB Notification: Performance of SimCode: time 2.174e-06/0.2976, allocations: 1.062 kB / 389.9 MB, free: 5.375 MB / 318.1 MB Notification: Performance of Templates: time 0.01133/0.309, allocations: 2.488 MB / 392.4 MB, free: 5.148 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1)