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: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001025, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001159/0.001159, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.348/1.348, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05375/0.05375, allocations: 10.75 MB / 280.1 MB, free: 10.72 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.001312/0.001312, allocations: 63.89 kB / 340 MB, free: 23.67 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08873/0.09006, allocations: 49.01 MB / 389 MB, free: 6.602 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.003135/0.09323, allocations: 1.931 MB / 390.9 MB, free: 4.648 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.09442, allocations: 0.7222 MB / 391.6 MB, free: 3.922 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.09454, allocations: 15.88 kB / 391.6 MB, free: 3.906 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.09468, allocations: 15.8 kB / 391.7 MB, free: 3.891 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.894e-05/0.09478, allocations: 35.72 kB / 391.7 MB, free: 3.855 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003635/0.09515, allocations: 115.9 kB / 391.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003047/0.09546, allocations: 275.2 kB / 392.1 MB, free: 3.473 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.09563, allocations: 60.89 kB / 392.1 MB, free: 3.418 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.09579, allocations: 111.5 kB / 392.2 MB, free: 3.309 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.09595, allocations: 119.4 kB / 392.4 MB, free: 3.191 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.087e-05/0.096, allocations: 12 kB / 392.4 MB, free: 3.18 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.451e-05/0.09604, allocations: 12 kB / 392.4 MB, free: 3.168 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.148e-05/0.09612, allocations: 47.75 kB / 392.4 MB, free: 3.121 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.09622, allocations: 99.33 kB / 392.5 MB, free: 3.023 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.09646, allocations: 215.4 kB / 392.7 MB, free: 2.812 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.09647, allocations: 0 / 392.7 MB, free: 2.812 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.09648, allocations: 0 / 392.7 MB, free: 2.812 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.09649, allocations: 0 / 392.7 MB, free: 2.812 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.001156/0.09765, allocations: 0.5979 MB / 393.3 MB, free: 2.16 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.0977, allocations: 8.031 kB / 393.3 MB, free: 2.152 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.054e-05/0.09776, allocations: 54.73 kB / 393.4 MB, free: 2.09 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.911e-05/0.09783, allocations: 32.56 kB / 393.4 MB, free: 2.059 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.09822, allocations: 306.2 kB / 393.7 MB, free: 1.715 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.247e-05/0.09831, allocations: 101.4 kB / 393.8 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.562e-05/0.09837, allocations: 20 kB / 393.8 MB, free: 1.578 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005039/0.09888, allocations: 199.8 kB / 394 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.09889, allocations: 0 / 394 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.09892, allocations: 8 kB / 394.1 MB, free: 1.371 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.09894, allocations: 4 kB / 394.1 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005392/0.09948, allocations: 164.4 kB / 394.2 MB, free: 1.207 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.1009, allocations: 0.7185 MB / 394.9 MB, free: 448 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005256/0.1014, allocations: 166.5 kB / 395.1 MB, free: 272 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/0.1017, allocations: 96.8 kB / 395.2 MB, free: 172 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.1017, allocations: 3.984 kB / 395.2 MB, free: 168 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004881/0.1022, allocations: 175.2 kB / 395.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.1022, allocations: 0 / 395.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001072/0.1033, allocations: 321.2 kB / 395.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/0.1034, allocations: 55.41 kB / 395.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.1036, allocations: 236.8 kB / 396 MB, free: 15.35 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.1037, allocations: 33.7 kB / 396 MB, free: 15.31 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.1038, allocations: 148.3 kB / 396.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.1038, allocations: 51.23 kB / 396.2 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.563e-05/0.1039, allocations: 45.7 kB / 396.2 MB, free: 15.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1041, allocations: 338.8 kB / 396.6 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002938/0.1044, allocations: 95.92 kB / 396.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/0.1047, allocations: 131.2 kB / 396.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005628/0.1053, allocations: 230.1 kB / 397 MB, free: 14.24 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1053, allocations: 0 / 397 MB, free: 14.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007162/0.106, allocations: 318.8 kB / 397.3 MB, free: 13.92 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.329e-05/0.106, allocations: 29.7 kB / 397.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.106, allocations: 0 / 397.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1061, allocations: 4 kB / 397.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001473/0.1075, allocations: 123.9 kB / 397.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002309/0.1099, allocations: 2.697 MB / 400.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002481/0.1101, allocations: 39.83 kB / 400.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.1102, allocations: 12.12 kB / 400.2 MB, free: 10.74 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,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,LLtr.ts,$whenCondition1,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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001466/0.1103, allocations: 133.7 kB / 400.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.1104, allocations: 27.66 kB / 400.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006985/0.1111, allocations: 278.2 kB / 400.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1111, allocations: 0 / 400.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.1111, allocations: 3.938 kB / 400.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1111, allocations: 4 kB / 400.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.1122, allocations: 0.6426 MB / 401.3 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1122, allocations: 0 / 401.3 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001246/0.1135, allocations: 107.8 kB / 401.4 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1135, allocations: 4 kB / 401.4 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/0.1135, allocations: 8 kB / 401.4 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1135, allocations: 0 / 401.4 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1135, allocations: 0 / 401.4 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009466/0.1145, allocations: 457.7 kB / 401.9 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.78e-05/0.1145, allocations: 100.9 kB / 402 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.1146, allocations: 4 kB / 402 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/0.1148, allocations: 27.97 kB / 402 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-05/0.1149, allocations: 27.95 kB / 402 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.115, allocations: 4 kB / 402 MB, free: 8.832 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001269/0.1151, allocations: 168.5 kB / 402.2 MB, free: 8.672 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1151, allocations: 0 / 402.2 MB, free: 8.672 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000334/0.1154, allocations: 47.84 kB / 402.2 MB, free: 8.625 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 (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.001251/0.1167, allocations: 0.9932 MB / 403.2 MB, free: 7.605 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009663/0.1177, allocations: 295.3 kB / 403.5 MB, free: 7.305 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1177, allocations: 7.875 kB / 403.5 MB, free: 7.297 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003188/0.118, allocations: 115.8 kB / 403.6 MB, free: 7.184 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.1184, allocations: 28.45 kB / 403.7 MB, free: 7.156 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003814/0.1222, allocations: 2.623 MB / 406.3 MB, free: 4.422 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.1225, allocations: 0.7441 MB / 407 MB, free: 3.652 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001368/0.1226, allocations: 25.94 kB / 407.1 MB, free: 3.625 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.1228, allocations: 75.41 kB / 407.1 MB, free: 3.555 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1228, allocations: 0 / 407.1 MB, free: 3.555 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01764/0.1404, allocations: 4.652 MB / 411.8 MB, free: 15.01 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002353/0.1407, allocations: 271.3 kB / 412.1 MB, free: 14.65 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.884/2.024, allocations: 4 kB / 412.1 MB, free: 14.64 MB / 318.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL_fmu --startTime=0 --stopTime=22 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe 2>&1)