Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) 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(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 107.9 kB / 16.42 MB, free: 6.5 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.002206/0.002206, allocations: 187.1 kB / 17.35 MB, free: 5.754 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.484/1.484, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05523/0.05523, allocations: 10.72 MB / 281.3 MB, free: 1.301 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.42e-05, allocations: 3.406 kB / 391.4 MB, free: 46.04 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.002329/0.002361, allocations: 1.875 MB / 393.3 MB, free: 44.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009847/0.003357, allocations: 0.7278 MB / 394 MB, free: 44.22 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.003482, allocations: 9 kB / 394.1 MB, free: 44.22 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.003592, allocations: 31.59 kB / 394.1 MB, free: 44.2 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.694e-05/0.003696, allocations: 46.69 kB / 394.1 MB, free: 44.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003497/0.004058, allocations: 133.1 kB / 394.3 MB, free: 44.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003158/0.004382, allocations: 316.7 kB / 394.6 MB, free: 43.94 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.004548, allocations: 70.12 kB / 394.6 MB, free: 43.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.004704, allocations: 127.1 kB / 394.8 MB, free: 43.85 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.004868, allocations: 118.2 kB / 394.9 MB, free: 43.79 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.207e-05/0.004916, allocations: 21 kB / 394.9 MB, free: 43.79 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.404e-05/0.004955, allocations: 20.44 kB / 394.9 MB, free: 43.79 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0002164/0.005177, allocations: 398.2 kB / 395.3 MB, free: 43.52 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 9.873e-05/0.005282, allocations: 237.6 kB / 395.5 MB, free: 43.35 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.442e-05/0.005331, allocations: 40.2 kB / 395.6 MB, free: 43.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.936e-05/0.005376, allocations: 14.41 kB / 395.6 MB, free: 43.32 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: 34 (28) * Number of variables: 34 (34) Notification: Performance of Bindings: time 0.000872/0.006254, allocations: 1.104 MB / 396.7 MB, free: 42.46 MB / 318.1 MB Notification: Performance of FunctionAlias: time 3.388e-05/0.006295, allocations: 25.12 kB / 396.7 MB, free: 42.44 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0005154/0.006815, allocations: 0.5578 MB / 397.3 MB, free: 42.09 MB / 318.1 MB Notification: Performance of simplify1: time 4.187e-05/0.006865, allocations: 24.75 kB / 397.3 MB, free: 42.08 MB / 318.1 MB Notification: Performance of Alias: time 0.000951/0.007824, allocations: 0.7688 MB / 398.1 MB, free: 41.61 MB / 318.1 MB Notification: Performance of simplify2: time 2.496e-05/0.007859, allocations: 19.69 kB / 398.1 MB, free: 41.6 MB / 318.1 MB Notification: Performance of Events: time 0.0001865/0.008051, allocations: 126.4 kB / 398.2 MB, free: 41.53 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002842/0.008343, allocations: 218.9 kB / 398.4 MB, free: 41.39 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001661/0.008518, allocations: 139.7 kB / 398.6 MB, free: 41.31 MB / 318.1 MB Notification: Performance of Causalize: time 0.0005567/0.009081, allocations: 468.5 kB / 399 MB, free: 41.14 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004238/0.009514, allocations: 0.5048 MB / 399.5 MB, free: 40.83 MB / 318.1 MB Notification: Performance of Inline: time 0.0006791/0.0102, allocations: 0.7873 MB / 400.3 MB, free: 40.34 MB / 318.1 MB Notification: Performance of Partitioning: time 3.297e-05/0.01024, allocations: 29.94 kB / 400.3 MB, free: 40.32 MB / 318.1 MB Notification: Performance of Cleanup: time 3.59e-05/0.01028, allocations: 39.88 kB / 400.4 MB, free: 40.3 MB / 318.1 MB Notification: Performance of Causalize: time 0.0008603/0.01115, allocations: 0.7019 MB / 401.1 MB, free: 40.05 MB / 318.1 MB Notification: Performance of Tearing: time 5.761e-06/0.01117, allocations: 0 / 401.1 MB, free: 40.05 MB / 318.1 MB Notification: Performance of Initialization: time 2.7e-07/0.01117, allocations: 4 kB / 401.1 MB, free: 40.05 MB / 318.1 MB Notification: Performance of Tearing: time 3.557e-06/0.01118, allocations: 1.375 kB / 401.1 MB, free: 40.05 MB / 318.1 MB Notification: Performance of Categorize: time 8.656e-06/0.01119, allocations: 1.094 kB / 401.1 MB, free: 40.05 MB / 318.1 MB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min Error: Internal error NBSolve.solveStrongComponent failed with status = Solve.UNSOLVABLE while trying to solve following strong component: BLOCK: Single Strong Component (status = Solve.UNPROCESSED) ------------------------------------------------------------- ### Variable: protected Real LLaw.Y ### Equation: [SCAL] (1) LLaw.y = min(3.0, max(0.0, LLaw.Y)) ($RES_SIM_36) Error: Internal error NBSolve.solveStrongComponent failed with status = Solve.UNSOLVABLE while trying to solve following strong component: BLOCK: Multi Strong Component (status = Solve.UNPROCESSED) ------------------------------------------------------------ ### Variables: protected Real LLaw.Y protected Real LLaw.uF Real $DER.LLaw.uF ### Equation: [-IF-] (3)if not LLtr.ts then [----] [SCAL] (1) LLaw.uF + 2.0 * $DER.LLaw.uF = LLaw.K1 * LL.u ($RES_SIM_34) [----] [SCAL] (1) LLaw.Y = LLaw.K2 * LLaw.K1 * LL.u + LLaw.uF ($RES_SIM_35) [----] [SCAL] (1) LLaw.y = min(3.0, max(0.0, LLaw.Y)) ($RES_SIM_36) [----] else [----] [SCAL] (1) LLaw.uF + 0.001 * $DER.LLaw.uF = LLaw.y - LLaw.K2 * LLaw.K1 * LL.u ($RES_SIM_37) [----] [SCAL] (1) LLaw.Y = LLtr.tr ($RES_SIM_38) [----] [SCAL] (1) LLaw.y = min(3.0, max(0.0, LLaw.Y)) ($RES_SIM_39) [----] end if;