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.0008937/0.0008937, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009648/0.0009651, allocations: 168.7 kB / 15.95 MB, free: 204 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.611/1.611, allocations: 205.4 MB / 222.1 MB, free: 5.875 MB / 174.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.75 MB / 281.1 MB, free: 10.77 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.0005407/0.0005407, allocations: 12 kB / 341.6 MB, free: 23.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1017, allocations: 50.01 MB / 391.6 MB, free: 5.793 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.001957/0.1037, allocations: 1.527 MB / 393.2 MB, free: 4.25 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.1049, allocations: 0.6953 MB / 393.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.105, allocations: 7.938 kB / 393.9 MB, free: 3.543 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.1051, allocations: 11.81 kB / 393.9 MB, free: 3.531 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.513e-05/0.1052, allocations: 35.72 kB / 393.9 MB, free: 3.496 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003568/0.1056, allocations: 107.8 kB / 394 MB, free: 3.391 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002934/0.1059, allocations: 243.3 kB / 394.3 MB, free: 3.152 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.1061, allocations: 49.14 kB / 394.3 MB, free: 3.109 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.1062, allocations: 99.5 kB / 394.4 MB, free: 3.012 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.1064, allocations: 107.5 kB / 394.5 MB, free: 2.906 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.1064, allocations: 11.94 kB / 394.5 MB, free: 2.895 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.665e-05/0.1065, allocations: 8 kB / 394.5 MB, free: 2.887 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.822e-05/0.1065, allocations: 43.81 kB / 394.6 MB, free: 2.844 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.534e-05/0.1066, allocations: 65.56 kB / 394.6 MB, free: 2.773 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.1068, allocations: 151.8 kB / 394.8 MB, free: 2.625 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1068, allocations: 3.938 kB / 394.8 MB, free: 2.621 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1068, allocations: 0 / 394.8 MB, free: 2.621 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.1068, allocations: 0 / 394.8 MB, free: 2.621 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.001143/0.1079, allocations: 0.5782 MB / 395.4 MB, free: 1.988 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.108, allocations: 12.03 kB / 395.4 MB, free: 1.977 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.437e-05/0.1081, allocations: 27.72 kB / 395.4 MB, free: 1.949 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/0.1085, allocations: 297.3 kB / 395.7 MB, free: 1.613 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.58e-05/0.1086, allocations: 97.38 kB / 395.8 MB, free: 1.5 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.721e-05/0.1086, allocations: 23.94 kB / 395.8 MB, free: 1.477 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004964/0.1091, allocations: 211.8 kB / 396 MB, free: 1.266 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.1092, allocations: 0 / 396 MB, free: 1.266 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.1092, allocations: 11.95 kB / 396 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.1092, allocations: 4 kB / 396 MB, free: 1.25 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005125/0.1097, allocations: 200.2 kB / 396.2 MB, free: 1.055 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.1111, allocations: 0.7264 MB / 397 MB, free: 284 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000563/0.1117, allocations: 198.4 kB / 397.2 MB, free: 76 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/0.1119, allocations: 112.8 kB / 397.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.204e-05/0.112, allocations: 4 kB / 397.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004513/0.1125, allocations: 183.2 kB / 397.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.1125, allocations: 0 / 397.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009342/0.1134, allocations: 377.1 kB / 397.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.1135, allocations: 51.41 kB / 397.9 MB, free: 15.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.1137, allocations: 232.9 kB / 398.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.1137, allocations: 29.7 kB / 398.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.1138, allocations: 148.3 kB / 398.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.066e-05/0.1139, allocations: 55.28 kB / 398.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.532e-05/0.1139, allocations: 7.938 kB / 398.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002468/0.1142, allocations: 338.8 kB / 398.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/0.1145, allocations: 103.9 kB / 398.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004055/0.1149, allocations: 143.3 kB / 398.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002826/0.1152, allocations: 130.4 kB / 399 MB, free: 14.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1152, allocations: 0 / 399 MB, free: 14.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008093/0.116, allocations: 336.3 kB / 399.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.073e-05/0.116, allocations: 37.69 kB / 399.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.1161, allocations: 4 kB / 399.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.1161, allocations: 0 / 399.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.1173, allocations: 135.9 kB / 399.5 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002643/0.12, allocations: 2.693 MB / 402.2 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.1202, allocations: 39.84 kB / 402.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.1203, allocations: 12 kB / 402.3 MB, free: 10.58 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.0001498/0.1204, allocations: 141.8 kB / 402.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.524e-05/0.1205, allocations: 19.8 kB / 402.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006734/0.1211, allocations: 310.4 kB / 402.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.1212, allocations: 7.984 kB / 402.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.1212, allocations: 4 kB / 402.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1212, allocations: 0 / 402.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.1223, allocations: 0.6624 MB / 403.4 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1223, allocations: 0 / 403.4 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.1233, allocations: 115.9 kB / 403.5 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.1233, allocations: 4 kB / 403.5 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.1233, allocations: 4 kB / 403.5 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1233, allocations: 4 kB / 403.5 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1234, allocations: 0 / 403.5 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.1245, allocations: 0.495 MB / 404 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.39e-05/0.1246, allocations: 104.7 kB / 404.1 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.1246, allocations: 4 kB / 404.1 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.1248, allocations: 36 kB / 404.2 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.1249, allocations: 23.97 kB / 404.2 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.125, allocations: 7.984 kB / 404.2 MB, free: 8.547 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002142/0.1252, allocations: 156.5 kB / 404.4 MB, free: 8.398 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1252, allocations: 0 / 404.4 MB, free: 8.398 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003049/0.1255, allocations: 51.84 kB / 404.4 MB, free: 8.348 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.000126/0.1256, allocations: 107.2 kB / 404.5 MB, free: 8.234 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.1267, allocations: 325.8 kB / 404.8 MB, free: 7.906 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1267, allocations: 4 kB / 404.8 MB, free: 7.902 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002987/0.127, allocations: 119.9 kB / 404.9 MB, free: 7.785 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.1274, allocations: 40.31 kB / 405 MB, free: 7.746 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.1285, allocations: 0.5032 MB / 405.5 MB, free: 7.219 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.1289, allocations: 0.7443 MB / 406.2 MB, free: 6.445 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001275/0.1291, allocations: 33.92 kB / 406.3 MB, free: 6.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.537e-05/0.1292, allocations: 23.38 kB / 406.3 MB, free: 6.387 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1292, allocations: 0 / 406.3 MB, free: 6.387 MB / 302.1 MB Notification: Performance of Templates: time 0.005589/0.1348, allocations: 2.189 MB / 408.5 MB, free: 4.207 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: