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.0008805/0.0008806, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009447/0.0009447, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.283/1.283, allocations: 205.4 MB / 222.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05307/0.05307, allocations: 10.74 MB / 281.1 MB, free: 10.45 MB / 238.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.0005388/0.0005389, allocations: 12.22 kB / 341.6 MB, free: 23.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08158/0.08212, allocations: 50.02 MB / 391.6 MB, free: 5.789 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.002119/0.08429, allocations: 1.523 MB / 393.1 MB, free: 4.25 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.08546, allocations: 0.6876 MB / 393.8 MB, free: 3.559 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.08564, allocations: 7.938 kB / 393.8 MB, free: 3.551 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.029e-05/0.0857, allocations: 15.8 kB / 393.8 MB, free: 3.535 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001725/0.08588, allocations: 43.86 kB / 393.9 MB, free: 3.492 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004321/0.08632, allocations: 95.81 kB / 394 MB, free: 3.398 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003065/0.08664, allocations: 167.6 kB / 394.1 MB, free: 3.234 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.08681, allocations: 49.12 kB / 394.2 MB, free: 3.191 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/0.08702, allocations: 103.5 kB / 394.3 MB, free: 3.09 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.08721, allocations: 107.5 kB / 394.4 MB, free: 2.984 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.954e-05/0.08726, allocations: 8 kB / 394.4 MB, free: 2.977 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.113e-05/0.0873, allocations: 12 kB / 394.4 MB, free: 2.965 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.467e-05/0.08735, allocations: 35.84 kB / 394.4 MB, free: 2.93 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.846e-05/0.08743, allocations: 57.58 kB / 394.5 MB, free: 2.867 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.08759, allocations: 155.8 kB / 394.7 MB, free: 2.715 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.0876, allocations: 4 kB / 394.7 MB, free: 2.711 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.08761, allocations: 3.938 kB / 394.7 MB, free: 2.707 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.08762, allocations: 0 / 394.7 MB, free: 2.707 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001096/0.08873, allocations: 0.5782 MB / 395.2 MB, free: 2.074 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.08877, allocations: 16.03 kB / 395.3 MB, free: 2.059 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.265e-05/0.08886, allocations: 27.72 kB / 395.3 MB, free: 2.031 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003873/0.08925, allocations: 297.3 kB / 395.6 MB, free: 1.695 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-05/0.08935, allocations: 93.39 kB / 395.7 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.895e-05/0.08941, allocations: 20 kB / 395.7 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005198/0.08993, allocations: 219.7 kB / 395.9 MB, free: 1.348 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.08995, allocations: 0 / 395.9 MB, free: 1.348 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.08999, allocations: 7.953 kB / 395.9 MB, free: 1.34 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.09, allocations: 7.938 kB / 395.9 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005646/0.09057, allocations: 196.3 kB / 396.1 MB, free: 1.141 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.09206, allocations: 0.7303 MB / 396.8 MB, free: 368 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005526/0.09263, allocations: 202.4 kB / 397 MB, free: 156 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.09267, allocations: 4 kB / 397 MB, free: 152 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005257/0.0932, allocations: 179.2 kB / 397.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 2.905e-06/0.09322, allocations: 0 / 397.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001082/0.09431, allocations: 373.1 kB / 397.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.09437, allocations: 55.41 kB / 397.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000238/0.09461, allocations: 228.9 kB / 397.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.09465, allocations: 29.7 kB / 397.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.09477, allocations: 152.3 kB / 398 MB, free: 15.1 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.678e-05/0.09482, allocations: 55.28 kB / 398.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.413e-05/0.09484, allocations: 4 kB / 398.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.09497, allocations: 334.8 kB / 398.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/0.09527, allocations: 107.9 kB / 398.5 MB, free: 14.6 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000316/0.0956, allocations: 139.3 kB / 398.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/0.09592, allocations: 134.4 kB / 398.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.09593, allocations: 3.938 kB / 398.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000735/0.09667, allocations: 336.4 kB / 399.1 MB, free: 13.97 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.937e-05/0.09672, allocations: 37.69 kB / 399.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.09673, allocations: 0 / 399.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.09676, allocations: 4 kB / 399.2 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/0.09815, allocations: 139.8 kB / 399.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/0.1003, allocations: 2.689 MB / 402 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/0.1005, allocations: 52.05 kB / 402 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.1006, allocations: 8 kB / 402 MB, free: 10.77 MB / 302.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: 10 ($whenCondition2,$whenCondition1,LLtr.ts,$PRE.TSsignal.pulseStart,TSsignal.pulseStart,$PRE.TrackRef.T_start,TrackRef.T_start,$PRE.TrackRef.count,TrackRef.count,LL.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00014/0.1007, allocations: 133.7 kB / 402.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.1008, allocations: 19.81 kB / 402.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006974/0.1015, allocations: 310.4 kB / 402.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.381e-06/0.1015, allocations: 11.89 kB / 402.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.1015, allocations: 0 / 402.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1015, allocations: 3.984 kB / 402.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.1026, allocations: 0.6621 MB / 403.2 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1026, allocations: 4 kB / 403.2 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/0.1038, allocations: 119.8 kB / 403.3 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.1038, allocations: 0 / 403.3 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.1038, allocations: 8 kB / 403.3 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1038, allocations: 0 / 403.3 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1038, allocations: 0 / 403.3 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009623/0.1048, allocations: 0.4939 MB / 403.8 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.814e-05/0.1049, allocations: 104.7 kB / 403.9 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.1049, allocations: 4 kB / 403.9 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/0.1051, allocations: 39.97 kB / 403.9 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.533e-05/0.1052, allocations: 23.95 kB / 404 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.1052, allocations: 4 kB / 404 MB, free: 8.738 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001227/0.1054, allocations: 160.5 kB / 404.1 MB, free: 8.586 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1054, allocations: 0 / 404.1 MB, free: 8.586 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003153/0.1057, allocations: 47.84 kB / 404.2 MB, free: 8.539 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (LLaw.uF,LLtr.uF,LL.uF) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,LLtr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 1 (TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001086/0.1058, allocations: 119.1 kB / 404.3 MB, free: 8.414 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009432/0.1068, allocations: 319.3 kB / 404.6 MB, free: 8.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1068, allocations: 0 / 404.6 MB, free: 8.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003174/0.1071, allocations: 127.9 kB / 404.7 MB, free: 7.965 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.1074, allocations: 28.39 kB / 404.8 MB, free: 7.938 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009595/0.1083, allocations: 0.4992 MB / 405.3 MB, free: 7.414 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.1086, allocations: 0.7521 MB / 406 MB, free: 6.633 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001299/0.1087, allocations: 29.94 kB / 406 MB, free: 6.602 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.241e-05/0.1088, allocations: 19.44 kB / 406.1 MB, free: 6.582 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1088, allocations: 0 / 406.1 MB, free: 6.582 MB / 302.1 MB Notification: Performance of Templates: time 0.005193/0.114, allocations: 2.189 MB / 408.2 MB, free: 4.402 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.makefile Environment - environmentSimulation: (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe 2>&1) Environment - environmentSimulation: