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.001077/0.001077, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.474/1.474, allocations: 205.1 MB / 222.4 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05428/0.05428, allocations: 10.74 MB / 280.5 MB, free: 10.51 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.001499/0.001499, allocations: 68.11 kB / 340.5 MB, free: 23.32 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09639/0.0979, allocations: 49.02 MB / 389.6 MB, free: 6.238 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.003391/0.1013, allocations: 1.874 MB / 391.4 MB, free: 4.34 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.1027, allocations: 0.7183 MB / 392.1 MB, free: 3.617 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.1029, allocations: 15.88 kB / 392.2 MB, free: 3.602 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.1031, allocations: 27.67 kB / 392.2 MB, free: 3.574 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.1032, allocations: 47.58 kB / 392.2 MB, free: 3.527 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004028/0.1036, allocations: 139.7 kB / 392.4 MB, free: 3.391 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003075/0.1039, allocations: 287.2 kB / 392.7 MB, free: 3.109 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.1041, allocations: 56.97 kB / 392.7 MB, free: 3.059 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.1043, allocations: 131.5 kB / 392.8 MB, free: 2.93 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.1045, allocations: 115.4 kB / 392.9 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.284e-05/0.1045, allocations: 20 kB / 393 MB, free: 2.797 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.551e-05/0.1046, allocations: 20 kB / 393 MB, free: 2.777 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.882e-05/0.1047, allocations: 51.83 kB / 393 MB, free: 2.727 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.1048, allocations: 119.3 kB / 393.2 MB, free: 2.609 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.1051, allocations: 219.4 kB / 393.4 MB, free: 2.395 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.1051, allocations: 0 / 393.4 MB, free: 2.395 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1051, allocations: 0 / 393.4 MB, free: 2.395 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.367e-06/0.1051, allocations: 0 / 393.4 MB, free: 2.395 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.001195/0.1063, allocations: 0.6133 MB / 394 MB, free: 1.727 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.1063, allocations: 15.89 kB / 394 MB, free: 1.711 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.011e-05/0.1064, allocations: 32.56 kB / 394 MB, free: 1.68 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.1068, allocations: 294.6 kB / 394.3 MB, free: 1.348 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.041e-05/0.1069, allocations: 109.2 kB / 394.4 MB, free: 1.223 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.808e-05/0.1069, allocations: 16 kB / 394.4 MB, free: 1.207 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004877/0.1074, allocations: 199.8 kB / 394.6 MB, free: 1.008 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1075, allocations: 0 / 394.6 MB, free: 1.008 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.1075, allocations: 8 kB / 394.6 MB, free: 1 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.1075, allocations: 7.938 kB / 394.7 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005348/0.108, allocations: 172.3 kB / 394.8 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.1095, allocations: 0.7185 MB / 395.5 MB, free: 56 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006071/0.1102, allocations: 170.5 kB / 395.7 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002967/0.1105, allocations: 100.8 kB / 395.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.1105, allocations: 0 / 395.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005768/0.1111, allocations: 171 kB / 396 MB, free: 15.6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 4.268e-06/0.1111, allocations: 0 / 396 MB, free: 15.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001089/0.1122, allocations: 325.2 kB / 396.3 MB, free: 15.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.1123, allocations: 59.41 kB / 396.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003054/0.1126, allocations: 224.9 kB / 396.6 MB, free: 14.97 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.1126, allocations: 29.7 kB / 396.6 MB, free: 14.94 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.1128, allocations: 160.2 kB / 396.7 MB, free: 14.78 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.195e-05/0.1129, allocations: 55.28 kB / 396.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.729e-05/0.113, allocations: 41.7 kB / 396.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.1132, allocations: 342.8 kB / 397.2 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003199/0.1135, allocations: 87.92 kB / 397.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/0.1138, allocations: 131.2 kB / 397.4 MB, free: 14.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006018/0.1144, allocations: 236.9 kB / 397.6 MB, free: 13.86 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1145, allocations: 0 / 397.6 MB, free: 13.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007155/0.1152, allocations: 318.7 kB / 397.9 MB, free: 13.53 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.1152, allocations: 33.8 kB / 398 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1152, allocations: 0 / 398 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.1153, allocations: 4 kB / 398 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/0.1167, allocations: 123.9 kB / 398.1 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002684/0.1194, allocations: 2.878 MB / 401 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/0.1197, allocations: 39.83 kB / 401 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.1198, allocations: 7.984 kB / 401 MB, free: 10.16 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.0001875/0.12, allocations: 145.7 kB / 401.2 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.12, allocations: 23.72 kB / 401.2 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007112/0.1207, allocations: 275.6 kB / 401.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.1207, allocations: 0 / 401.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.71e-07/0.1207, allocations: 0 / 401.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1207, allocations: 0 / 401.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.1218, allocations: 0.6503 MB / 402.1 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1218, allocations: 0 / 402.1 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/0.1231, allocations: 115.9 kB / 402.2 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1231, allocations: 0 / 402.2 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.1231, allocations: 0 / 402.2 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.1231, allocations: 4 kB / 402.2 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1232, allocations: 3.938 kB / 402.2 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009843/0.1241, allocations: 462.3 kB / 402.7 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.84e-05/0.1242, allocations: 104.9 kB / 402.8 MB, free: 8.293 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.1242, allocations: 0 / 402.8 MB, free: 8.293 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.1245, allocations: 27.91 kB / 402.8 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.179e-05/0.1246, allocations: 27.97 kB / 402.8 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.1246, allocations: 12 kB / 402.8 MB, free: 8.227 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001365/0.1248, allocations: 160.5 kB / 403 MB, free: 8.074 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1248, allocations: 0 / 403 MB, free: 8.074 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002976/0.1251, allocations: 43.84 kB / 403 MB, free: 8.031 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.0001384/0.1252, allocations: 111.2 kB / 403.2 MB, free: 7.914 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.1263, allocations: 307.3 kB / 403.5 MB, free: 7.602 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1263, allocations: 0 / 403.5 MB, free: 7.602 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00033/0.1266, allocations: 115.9 kB / 403.6 MB, free: 7.488 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.127, allocations: 36.48 kB / 403.6 MB, free: 7.453 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.128, allocations: 453.4 kB / 404 MB, free: 6.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.1283, allocations: 0.7401 MB / 404.8 MB, free: 6.215 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001422/0.1284, allocations: 37.88 kB / 404.8 MB, free: 6.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.967e-05/0.1285, allocations: 23.44 kB / 404.8 MB, free: 6.156 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1285, allocations: 0 / 404.8 MB, free: 6.156 MB / 302.1 MB Notification: Performance of Templates: time 0.006127/0.1347, allocations: 2.561 MB / 407.4 MB, free: 3.602 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.makefile (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)