Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Friction.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.Friction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Friction") translateModel(Modelica.Mechanics.Rotational.Examples.Friction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Friction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 95 kB / 16.3 MB, free: 5.996 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.001537/0.001537, allocations: 184.5 kB / 17.2 MB, free: 5.914 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.376/1.376, allocations: 205.4 MB / 223.3 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.0004763/0.0004763, allocations: 12 kB / 280.1 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09202/0.09251, allocations: 47.58 MB / 327.7 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Friction): time 0.003058/0.09562, allocations: 2.449 MB / 330.1 MB, free: 1.637 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.09723, allocations: 0.9674 MB / 331.1 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.0974, allocations: 4 kB / 331.1 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.09755, allocations: 43.62 kB / 331.2 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000261/0.09782, allocations: 143.6 kB / 331.3 MB, free: 484 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004039/0.09824, allocations: 167.6 kB / 331.5 MB, free: 316 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004652/0.09871, allocations: 396.3 kB / 331.9 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.09893, allocations: 110.2 kB / 332 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002845/0.09922, allocations: 239.2 kB / 332.2 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002934/0.09952, allocations: 259 kB / 332.4 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.964e-05/0.09958, allocations: 24 kB / 332.5 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.09973, allocations: 67.94 kB / 332.5 MB, free: 15.23 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.09983, allocations: 95.64 kB / 332.6 MB, free: 15.13 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.646e-05/0.09993, allocations: 101.5 kB / 332.7 MB, free: 15.03 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003799/0.1003, allocations: 427.1 kB / 333.1 MB, free: 14.61 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.1003, allocations: 0 / 333.1 MB, free: 14.61 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1003, allocations: 0 / 333.1 MB, free: 14.61 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1003, allocations: 0 / 333.1 MB, free: 14.61 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001272/0.1016, allocations: 0.7134 MB / 333.9 MB, free: 13.85 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.1017, allocations: 12.03 kB / 333.9 MB, free: 13.84 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.1018, allocations: 55.33 kB / 333.9 MB, free: 13.78 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.1021, allocations: 318.1 kB / 334.2 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.12e-05/0.1022, allocations: 29 kB / 334.3 MB, free: 13.4 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.938e-05/0.1023, allocations: 43.91 kB / 334.3 MB, free: 13.36 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008099/0.1031, allocations: 478.3 kB / 334.8 MB, free: 12.88 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.1031, allocations: 0 / 334.8 MB, free: 12.88 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.325e-05/0.1032, allocations: 19.98 kB / 334.8 MB, free: 12.86 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.1032, allocations: 8 kB / 334.8 MB, free: 12.86 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009159/0.1041, allocations: 495.6 kB / 335.3 MB, free: 12.38 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/0.1063, allocations: 1.153 MB / 336.4 MB, free: 11.16 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007723/0.1071, allocations: 400.9 kB / 336.8 MB, free: 10.77 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.077e-05/0.1071, allocations: 8.438 kB / 336.8 MB, free: 10.76 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.1072, allocations: 38.94 kB / 336.9 MB, free: 10.71 MB / 286.1 MB Notification: Performance of pre-optimization done (n=50): time 2.014e-06/0.1072, allocations: 0 / 336.9 MB, free: 10.71 MB / 286.1 MB Notification: Performance of matching and sorting (n=56): time 0.004913/0.1121, allocations: 2.433 MB / 339.3 MB, free: 8.148 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.1122, allocations: 55.97 kB / 339.4 MB, free: 8.082 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.1125, allocations: 283.3 kB / 339.6 MB, free: 7.797 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.277e-05/0.1125, allocations: 41.7 kB / 339.7 MB, free: 7.75 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.1126, allocations: 189.2 kB / 339.9 MB, free: 7.562 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/0.1128, allocations: 185.4 kB / 340 MB, free: 7.379 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.1128, allocations: 11.98 kB / 340.1 MB, free: 7.367 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.113, allocations: 350.8 kB / 340.4 MB, free: 7.016 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004575/0.1134, allocations: 245.2 kB / 340.6 MB, free: 6.777 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004924/0.1139, allocations: 292.8 kB / 340.9 MB, free: 6.484 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004092/0.1144, allocations: 215.2 kB / 341.1 MB, free: 6.277 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1144, allocations: 0 / 341.1 MB, free: 6.277 MB / 286.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00135/0.1157, allocations: 0.7483 MB / 341.9 MB, free: 5.516 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.1158, allocations: 8 kB / 341.9 MB, free: 5.508 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1158, allocations: 0 / 341.9 MB, free: 5.508 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009163/0.1167, allocations: 0.4935 MB / 342.4 MB, free: 5.008 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003673/0.1171, allocations: 95.89 kB / 342.5 MB, free: 4.914 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.1183, allocations: 1.39 MB / 343.9 MB, free: 3.473 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005646/0.1189, allocations: 108 kB / 344 MB, free: 3.367 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.002e-05/0.119, allocations: 24 kB / 344 MB, free: 3.344 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 16 (clutch.free,$PRE.clutch.startForward,clutch.startForward,$PRE.clutch.startBackward,clutch.startBackward,clutch.locked,$PRE.clutch.mode,clutch.mode,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002838/0.1193, allocations: 173.5 kB / 344.2 MB, free: 3.164 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.693e-05/0.1194, allocations: 47.47 kB / 344.2 MB, free: 3.117 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.1195, allocations: 59.69 kB / 344.3 MB, free: 3.055 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.1195, allocations: 11.98 kB / 344.3 MB, free: 3.043 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.1195, allocations: 0 / 344.3 MB, free: 3.043 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.1195, allocations: 0 / 344.3 MB, free: 3.043 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002755/0.1223, allocations: 1.478 MB / 345.8 MB, free: 1.48 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1223, allocations: 0 / 345.8 MB, free: 1.48 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003896/0.1227, allocations: 83.89 kB / 345.8 MB, free: 1.398 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007916/0.1235, allocations: 481.4 kB / 346.3 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.131e-05/0.1236, allocations: 23.97 kB / 346.3 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/0.1248, allocations: 1.378 MB / 347.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1248, allocations: 4.031 kB / 347.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/0.1267, allocations: 1.163 MB / 348.9 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.127, allocations: 164.6 kB / 349 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.845e-05/0.1271, allocations: 20 kB / 349.1 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004283/0.1275, allocations: 79.92 kB / 349.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002248/0.1277, allocations: 112.2 kB / 349.2 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.447e-05/0.1278, allocations: 23.97 kB / 349.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002036/0.128, allocations: 198 kB / 349.5 MB, free: 13.63 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.128, allocations: 0 / 349.5 MB, free: 13.63 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004951/0.1285, allocations: 140 kB / 349.6 MB, free: 13.5 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (clutch.phi_rel,clutch.w_rel,spring.phi_rel,spring.w_rel,inertia1.phi,inertia1.w) * Number of discrete variables: 10 (clutch.startForward,clutch.startBackward,clutch.locked,clutch.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,clutch.free) * Number of discrete states: 6 (brake.mode,brake.startBackward,brake.startForward,clutch.mode,clutch.startForward,clutch.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 41 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 7,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002428/0.1288, allocations: 135.2 kB / 349.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.13, allocations: 0.6044 MB / 350.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.13, allocations: 0 / 350.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006832/0.1307, allocations: 346.6 kB / 350.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.1312, allocations: 64.27 kB / 350.7 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003763/0.1349, allocations: 1.765 MB / 352.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/0.1354, allocations: 0.8326 MB / 353.3 MB, free: 9.695 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001722/0.1356, allocations: 39.28 kB / 353.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.807e-05/0.1356, allocations: 35.36 kB / 353.4 MB, free: 9.617 MB / 302.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1357, allocations: 0 / 353.4 MB, free: 9.617 MB / 302.1 MB Notification: Performance of Templates: time 0.01356/0.1492, allocations: 8.914 MB / 362.3 MB, free: 0.6953 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Friction.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Friction.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Friction.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Friction.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Friction.sim & ./Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Friction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Friction.pipe 2>&1) Environment - environmentSimulation: