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.008064/0.008064, allocations: 99.91 kB / 15.73 MB, free: 6.492 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.00191/0.00191, allocations: 203.9 kB / 16.68 MB, free: 6.375 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.525/1.525, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.001225/0.001225, allocations: 54.36 kB / 326.5 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1127, allocations: 46.61 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.00459/0.1174, allocations: 2.205 MB / 375.4 MB, free: 15.11 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.1191, allocations: 0.7291 MB / 376.1 MB, free: 14.37 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/0.1193, allocations: 7.938 kB / 376.1 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002471/0.1196, allocations: 35.66 kB / 376.1 MB, free: 14.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002068/0.1198, allocations: 67.47 kB / 376.2 MB, free: 14.26 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003635/0.1202, allocations: 91.81 kB / 376.3 MB, free: 14.17 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003227/0.1205, allocations: 271.4 kB / 376.6 MB, free: 13.9 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.1207, allocations: 61.45 kB / 376.6 MB, free: 13.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.1209, allocations: 107.6 kB / 376.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.1211, allocations: 119.5 kB / 376.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.917e-05/0.1212, allocations: 20 kB / 376.9 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.1213, allocations: 79.88 kB / 376.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.265e-05/0.1214, allocations: 43.84 kB / 377 MB, free: 13.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.1215, allocations: 119.4 kB / 377.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003634/0.1219, allocations: 274.9 kB / 377.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1219, allocations: 4 kB / 377.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.103e-06/0.1219, allocations: 0 / 377.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.1219, allocations: 0 / 377.4 MB, free: 13.09 MB / 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.0009195/0.1229, allocations: 0.5222 MB / 377.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1229, allocations: 8.031 kB / 377.9 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.029e-05/0.123, allocations: 28.73 kB / 377.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.1234, allocations: 243.9 kB / 378.2 MB, free: 12.21 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.1234, allocations: 16.81 kB / 378.2 MB, free: 12.19 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.29e-05/0.1235, allocations: 20.33 kB / 378.2 MB, free: 12.17 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004265/0.1239, allocations: 226 kB / 378.4 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.1239, allocations: 0 / 378.4 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.1239, allocations: 7.984 kB / 378.4 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.124, allocations: 8 kB / 378.4 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003344/0.1243, allocations: 169 kB / 378.6 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.1255, allocations: 0.7721 MB / 379.4 MB, free: 10.92 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003669/0.1259, allocations: 130.5 kB / 379.5 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.126, allocations: 68.84 kB / 379.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.1261, allocations: 4 kB / 379.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.1261, allocations: 34.55 kB / 379.6 MB, free: 10.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.944e-06/0.1261, allocations: 0 / 379.6 MB, free: 10.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.001999/0.1281, allocations: 0.9987 MB / 380.6 MB, free: 9.551 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.1282, allocations: 55.34 kB / 380.7 MB, free: 9.484 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.1284, allocations: 207.4 kB / 380.9 MB, free: 9.273 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.1284, allocations: 25.7 kB / 380.9 MB, free: 9.242 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.905e-05/0.1285, allocations: 152.3 kB / 381 MB, free: 9.086 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.669e-05/0.1286, allocations: 67.39 kB / 381.1 MB, free: 9.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.584e-05/0.1287, allocations: 57.69 kB / 381.2 MB, free: 8.957 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1288, allocations: 330.8 kB / 381.5 MB, free: 8.625 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.129, allocations: 79.95 kB / 381.6 MB, free: 8.547 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.1292, allocations: 115.6 kB / 381.7 MB, free: 8.422 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.1295, allocations: 168.7 kB / 381.8 MB, free: 8.246 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.1295, allocations: 0 / 381.8 MB, free: 8.246 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004928/0.13, allocations: 287.9 kB / 382.1 MB, free: 7.957 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.13, allocations: 8 kB / 382.1 MB, free: 7.949 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.13, allocations: 0 / 382.1 MB, free: 7.949 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002567/0.1303, allocations: 80.8 kB / 382.2 MB, free: 7.867 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.1304, allocations: 39.92 kB / 382.2 MB, free: 7.828 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005182/0.131, allocations: 0.6186 MB / 382.9 MB, free: 7.184 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.1312, allocations: 28.06 kB / 382.9 MB, free: 7.156 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.1312, allocations: 8 kB / 382.9 MB, free: 7.148 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.0001542/0.1314, allocations: 133.8 kB / 383 MB, free: 7.008 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.908e-05/0.1314, allocations: 19.91 kB / 383 MB, free: 6.988 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.424e-05/0.1315, allocations: 29.89 kB / 383.1 MB, free: 6.961 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.1315, allocations: 3.938 kB / 383.1 MB, free: 6.957 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.1315, allocations: 0 / 383.1 MB, free: 6.957 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.1315, allocations: 4 kB / 383.1 MB, free: 6.953 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008422/0.1324, allocations: 0.5959 MB / 383.7 MB, free: 6.293 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1324, allocations: 7.922 kB / 383.7 MB, free: 6.285 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.1326, allocations: 27.98 kB / 383.7 MB, free: 6.258 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001676/0.1327, allocations: 72.88 kB / 383.8 MB, free: 6.184 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.1328, allocations: 12.06 kB / 383.8 MB, free: 6.172 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004222/0.1332, allocations: 0.6225 MB / 384.4 MB, free: 5.523 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.1332, allocations: 0 / 384.4 MB, free: 5.523 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000583/0.1338, allocations: 421.8 kB / 384.8 MB, free: 5.086 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.561e-05/0.1339, allocations: 109 kB / 384.9 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.52e-05/0.1339, allocations: 7.938 kB / 384.9 MB, free: 4.953 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.1341, allocations: 19.98 kB / 385 MB, free: 4.934 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.205e-05/0.1342, allocations: 23.95 kB / 385 MB, free: 4.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.1343, allocations: 4 kB / 385 MB, free: 4.906 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.1344, allocations: 160.2 kB / 385.1 MB, free: 4.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1344, allocations: 0 / 385.1 MB, free: 4.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000324/0.1347, allocations: 67.94 kB / 385.2 MB, free: 4.684 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.000223/0.135, allocations: 119.2 kB / 385.3 MB, free: 4.555 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005197/0.1355, allocations: 199.8 kB / 385.5 MB, free: 4.359 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.1355, allocations: 128 / 385.5 MB, free: 4.359 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002288/0.1357, allocations: 107.8 kB / 385.6 MB, free: 4.254 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.1361, allocations: 28.39 kB / 385.7 MB, free: 4.227 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.1375, allocations: 0.6641 MB / 386.3 MB, free: 3.527 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.1379, allocations: 0.7401 MB / 387.1 MB, free: 2.762 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.576e-05/0.138, allocations: 21.94 kB / 387.1 MB, free: 2.742 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.608e-05/0.1381, allocations: 19.44 kB / 387.1 MB, free: 2.723 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1381, allocations: 4 kB / 387.1 MB, free: 2.719 MB / 318.1 MB Notification: Performance of Templates: time 0.006944/0.145, allocations: 3.23 MB / 390.3 MB, free: 15.48 MB / 334.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)