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.009804/0.009804, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001916/0.001916, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.641/1.641, allocations: 205.1 MB / 222.5 MB, free: 12.21 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.002205/0.002205, allocations: 55.92 kB / 326.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1134, allocations: 46.61 MB / 373.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003791/0.1173, allocations: 2.208 MB / 375.4 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.1187, allocations: 0.7291 MB / 376.1 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.1189, allocations: 3.938 kB / 376.1 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000224/0.1191, allocations: 43.66 kB / 376.1 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002003/0.1193, allocations: 59.47 kB / 376.2 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.1197, allocations: 103.8 kB / 376.3 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002882/0.12, allocations: 259.4 kB / 376.5 MB, free: 1.152 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.1201, allocations: 68.3 kB / 376.6 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.1203, allocations: 123.5 kB / 376.7 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.1205, allocations: 115.5 kB / 376.8 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.343e-05/0.1205, allocations: 20 kB / 376.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.1207, allocations: 67.89 kB / 376.9 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.074e-05/0.1208, allocations: 55.81 kB / 377 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.1209, allocations: 107.5 kB / 377.1 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003521/0.1212, allocations: 275.1 kB / 377.4 MB, free: 344 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.1213, allocations: 0 / 377.4 MB, free: 344 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1213, allocations: 0 / 377.4 MB, free: 344 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.1213, allocations: 0 / 377.4 MB, free: 344 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.2259/0.3472, allocations: 0.5106 MB / 377.9 MB, free: 13.14 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.3473, allocations: 9.625 kB / 377.9 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.3474, allocations: 24.34 kB / 377.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004192/0.3478, allocations: 244.2 kB / 378.1 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.12e-05/0.3478, allocations: 12.53 kB / 378.2 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.439e-05/0.3479, allocations: 20.11 kB / 378.2 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004615/0.3484, allocations: 228.5 kB / 378.4 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.3484, allocations: 2.078 kB / 378.4 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/0.3484, allocations: 11.94 kB / 378.4 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.3485, allocations: 5.5 kB / 378.4 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003609/0.3488, allocations: 162.3 kB / 378.6 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.3501, allocations: 0.7743 MB / 379.3 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003917/0.3505, allocations: 136.4 kB / 379.5 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.3507, allocations: 67.25 kB / 379.5 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.3507, allocations: 2.141 kB / 379.5 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.3508, allocations: 38.86 kB / 379.6 MB, free: 12.33 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.3508, allocations: 1.375 kB / 379.6 MB, free: 12.33 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.001938/0.3527, allocations: 0.9891 MB / 380.6 MB, free: 11.7 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.3528, allocations: 57.62 kB / 380.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002713/0.353, allocations: 207.4 kB / 380.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.3531, allocations: 26.7 kB / 380.9 MB, free: 11.47 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.218e-05/0.3532, allocations: 144.3 kB / 381 MB, free: 11.35 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.962e-05/0.3532, allocations: 74.05 kB / 381.1 MB, free: 11.29 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.3533, allocations: 54.52 kB / 381.1 MB, free: 11.26 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.268e-05/0.3534, allocations: 336.8 kB / 381.5 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.3536, allocations: 76.77 kB / 381.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.3538, allocations: 119.5 kB / 381.6 MB, free: 10.84 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/0.3541, allocations: 168.4 kB / 381.8 MB, free: 10.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3541, allocations: 1.094 kB / 381.8 MB, free: 10.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004899/0.3546, allocations: 286 kB / 382.1 MB, free: 10.62 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.3546, allocations: 5.625 kB / 382.1 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.3547, allocations: 1.156 kB / 382.1 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00028/0.3549, allocations: 72.73 kB / 382.2 MB, free: 10.6 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.3551, allocations: 39.12 kB / 382.2 MB, free: 10.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003932/0.3555, allocations: 0.6212 MB / 382.8 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.3557, allocations: 25.62 kB / 382.9 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.3557, allocations: 8.359 kB / 382.9 MB, free: 10.02 MB / 318.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.0001107/0.3559, allocations: 138.1 kB / 383 MB, free: 9.891 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.905e-05/0.3559, allocations: 21.06 kB / 383 MB, free: 9.879 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.716e-05/0.356, allocations: 28.64 kB / 383 MB, free: 9.855 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.356, allocations: 2 kB / 383 MB, free: 9.855 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.356, allocations: 4.812 kB / 383.1 MB, free: 9.852 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.356, allocations: 2.844 kB / 383.1 MB, free: 9.852 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009079/0.3569, allocations: 0.5924 MB / 383.6 MB, free: 9.418 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.357, allocations: 2.062 kB / 383.7 MB, free: 9.418 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.3571, allocations: 33.88 kB / 383.7 MB, free: 9.414 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002091/0.3573, allocations: 67.52 kB / 383.8 MB, free: 9.391 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.3574, allocations: 10.25 kB / 383.8 MB, free: 9.387 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004283/0.3578, allocations: 0.6224 MB / 384.4 MB, free: 8.82 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3578, allocations: 0 / 384.4 MB, free: 8.82 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006832/0.3585, allocations: 420.5 kB / 384.8 MB, free: 8.562 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.3586, allocations: 113.2 kB / 384.9 MB, free: 8.449 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.3587, allocations: 7.297 kB / 384.9 MB, free: 8.445 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.3589, allocations: 21.34 kB / 384.9 MB, free: 8.441 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.359, allocations: 23.67 kB / 385 MB, free: 8.438 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.3591, allocations: 9.391 kB / 385 MB, free: 8.434 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001805/0.3592, allocations: 151.6 kB / 385.1 MB, free: 8.336 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3592, allocations: 3.938 kB / 385.1 MB, free: 8.332 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004451/0.3597, allocations: 60.11 kB / 385.2 MB, free: 8.328 MB / 318.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.0002931/0.36, allocations: 127.8 kB / 385.3 MB, free: 8.23 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007001/0.3607, allocations: 204.9 kB / 385.5 MB, free: 8.168 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.3607, allocations: 0 / 385.5 MB, free: 8.168 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003092/0.3611, allocations: 100.4 kB / 385.6 MB, free: 8.141 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004984/0.3616, allocations: 31.45 kB / 385.6 MB, free: 8.129 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.3632, allocations: 0.6666 MB / 386.3 MB, free: 7.699 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.3635, allocations: 0.74 MB / 387 MB, free: 7 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.3636, allocations: 20.89 kB / 387.1 MB, free: 6.992 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.756e-05/0.3637, allocations: 17.28 kB / 387.1 MB, free: 6.984 MB / 318.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3637, allocations: 0 / 387.1 MB, free: 6.984 MB / 318.1 MB Notification: Performance of Templates: time 0.01126/0.375, allocations: 3.228 MB / 390.3 MB, free: 6.754 MB / 318.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)