Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.SlewRateLimiter.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.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.SlewRateLimiter") translateModel(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.SlewRateLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 97.7 kB / 16.5 MB, free: 6.688 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.001264/0.001265, allocations: 192.8 kB / 17.42 MB, free: 6.09 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.529/1.529, allocations: 205.1 MB / 223.3 MB, free: 12.49 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.001186/0.001186, allocations: 39.94 kB / 279.3 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1216, allocations: 46.64 MB / 325.9 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003252/0.1249, allocations: 1.728 MB / 327.7 MB, free: 3.148 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.000867/0.1258, allocations: 0.5114 MB / 328.2 MB, free: 2.629 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.867e-05/0.1259, allocations: 0 / 328.2 MB, free: 2.629 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.1261, allocations: 23.86 kB / 328.2 MB, free: 2.605 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.589e-05/0.1262, allocations: 19.84 kB / 328.2 MB, free: 2.586 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.1263, allocations: 31.97 kB / 328.3 MB, free: 2.555 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.1265, allocations: 119.6 kB / 328.4 MB, free: 2.438 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.1266, allocations: 20.89 kB / 328.4 MB, free: 2.418 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.49e-05/0.1267, allocations: 39.8 kB / 328.4 MB, free: 2.379 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.916e-05/0.1268, allocations: 51.7 kB / 328.5 MB, free: 2.328 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.1268, allocations: 8 kB / 328.5 MB, free: 2.32 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.867e-05/0.1268, allocations: 4 kB / 328.5 MB, free: 2.316 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.796e-05/0.1268, allocations: 23.84 kB / 328.5 MB, free: 2.293 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.952e-05/0.1269, allocations: 39.73 kB / 328.6 MB, free: 2.254 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.127, allocations: 91.8 kB / 328.7 MB, free: 2.164 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.127, allocations: 0 / 328.7 MB, free: 2.164 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.127, allocations: 0 / 328.7 MB, free: 2.164 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.127, allocations: 0 / 328.7 MB, free: 2.164 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006736/0.1277, allocations: 427 kB / 329.1 MB, free: 1.699 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1278, allocations: 8.031 kB / 329.1 MB, free: 1.691 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.1278, allocations: 16.75 kB / 329.1 MB, free: 1.676 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.1281, allocations: 216.6 kB / 329.3 MB, free: 1.426 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.1281, allocations: 12.38 kB / 329.3 MB, free: 1.414 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.1281, allocations: 8.125 kB / 329.3 MB, free: 1.406 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.1284, allocations: 136.2 kB / 329.5 MB, free: 1.258 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1285, allocations: 0 / 329.5 MB, free: 1.258 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1285, allocations: 0 / 329.5 MB, free: 1.258 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1285, allocations: 4 kB / 329.5 MB, free: 1.254 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001901/0.1287, allocations: 75.78 kB / 329.5 MB, free: 1.18 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007208/0.1294, allocations: 0.5476 MB / 330.1 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.1298, allocations: 138.4 kB / 330.2 MB, free: 440 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.1299, allocations: 52.83 kB / 330.3 MB, free: 384 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.13, allocations: 0 / 330.3 MB, free: 384 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.13, allocations: 34.56 kB / 330.3 MB, free: 340 kB / 270.1 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.13, allocations: 0 / 330.3 MB, free: 340 kB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.001136/0.1311, allocations: 0.5174 MB / 330.8 MB, free: 15.76 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.1312, allocations: 55.41 kB / 330.9 MB, free: 15.7 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.1314, allocations: 154.2 kB / 331 MB, free: 15.54 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.1314, allocations: 25.7 kB / 331.1 MB, free: 15.5 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.256e-05/0.1315, allocations: 111.9 kB / 331.2 MB, free: 15.39 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.1315, allocations: 47.36 kB / 331.2 MB, free: 15.34 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.1316, allocations: 25.72 kB / 331.2 MB, free: 15.31 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1317, allocations: 326.8 kB / 331.6 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.1318, allocations: 51.95 kB / 331.6 MB, free: 14.93 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.132, allocations: 83.39 kB / 331.7 MB, free: 14.84 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/0.1323, allocations: 135.3 kB / 331.8 MB, free: 14.7 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1323, allocations: 0 / 331.8 MB, free: 14.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003472/0.1326, allocations: 181.4 kB / 332 MB, free: 14.51 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.1327, allocations: 15.12 kB / 332 MB, free: 14.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1327, allocations: 3.938 kB / 332 MB, free: 14.5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1327, allocations: 0 / 332 MB, free: 14.5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.1329, allocations: 36.91 kB / 332 MB, free: 14.46 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.1329, allocations: 4 kB / 332.1 MB, free: 14.46 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.499e-05/0.133, allocations: 11.98 kB / 332.1 MB, free: 14.45 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.133, allocations: 8 kB / 332.1 MB, free: 14.44 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: 1 (positionSmoothed.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.109e-05/0.1331, allocations: 121.8 kB / 332.2 MB, free: 14.31 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.1331, allocations: 15.89 kB / 332.2 MB, free: 14.29 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.32e-05/0.1332, allocations: 16.66 kB / 332.2 MB, free: 14.27 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-05/0.1332, allocations: 3.984 kB / 332.2 MB, free: 14.27 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.1332, allocations: 4 kB / 332.2 MB, free: 14.27 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1333, allocations: 0 / 332.2 MB, free: 14.27 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007877/0.134, allocations: 0.4958 MB / 332.7 MB, free: 13.71 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1341, allocations: 4 kB / 332.7 MB, free: 13.7 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.1342, allocations: 39.91 kB / 332.8 MB, free: 13.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1342, allocations: 0 / 332.8 MB, free: 13.66 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.1343, allocations: 8.062 kB / 332.8 MB, free: 13.66 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1343, allocations: 4 kB / 332.8 MB, free: 13.65 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.1343, allocations: 0 / 332.8 MB, free: 13.65 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000533/0.1348, allocations: 313 kB / 333.1 MB, free: 13.32 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.861e-05/0.1349, allocations: 88.92 kB / 333.2 MB, free: 13.22 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.1349, allocations: 8.031 kB / 333.2 MB, free: 13.21 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.135, allocations: 11.98 kB / 333.2 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.919e-05/0.1351, allocations: 15.92 kB / 333.2 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.1351, allocations: 4 kB / 333.2 MB, free: 13.18 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.533e-05/0.1352, allocations: 112 kB / 333.3 MB, free: 13.07 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1352, allocations: 8 kB / 333.3 MB, free: 13.06 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.1355, allocations: 20 kB / 333.3 MB, free: 13.04 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (v.u,positionSmoothed.y,a.u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001218/0.1356, allocations: 103.1 kB / 333.4 MB, free: 12.93 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003776/0.136, allocations: 131.9 kB / 333.6 MB, free: 12.8 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.136, allocations: 4.188 kB / 333.6 MB, free: 12.8 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.1362, allocations: 63.89 kB / 333.6 MB, free: 12.73 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004956/0.1367, allocations: 39.97 kB / 333.7 MB, free: 12.7 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007197/0.1374, allocations: 347 kB / 334 MB, free: 12.32 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.1377, allocations: 0.7126 MB / 334.7 MB, free: 11.59 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.846e-05/0.1378, allocations: 21.3 kB / 334.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.317e-05/0.1378, allocations: 15.44 kB / 334.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1378, allocations: 0 / 334.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of Templates: time 0.004588/0.1424, allocations: 1.51 MB / 336.3 MB, free: 10.05 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.SlewRateLimiter.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1)