Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Translational.Examples.Brake.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.Translational.Examples.Brake,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.Brake") translateModel(Modelica.Mechanics.Translational.Examples.Brake,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.Brake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7272/0.7272, 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.00212/0.00212, allocations: 159.4 kB / 144 MB, free: 4.789 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.453e-05/1.446e-05, allocations: 4 kB / 173.8 MB, free: 22.8 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05405/0.05408, allocations: 25.18 MB / 199 MB, free: 13.7 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05004/0.1042, allocations: 34.15 MB / 233.2 MB, free: 11.5 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.1044, allocations: 67.94 kB / 233.2 MB, free: 11.43 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01418/0.1186, allocations: 4.981 MB / 238.2 MB, free: 6.422 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1187, allocations: 0 / 238.2 MB, free: 6.422 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.58e-05/0.1187, allocations: 12 kB / 238.2 MB, free: 6.41 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001224/0.1199, allocations: 0.584 MB / 238.8 MB, free: 5.781 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.12, allocations: 8.031 kB / 238.8 MB, free: 5.773 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.1201, allocations: 39.62 kB / 238.9 MB, free: 5.734 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.1205, allocations: 258.2 kB / 239.1 MB, free: 5.441 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.124e-05/0.1205, allocations: 8 kB / 239.1 MB, free: 5.434 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.764e-05/0.1206, allocations: 24 kB / 239.2 MB, free: 5.41 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006614/0.1213, allocations: 357 kB / 239.5 MB, free: 5.062 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005548/0.1219, allocations: 319.6 kB / 239.8 MB, free: 4.746 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.1219, allocations: 0 / 239.8 MB, free: 4.746 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.811e-05/0.1219, allocations: 3.953 kB / 239.8 MB, free: 4.742 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.1219, allocations: 8 kB / 239.8 MB, free: 4.734 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002077/0.124, allocations: 1.056 MB / 240.9 MB, free: 3.609 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003807/0.1244, allocations: 250.7 kB / 241.1 MB, free: 3.352 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/0.1247, allocations: 168.8 kB / 241.3 MB, free: 3.184 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.184e-05/0.1247, allocations: 4 kB / 241.3 MB, free: 3.18 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.1248, allocations: 38.56 kB / 241.3 MB, free: 3.133 MB / 186.7 MB Notification: Performance of pre-optimization done (n=37): time 2.004e-06/0.1248, allocations: 0 / 241.3 MB, free: 3.133 MB / 186.7 MB Notification: Performance of matching and sorting (n=43): time 0.003002/0.1278, allocations: 1.399 MB / 242.7 MB, free: 1.629 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.1279, allocations: 57.31 kB / 242.8 MB, free: 1.562 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.1281, allocations: 187 kB / 243 MB, free: 1.375 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 5.041e-05/0.1282, allocations: 37.64 kB / 243 MB, free: 1.332 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.1283, allocations: 148.8 kB / 243.2 MB, free: 1.184 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.1284, allocations: 142 kB / 243.3 MB, free: 1.043 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.1285, allocations: 0 / 243.3 MB, free: 1.043 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.1286, allocations: 342.8 kB / 243.6 MB, free: 0.6992 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/0.1289, allocations: 185.1 kB / 243.8 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003807/0.1293, allocations: 251.7 kB / 244.1 MB, free: 256 kB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003479/0.1297, allocations: 156.7 kB / 244.2 MB, free: 100 kB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1297, allocations: 0 / 244.2 MB, free: 100 kB / 186.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.1103/0.24, allocations: 0.6092 MB / 244.8 MB, free: 42.66 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.24, allocations: 10.83 kB / 244.8 MB, free: 42.66 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.2401, allocations: 1.375 kB / 244.8 MB, free: 42.66 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009687/0.241, allocations: 0.4957 MB / 245.3 MB, free: 42.65 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/0.2414, allocations: 74.14 kB / 245.4 MB, free: 42.65 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/0.2427, allocations: 1.424 MB / 246.8 MB, free: 41.62 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005537/0.2432, allocations: 85.09 kB / 246.9 MB, free: 41.62 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.211e-05/0.2433, allocations: 21.55 kB / 246.9 MB, free: 41.62 MB / 186.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: brake.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic f = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: brake1.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic f = f(a_relfric)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 16 (brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,brake1.free,$PRE.brake1.startForward,brake1.startForward,$PRE.brake1.startBackward,brake1.startBackward,brake1.locked,$PRE.brake1.mode,brake1.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 45 * 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 prepare postOptimizeDAE: time 0.0002263/0.2436, allocations: 126.7 kB / 247 MB, free: 41.51 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.772e-05/0.2437, allocations: 30.81 kB / 247.1 MB, free: 41.51 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001382/0.2438, allocations: 40.98 kB / 247.1 MB, free: 41.51 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.2438, allocations: 12.14 kB / 247.1 MB, free: 41.5 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.2438, allocations: 0 / 247.1 MB, free: 41.5 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.2439, allocations: 3.172 kB / 247.1 MB, free: 41.5 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00275/0.2466, allocations: 1.252 MB / 248.4 MB, free: 41.17 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.2466, allocations: 2.578 kB / 248.4 MB, free: 41.17 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00028/0.2469, allocations: 56.72 kB / 248.4 MB, free: 41.17 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008274/0.2478, allocations: 483.3 kB / 248.9 MB, free: 41.16 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.991e-05/0.2478, allocations: 15.84 kB / 248.9 MB, free: 41.16 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.2489, allocations: 1.369 MB / 250.3 MB, free: 40.04 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.2489, allocations: 1.219 kB / 250.3 MB, free: 40.04 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.2505, allocations: 0.9261 MB / 251.2 MB, free: 39.52 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/0.2507, allocations: 147.8 kB / 251.4 MB, free: 39.41 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.927e-05/0.2508, allocations: 10.16 kB / 251.4 MB, free: 39.41 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003222/0.2512, allocations: 44.38 kB / 251.4 MB, free: 39.41 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/0.2514, allocations: 100.1 kB / 251.5 MB, free: 39.39 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.279e-05/0.2514, allocations: 23.3 kB / 251.5 MB, free: 39.39 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.000132/0.2516, allocations: 144.9 kB / 251.7 MB, free: 39.29 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2516, allocations: 0 / 251.7 MB, free: 39.29 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.000544/0.2521, allocations: 87.92 kB / 251.8 MB, free: 39.29 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (mass1.s,mass1.v,mass2.s,mass2.v) * Number of discrete variables: 10 (brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,brake1.free,brake1.startForward,brake1.startBackward,brake1.locked,brake1.mode) * Number of discrete states: 6 (brake1.mode,brake1.startForward,brake1.startBackward,brake.mode,brake.startForward,brake.startBackward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * 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 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002748/0.2524, allocations: 131.8 kB / 251.9 MB, free: 39.19 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.2534, allocations: 450.2 kB / 252.3 MB, free: 39.04 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.2534, allocations: 1.344 kB / 252.3 MB, free: 39.04 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004856/0.2539, allocations: 250.2 kB / 252.6 MB, free: 38.95 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.2543, allocations: 38.09 kB / 252.6 MB, free: 38.93 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.2563, allocations: 0.827 MB / 253.4 MB, free: 38.51 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.2566, allocations: 0.7805 MB / 254.2 MB, free: 37.81 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0001477/0.2567, allocations: 34.86 kB / 254.3 MB, free: 37.8 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.987e-05/0.2568, allocations: 30.56 kB / 254.3 MB, free: 37.79 MB / 186.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2568, allocations: 0 / 254.3 MB, free: 37.79 MB / 186.7 MB Notification: Performance of Templates: time 0.01062/0.2674, allocations: 6.703 MB / 261 MB, free: 34.54 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.Brake.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.Brake.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.Brake.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.Brake.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.Brake.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.Brake -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.Brake.pipe 2>&1)