Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.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.0008289/0.0008288, allocations: 84.38 kB / 15.06 MB, free: 1.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.000999/0.000999, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205.4 MB / 222.1 MB, free: 5.879 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.0004407/0.0004407, allocations: 12 kB / 278.9 MB, free: 13.05 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2812, allocations: 47.59 MB / 326.5 MB, free: 1.375 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.002525/0.2838, allocations: 1.836 MB / 328.3 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.2852, allocations: 0.6903 MB / 329 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.2853, allocations: 3.625 kB / 329 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.2854, allocations: 24.66 kB / 329 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.2856, allocations: 57.94 kB / 329.1 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.2859, allocations: 80.22 kB / 329.2 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000254/0.2861, allocations: 229.9 kB / 329.4 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.2863, allocations: 54.62 kB / 329.4 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.2865, allocations: 89.84 kB / 329.5 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.2867, allocations: 101.6 kB / 329.6 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.994e-05/0.2867, allocations: 13.53 kB / 329.6 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.2868, allocations: 48.06 kB / 329.7 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.152e-05/0.2869, allocations: 47.47 kB / 329.7 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.2e-05/0.287, allocations: 60.92 kB / 329.8 MB, free: 14.87 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.2873, allocations: 192.8 kB / 330 MB, free: 14.73 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.2873, allocations: 0 / 330 MB, free: 14.73 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.2873, allocations: 0 / 330 MB, free: 14.73 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.2873, allocations: 1.375 kB / 330 MB, free: 14.73 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.000884/0.2882, allocations: 497.1 kB / 330.5 MB, free: 14.27 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.2883, allocations: 8.75 kB / 330.5 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.619e-05/0.2883, allocations: 23.88 kB / 330.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.2887, allocations: 234.5 kB / 330.7 MB, free: 14.01 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.2887, allocations: 12.59 kB / 330.8 MB, free: 14 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.32e-05/0.2887, allocations: 20.88 kB / 330.8 MB, free: 14 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004477/0.2892, allocations: 224.9 kB / 331 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.2892, allocations: 5.281 kB / 331 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.2893, allocations: 9.5 kB / 331 MB, free: 13.83 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.2893, allocations: 5 kB / 331 MB, free: 13.83 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003533/0.2896, allocations: 170.5 kB / 331.2 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.2909, allocations: 0.785 MB / 332 MB, free: 13.06 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004154/0.2913, allocations: 138.3 kB / 332.1 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.2915, allocations: 68.17 kB / 332.2 MB, free: 12.95 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.2915, allocations: 2.188 kB / 332.2 MB, free: 12.95 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.2916, allocations: 39.66 kB / 332.2 MB, free: 12.9 MB / 270.1 MB Notification: Performance of pre-optimization done (n=18): time 1.563e-06/0.2916, allocations: 0 / 332.2 MB, free: 12.9 MB / 270.1 MB Notification: Performance of matching and sorting (n=20): time 0.002101/0.2937, allocations: 1.014 MB / 333.2 MB, free: 12.09 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.2938, allocations: 57.48 kB / 333.3 MB, free: 12.02 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/0.294, allocations: 209.1 kB / 333.5 MB, free: 11.87 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.294, allocations: 31.83 kB / 333.5 MB, free: 11.83 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.2942, allocations: 137.8 kB / 333.6 MB, free: 11.7 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.454e-05/0.2942, allocations: 75.77 kB / 333.7 MB, free: 11.64 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.352e-05/0.2943, allocations: 5.969 kB / 333.7 MB, free: 11.63 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.2944, allocations: 334.8 kB / 334.1 MB, free: 11.3 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.2946, allocations: 78.36 kB / 334.1 MB, free: 11.27 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.2948, allocations: 122.4 kB / 334.2 MB, free: 11.18 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.295, allocations: 79.08 kB / 334.3 MB, free: 11.15 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.295, allocations: 0 / 334.3 MB, free: 11.15 MB / 270.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005832/0.2956, allocations: 294 kB / 334.6 MB, free: 10.99 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.2957, allocations: 5.031 kB / 334.6 MB, free: 10.99 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.2957, allocations: 0.9688 kB / 334.6 MB, free: 10.99 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003048/0.296, allocations: 70.03 kB / 334.7 MB, free: 10.95 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.2961, allocations: 43.92 kB / 334.7 MB, free: 10.9 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004757/0.2966, allocations: 0.6187 MB / 335.3 MB, free: 10.26 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.2968, allocations: 32 kB / 335.4 MB, free: 10.23 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.2969, allocations: 12 kB / 335.4 MB, free: 10.21 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 ($PRE.oneWayClutch.startForward,oneWayClutch.startForward,oneWayClutch.locked,$PRE.oneWayClutch.stuck,oneWayClutch.stuck,oneWayClutch.free) * 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 (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: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001518/0.297, allocations: 136 kB / 335.5 MB, free: 10.07 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.637e-05/0.2971, allocations: 23.72 kB / 335.5 MB, free: 10.05 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.067e-05/0.2971, allocations: 29.8 kB / 335.6 MB, free: 10.02 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.2971, allocations: 0 / 335.6 MB, free: 10.02 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.2971, allocations: 3.953 kB / 335.6 MB, free: 10.02 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.2972, allocations: 4 kB / 335.6 MB, free: 10.01 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008767/0.298, allocations: 0.6101 MB / 336.2 MB, free: 9.336 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2981, allocations: 0 / 336.2 MB, free: 9.336 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.2982, allocations: 27.98 kB / 336.2 MB, free: 9.309 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001698/0.2984, allocations: 72.89 kB / 336.3 MB, free: 9.234 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.2984, allocations: 3.938 kB / 336.3 MB, free: 9.23 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004804/0.2989, allocations: 0.6226 MB / 336.9 MB, free: 8.582 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.2989, allocations: 0 / 336.9 MB, free: 8.582 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006174/0.2995, allocations: 417.7 kB / 337.3 MB, free: 8.148 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.2997, allocations: 112.9 kB / 337.4 MB, free: 8.02 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/0.2997, allocations: 8 kB / 337.4 MB, free: 8.012 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.2999, allocations: 27.97 kB / 337.5 MB, free: 7.984 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.689e-05/0.3, allocations: 23.97 kB / 337.5 MB, free: 7.961 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.3, allocations: 11.98 kB / 337.5 MB, free: 7.949 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.3002, allocations: 152.2 kB / 337.7 MB, free: 7.801 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3002, allocations: 3.938 kB / 337.7 MB, free: 7.797 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000366/0.3006, allocations: 56 kB / 337.7 MB, free: 7.742 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 (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: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002458/0.3008, allocations: 127.2 kB / 337.8 MB, free: 7.609 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005346/0.3014, allocations: 203.9 kB / 338 MB, free: 7.41 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.3014, allocations: 0 / 338 MB, free: 7.41 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000235/0.3016, allocations: 103.8 kB / 338.1 MB, free: 7.309 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.302, allocations: 39.97 kB / 338.2 MB, free: 7.27 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.3034, allocations: 0.8253 MB / 339 MB, free: 6.414 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.3037, allocations: 0.7365 MB / 339.7 MB, free: 5.652 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.189e-05/0.3038, allocations: 17.95 kB / 339.8 MB, free: 5.637 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.3039, allocations: 23.42 kB / 339.8 MB, free: 5.613 MB / 270.1 MB Notification: Performance of SimCode: time 5.62e-07/0.3039, allocations: 0 / 339.8 MB, free: 5.613 MB / 270.1 MB Notification: Performance of Templates: time 0.006716/0.3106, allocations: 2.808 MB / 342.6 MB, free: 2.805 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_3.1_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1)