Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.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.OneWayClutchDisengaged,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.002083/0.002083, allocations: 193.2 kB / 16.25 MB, free: 6.641 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.494/1.494, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.001409/0.001409, allocations: 51.92 kB / 278.2 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2792, allocations: 46.63 MB / 324.8 MB, free: 1.902 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003102/0.2823, allocations: 2.258 MB / 327.1 MB, free: 132 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.2836, allocations: 0.7226 MB / 327.8 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.2838, allocations: 4.188 kB / 327.8 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.284, allocations: 23.78 kB / 327.9 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.2842, allocations: 51.14 kB / 327.9 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.2846, allocations: 94.84 kB / 328 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003281/0.2849, allocations: 251.3 kB / 328.2 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.2851, allocations: 68.34 kB / 328.3 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.2853, allocations: 109.1 kB / 328.4 MB, free: 15.17 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.2855, allocations: 122.9 kB / 328.5 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.631e-05/0.2856, allocations: 19 kB / 328.6 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.2857, allocations: 65.45 kB / 328.6 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.331e-05/0.2858, allocations: 52.23 kB / 328.7 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.2859, allocations: 105.2 kB / 328.8 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003559/0.2863, allocations: 282.7 kB / 329 MB, free: 14.75 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2863, allocations: 5.25 kB / 329 MB, free: 14.75 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2863, allocations: 0 / 329 MB, free: 14.75 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.2863, allocations: 0 / 329 MB, free: 14.75 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0008328/0.2872, allocations: 0.5134 MB / 329.6 MB, free: 14.26 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.2872, allocations: 9.781 kB / 329.6 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.531e-05/0.2873, allocations: 24.97 kB / 329.6 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.2875, allocations: 235.6 kB / 329.8 MB, free: 14 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.2876, allocations: 20.88 kB / 329.8 MB, free: 13.99 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.268e-05/0.2876, allocations: 17.62 kB / 329.9 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004234/0.2881, allocations: 224.3 kB / 330.1 MB, free: 13.83 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.2881, allocations: 8.938 kB / 330.1 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.2881, allocations: 6.375 kB / 330.1 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.2881, allocations: 4.562 kB / 330.1 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003516/0.2885, allocations: 164.1 kB / 330.3 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.2897, allocations: 0.7854 MB / 331 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004146/0.2901, allocations: 125.2 kB / 331.2 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.2903, allocations: 74.92 kB / 331.2 MB, free: 12.94 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.2903, allocations: 1.531 kB / 331.2 MB, free: 12.94 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.2904, allocations: 36 kB / 331.3 MB, free: 12.89 MB / 270.1 MB Notification: Performance of pre-optimization done (n=18): time 1.283e-06/0.2904, allocations: 0 / 331.3 MB, free: 12.89 MB / 270.1 MB Notification: Performance of matching and sorting (n=20): time 0.00206/0.2924, allocations: 0.9906 MB / 332.3 MB, free: 12.08 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.2925, allocations: 53.81 kB / 332.3 MB, free: 12.02 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.2927, allocations: 210.4 kB / 332.5 MB, free: 11.86 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.2928, allocations: 30.77 kB / 332.6 MB, free: 11.83 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.2929, allocations: 142.4 kB / 332.7 MB, free: 11.7 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.518e-05/0.2929, allocations: 68.53 kB / 332.8 MB, free: 11.64 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.293, allocations: 56.12 kB / 332.8 MB, free: 11.59 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.2932, allocations: 331.2 kB / 333.1 MB, free: 11.27 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.2934, allocations: 77.73 kB / 333.2 MB, free: 11.23 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.2936, allocations: 117.4 kB / 333.3 MB, free: 11.15 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.2939, allocations: 171.5 kB / 333.5 MB, free: 11.05 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2939, allocations: 4 kB / 333.5 MB, free: 11.05 MB / 270.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004822/0.2944, allocations: 296.3 kB / 333.8 MB, free: 10.76 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.2944, allocations: 6.344 kB / 333.8 MB, free: 10.76 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2944, allocations: 4 kB / 333.8 MB, free: 10.75 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000342/0.2948, allocations: 64.83 kB / 333.9 MB, free: 10.69 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.2949, allocations: 35.97 kB / 333.9 MB, free: 10.65 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000516/0.2955, allocations: 0.6303 MB / 334.5 MB, free: 9.996 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.2957, allocations: 23.97 kB / 334.6 MB, free: 9.973 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.2957, allocations: 4 kB / 334.6 MB, free: 9.969 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (oneWayClutch.free,oneWayClutch.stuck,$PRE.oneWayClutch.stuck,oneWayClutch.locked,oneWayClutch.startForward,$PRE.oneWayClutch.startForward) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001329/0.2958, allocations: 137.8 kB / 334.7 MB, free: 9.824 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/0.2959, allocations: 15.81 kB / 334.7 MB, free: 9.809 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.296, allocations: 25.86 kB / 334.7 MB, free: 9.781 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.296, allocations: 12 kB / 334.7 MB, free: 9.77 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.296, allocations: 0 / 334.7 MB, free: 9.77 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.296, allocations: 0 / 334.7 MB, free: 9.77 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009238/0.297, allocations: 0.5983 MB / 335.3 MB, free: 9.105 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.297, allocations: 3.938 kB / 335.3 MB, free: 9.102 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.2971, allocations: 36.03 kB / 335.4 MB, free: 9.066 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001677/0.2973, allocations: 64.81 kB / 335.4 MB, free: 9 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.2974, allocations: 11.98 kB / 335.5 MB, free: 8.988 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005512/0.2979, allocations: 0.6187 MB / 336.1 MB, free: 8.344 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2979, allocations: 0 / 336.1 MB, free: 8.344 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006356/0.2986, allocations: 417.6 kB / 336.5 MB, free: 7.91 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.2987, allocations: 105.1 kB / 336.6 MB, free: 7.789 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.2987, allocations: 8.062 kB / 336.6 MB, free: 7.781 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.2989, allocations: 19.98 kB / 336.6 MB, free: 7.762 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.374e-05/0.299, allocations: 31.94 kB / 336.6 MB, free: 7.73 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.299, allocations: 4 kB / 336.7 MB, free: 7.727 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001429/0.2992, allocations: 156 kB / 336.8 MB, free: 7.574 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2992, allocations: 0 / 336.8 MB, free: 7.574 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000357/0.2996, allocations: 71.94 kB / 336.9 MB, free: 7.504 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertiaOut.w,oneWayClutch.phi_rel,oneWayClutch.w_rel,torqueLoad.phi) * Number of discrete variables: 3 (oneWayClutch.startForward,oneWayClutch.locked,oneWayClutch.stuck) * Number of discrete states: 2 (oneWayClutch.stuck,oneWayClutch.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002063/0.2998, allocations: 127.1 kB / 337 MB, free: 7.371 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005062/0.3003, allocations: 211.7 kB / 337.2 MB, free: 7.164 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3003, allocations: 0 / 337.2 MB, free: 7.164 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002173/0.3005, allocations: 103.2 kB / 337.3 MB, free: 7.066 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.3009, allocations: 47.89 kB / 337.4 MB, free: 7.02 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.3022, allocations: 0.7361 MB / 338.1 MB, free: 6.254 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.3025, allocations: 0.7439 MB / 338.8 MB, free: 5.484 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.391e-05/0.3026, allocations: 21.95 kB / 338.9 MB, free: 5.461 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.103e-05/0.3027, allocations: 15.44 kB / 338.9 MB, free: 5.445 MB / 270.1 MB Notification: Performance of SimCode: time 1.523e-06/0.3027, allocations: 0 / 338.9 MB, free: 5.445 MB / 270.1 MB Notification: Performance of Templates: time 0.006283/0.309, allocations: 3.07 MB / 341.9 MB, free: 2.371 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1)