Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001144/0.001144, allocations: 92.53 kB / 16.3 MB, free: 5.633 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.001303/0.001303, allocations: 181.4 kB / 17.19 MB, free: 5.566 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.481/1.481, allocations: 205.4 MB / 223.4 MB, free: 13.17 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.0004435/0.0004435, allocations: 15.94 kB / 280.1 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1098, allocations: 47.59 MB / 327.7 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.002374/0.1122, allocations: 1.773 MB / 329.5 MB, free: 2.305 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.1134, allocations: 0.7027 MB / 330.2 MB, free: 1.594 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.1136, allocations: 7.938 kB / 330.2 MB, free: 1.586 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.1137, allocations: 19.84 kB / 330.2 MB, free: 1.566 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000199/0.1139, allocations: 79.77 kB / 330.3 MB, free: 1.488 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.1142, allocations: 71.84 kB / 330.3 MB, free: 1.418 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.1145, allocations: 172.1 kB / 330.5 MB, free: 1.25 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.1146, allocations: 56.36 kB / 330.6 MB, free: 1.195 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.1148, allocations: 91.69 kB / 330.7 MB, free: 1.105 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.115, allocations: 111.5 kB / 330.8 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.115, allocations: 8 kB / 330.8 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.1152, allocations: 47.97 kB / 330.8 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.171e-05/0.1152, allocations: 39.83 kB / 330.9 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.611e-05/0.1153, allocations: 57.64 kB / 330.9 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.1156, allocations: 191.8 kB / 331.1 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1156, allocations: 4 kB / 331.1 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.727e-06/0.1156, allocations: 0 / 331.1 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1156, allocations: 3.938 kB / 331.1 MB, free: 0.6445 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.0007793/0.1164, allocations: 495 kB / 331.6 MB, free: 112 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.1164, allocations: 12.03 kB / 331.6 MB, free: 100 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.1165, allocations: 23.72 kB / 331.6 MB, free: 76 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.1168, allocations: 226.7 kB / 331.9 MB, free: 15.81 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.1168, allocations: 16.44 kB / 331.9 MB, free: 15.8 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.641e-05/0.1169, allocations: 23.91 kB / 331.9 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003905/0.1173, allocations: 221.7 kB / 332.1 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.1173, allocations: 0 / 332.1 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.1173, allocations: 8 kB / 332.1 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.1173, allocations: 8 kB / 332.1 MB, free: 15.53 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003231/0.1177, allocations: 169 kB / 332.3 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.1188, allocations: 0.7875 MB / 333.1 MB, free: 14.51 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/0.1192, allocations: 122.5 kB / 333.2 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.1192, allocations: 7.984 kB / 333.2 MB, free: 14.37 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.1192, allocations: 46.47 kB / 333.2 MB, free: 14.32 MB / 286.1 MB Notification: Performance of pre-optimization done (n=18): time 3.376e-06/0.1192, allocations: 4 kB / 333.3 MB, free: 14.31 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.00189/0.1211, allocations: 1.01 MB / 334.3 MB, free: 13.19 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.1212, allocations: 55.41 kB / 334.3 MB, free: 13.12 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.1214, allocations: 206.5 kB / 334.5 MB, free: 12.91 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.1214, allocations: 33.7 kB / 334.6 MB, free: 12.88 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.025e-05/0.1215, allocations: 136.2 kB / 334.7 MB, free: 12.74 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.576e-05/0.1216, allocations: 67.02 kB / 334.8 MB, free: 12.67 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.408e-05/0.1216, allocations: 8 kB / 334.8 MB, free: 12.66 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1218, allocations: 338.8 kB / 335.1 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.1219, allocations: 75.95 kB / 335.2 MB, free: 12.25 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.1221, allocations: 119.6 kB / 335.3 MB, free: 12.12 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.1222, allocations: 81.09 kB / 335.4 MB, free: 12.04 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1223, allocations: 4 kB / 335.4 MB, free: 12.04 MB / 286.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004677/0.1227, allocations: 292 kB / 335.6 MB, free: 11.75 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1228, allocations: 4 kB / 335.7 MB, free: 11.74 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/0.1228, allocations: 0 / 335.7 MB, free: 11.74 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002741/0.123, allocations: 72.86 kB / 335.7 MB, free: 11.67 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.1232, allocations: 47.92 kB / 335.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004892/0.1237, allocations: 0.6149 MB / 336.4 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.1239, allocations: 24.05 kB / 336.4 MB, free: 10.96 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.1239, allocations: 12 kB / 336.4 MB, free: 10.95 MB / 286.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.0001411/0.1241, allocations: 141.8 kB / 336.6 MB, free: 10.8 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.1241, allocations: 19.72 kB / 336.6 MB, free: 10.78 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.514e-05/0.1242, allocations: 21.88 kB / 336.6 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.1242, allocations: 4 kB / 336.6 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.1242, allocations: 3.953 kB / 336.6 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.1242, allocations: 3.984 kB / 336.6 MB, free: 10.74 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008169/0.125, allocations: 0.6011 MB / 337.2 MB, free: 10.08 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1251, allocations: 0 / 337.2 MB, free: 10.08 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.1252, allocations: 31.92 kB / 337.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000161/0.1254, allocations: 76.88 kB / 337.3 MB, free: 9.969 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.1254, allocations: 11.98 kB / 337.3 MB, free: 9.957 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004584/0.1259, allocations: 0.6147 MB / 337.9 MB, free: 9.316 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.1259, allocations: 11.95 kB / 338 MB, free: 9.305 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006019/0.1265, allocations: 441.1 kB / 338.4 MB, free: 8.836 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.655e-05/0.1266, allocations: 112.9 kB / 338.5 MB, free: 8.707 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.1267, allocations: 4 kB / 338.5 MB, free: 8.703 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.1269, allocations: 31.97 kB / 338.5 MB, free: 8.672 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.556e-05/0.127, allocations: 27.89 kB / 338.6 MB, free: 8.645 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.127, allocations: 4 kB / 338.6 MB, free: 8.641 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000131/0.1271, allocations: 152.2 kB / 338.7 MB, free: 8.492 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1271, allocations: 4 kB / 338.7 MB, free: 8.488 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003202/0.1274, allocations: 64 kB / 338.8 MB, free: 8.426 MB / 286.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.0001903/0.1276, allocations: 115.2 kB / 338.9 MB, free: 8.305 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004768/0.1281, allocations: 195.8 kB / 339.1 MB, free: 8.113 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.1281, allocations: 128 / 339.1 MB, free: 8.113 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002247/0.1284, allocations: 115.7 kB / 339.2 MB, free: 8 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.1287, allocations: 31.75 kB / 339.2 MB, free: 7.969 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.1301, allocations: 0.8168 MB / 340 MB, free: 7.125 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.1304, allocations: 0.7521 MB / 340.8 MB, free: 6.348 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.933e-05/0.1305, allocations: 21.94 kB / 340.8 MB, free: 6.328 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.1306, allocations: 19.44 kB / 340.8 MB, free: 6.309 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1306, allocations: 0 / 340.8 MB, free: 6.309 MB / 286.1 MB Notification: Performance of Templates: time 0.006257/0.1368, allocations: 2.801 MB / 343.6 MB, free: 3.508 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) Environment - environmentSimulation: