Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Friction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.Friction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Friction") translateModel(Modelica.Mechanics.Rotational.Examples.Friction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Friction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.9219/0.9219, allocations: 110.8 MB / 118.3 MB, free: 14.47 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001738/0.001738, allocations: 159.4 kB / 144 MB, free: 4.797 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.719e-05/1.722e-05, allocations: 7.938 kB / 173.8 MB, free: 22.79 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04825/0.04829, allocations: 25.18 MB / 199 MB, free: 13.7 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05257/0.1009, allocations: 36.25 MB / 235.3 MB, free: 9.383 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.1013, allocations: 63.97 kB / 235.3 MB, free: 9.32 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01946/0.1207, allocations: 6.771 MB / 242.1 MB, free: 2.523 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1208, allocations: 0 / 242.1 MB, free: 2.523 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.75e-05/0.1208, allocations: 8 kB / 242.1 MB, free: 2.516 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001209/0.122, allocations: 0.6817 MB / 242.8 MB, free: 1.789 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1221, allocations: 8.031 kB / 242.8 MB, free: 1.781 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.1222, allocations: 47.44 kB / 242.9 MB, free: 1.734 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004062/0.1226, allocations: 298.3 kB / 243.1 MB, free: 1.406 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.1226, allocations: 16 kB / 243.2 MB, free: 1.391 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-05/0.1227, allocations: 20 kB / 243.2 MB, free: 1.371 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007/0.1234, allocations: 401.4 kB / 243.6 MB, free: 0.9766 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006747/0.1241, allocations: 385.9 kB / 243.9 MB, free: 0.5938 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.1241, allocations: 7.906 kB / 244 MB, free: 0.5859 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.34e-05/0.1242, allocations: 3.953 kB / 244 MB, free: 0.582 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.1242, allocations: 8 kB / 244 MB, free: 0.5742 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1085/0.2327, allocations: 1.04 MB / 245 MB, free: 41.2 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006009/0.2333, allocations: 316.5 kB / 245.3 MB, free: 41.18 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003386/0.2337, allocations: 223 kB / 245.5 MB, free: 41.17 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.644e-05/0.2337, allocations: 6.438 kB / 245.5 MB, free: 41.17 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.2337, allocations: 39.69 kB / 245.6 MB, free: 41.13 MB / 186.7 MB Notification: Performance of pre-optimization done (n=45): time 3.036e-06/0.2338, allocations: 3.375 kB / 245.6 MB, free: 41.13 MB / 186.7 MB Notification: Performance of matching and sorting (n=51): time 0.003262/0.237, allocations: 1.526 MB / 247.1 MB, free: 40.62 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.2371, allocations: 58.12 kB / 247.2 MB, free: 40.55 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.2374, allocations: 213.2 kB / 247.4 MB, free: 40.46 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 5.098e-05/0.2374, allocations: 34.44 kB / 247.4 MB, free: 40.43 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.2376, allocations: 184.5 kB / 247.6 MB, free: 40.32 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/0.2378, allocations: 172.5 kB / 247.8 MB, free: 40.23 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.2378, allocations: 1.188 kB / 247.8 MB, free: 40.23 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.2379, allocations: 342.6 kB / 248.1 MB, free: 39.92 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003082/0.2382, allocations: 200.3 kB / 248.3 MB, free: 39.92 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003463/0.2386, allocations: 246.2 kB / 248.5 MB, free: 39.9 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/0.239, allocations: 164.6 kB / 248.7 MB, free: 39.89 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.239, allocations: 1.062 kB / 248.7 MB, free: 39.89 MB / 186.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001378/0.2404, allocations: 0.6602 MB / 249.3 MB, free: 39.69 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.2404, allocations: 4.125 kB / 249.4 MB, free: 39.69 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.2404, allocations: 1.375 kB / 249.4 MB, free: 39.69 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.2415, allocations: 0.5153 MB / 249.9 MB, free: 39.57 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/0.2418, allocations: 87.52 kB / 250 MB, free: 39.57 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/0.243, allocations: 1.449 MB / 251.4 MB, free: 38.38 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005047/0.2435, allocations: 87.17 kB / 251.5 MB, free: 38.38 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.707e-05/0.2436, allocations: 26.22 kB / 251.5 MB, free: 38.37 MB / 186.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: clutch.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: brake.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 50 * 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 8,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001719/0.2438, allocations: 118.5 kB / 251.6 MB, free: 38.27 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.263e-05/0.2439, allocations: 35.22 kB / 251.7 MB, free: 38.25 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.244, allocations: 52.81 kB / 251.7 MB, free: 38.21 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.244, allocations: 8.625 kB / 251.7 MB, free: 38.21 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.244, allocations: 3.938 kB / 251.7 MB, free: 38.21 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.244, allocations: 1.922 kB / 251.7 MB, free: 38.21 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/0.2464, allocations: 1.256 MB / 253 MB, free: 37.59 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.2464, allocations: 2.469 kB / 253 MB, free: 37.59 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003768/0.2468, allocations: 82.66 kB / 253.1 MB, free: 37.59 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007826/0.2476, allocations: 497.1 kB / 253.6 MB, free: 37.47 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-05/0.2476, allocations: 19.78 kB / 253.6 MB, free: 37.46 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/0.2487, allocations: 1.398 MB / 255 MB, free: 36.3 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.2487, allocations: 5.938 kB / 255 MB, free: 36.3 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.2502, allocations: 0.9998 MB / 256 MB, free: 35.72 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001993/0.2504, allocations: 164.7 kB / 256.1 MB, free: 35.59 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.933e-05/0.2505, allocations: 9.562 kB / 256.1 MB, free: 35.59 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003858/0.2509, allocations: 68.69 kB / 256.2 MB, free: 35.58 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/0.2511, allocations: 109 kB / 256.3 MB, free: 35.57 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.846e-05/0.2512, allocations: 35.84 kB / 256.4 MB, free: 35.55 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001228/0.2513, allocations: 163 kB / 256.5 MB, free: 35.45 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.002e-06/0.2513, allocations: 3.812 kB / 256.5 MB, free: 35.45 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004942/0.2518, allocations: 107.6 kB / 256.6 MB, free: 35.45 MB / 186.7 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * 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.0002062/0.252, allocations: 129.4 kB / 256.8 MB, free: 35.35 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0007365/0.2528, allocations: 486 kB / 257.2 MB, free: 35.19 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2528, allocations: 0 / 257.2 MB, free: 35.19 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004633/0.2532, allocations: 283.9 kB / 257.5 MB, free: 35.09 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004601/0.2537, allocations: 44.16 kB / 257.5 MB, free: 35.08 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002954/0.2567, allocations: 1.284 MB / 258.8 MB, free: 34.51 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.2569, allocations: 0.8183 MB / 259.6 MB, free: 33.81 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0001533/0.2571, allocations: 36.5 kB / 259.7 MB, free: 33.8 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.999e-05/0.2572, allocations: 30.64 kB / 259.7 MB, free: 33.79 MB / 186.7 MB Notification: Performance of SimCode: time 6.52e-07/0.2572, allocations: 0 / 259.7 MB, free: 33.79 MB / 186.7 MB Notification: Performance of Templates: time 0.009768/0.267, allocations: 7.567 MB / 267.3 MB, free: 28.28 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Friction.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Friction.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Friction.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Friction.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Friction.sim & ./Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Friction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Friction.pipe 2>&1)