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.005095/0.005095, allocations: 99.8 kB / 15.73 MB, free: 6.043 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.001151/0.001151, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.379/1.379, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05908/0.05908, allocations: 10.75 MB / 280.6 MB, free: 10.42 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.002737/0.002737, allocations: 67.5 kB / 390.3 MB, free: 5.527 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2937, allocations: 49.03 MB / 439.4 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.002678/0.2965, allocations: 1.866 MB / 441.2 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.2976, allocations: 0.7264 MB / 442 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.2978, allocations: 9.625 kB / 442 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.2979, allocations: 24.64 kB / 442 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.824e-05/0.298, allocations: 45.34 kB / 442 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.2984, allocations: 138.6 kB / 442.2 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002819/0.2987, allocations: 291.8 kB / 442.5 MB, free: 2.973 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.2988, allocations: 66.62 kB / 442.5 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.299, allocations: 121.9 kB / 442.6 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.2992, allocations: 123.3 kB / 442.8 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.73e-05/0.2992, allocations: 20.62 kB / 442.8 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.584e-05/0.2992, allocations: 20.19 kB / 442.8 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.704e-05/0.2993, allocations: 56.23 kB / 442.9 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.751e-05/0.2994, allocations: 108.8 kB / 443 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.2997, allocations: 224.3 kB / 443.2 MB, free: 2.613 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2997, allocations: 1.25 kB / 443.2 MB, free: 2.613 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2997, allocations: 0 / 443.2 MB, free: 2.613 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.2997, allocations: 4.734 kB / 443.2 MB, free: 2.609 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 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001022/0.3008, allocations: 0.6145 MB / 443.8 MB, free: 2.094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.3008, allocations: 13.16 kB / 443.8 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.3009, allocations: 47.53 kB / 443.9 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.29e-05/0.3009, allocations: 32.2 kB / 443.9 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000385/0.3013, allocations: 326.3 kB / 444.2 MB, free: 1.758 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.929e-05/0.3014, allocations: 104.3 kB / 444.3 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.396e-05/0.3014, allocations: 19.22 kB / 444.3 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005043/0.302, allocations: 204.6 kB / 444.5 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.302, allocations: 0 / 444.5 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.302, allocations: 5.312 kB / 444.5 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.302, allocations: 3.188 kB / 444.5 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005049/0.3025, allocations: 175.6 kB / 444.7 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.3038, allocations: 0.7058 MB / 445.4 MB, free: 1.059 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004937/0.3043, allocations: 173.6 kB / 445.6 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002627/0.3046, allocations: 97.67 kB / 445.7 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.3046, allocations: 1.156 kB / 445.7 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004031/0.305, allocations: 163.5 kB / 445.8 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.305, allocations: 0 / 445.8 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001008/0.306, allocations: 332.9 kB / 446.2 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.3061, allocations: 55.33 kB / 446.2 MB, free: 0.707 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.3063, allocations: 233.1 kB / 446.5 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.3063, allocations: 31.11 kB / 446.5 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.884e-05/0.3064, allocations: 157.3 kB / 446.6 MB, free: 400 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.3064, allocations: 46.45 kB / 446.7 MB, free: 364 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.959e-05/0.3065, allocations: 48.56 kB / 446.7 MB, free: 332 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.443e-05/0.3066, allocations: 331.9 kB / 447.1 MB, free: 4 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003162/0.3069, allocations: 92.67 kB / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003149/0.3072, allocations: 132.8 kB / 447.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005922/0.3078, allocations: 230.7 kB / 447.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3078, allocations: 0 / 447.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007919/0.3086, allocations: 318 kB / 447.8 MB, free: 15.63 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.166e-05/0.3087, allocations: 32.58 kB / 447.8 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.3087, allocations: 5.281 kB / 447.8 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.3087, allocations: 6.031 kB / 447.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/0.3102, allocations: 115.8 kB / 448 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/0.3125, allocations: 2.886 MB / 450.9 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002629/0.3128, allocations: 36.31 kB / 450.9 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.3128, allocations: 9.766 kB / 450.9 MB, free: 12.49 MB / 334.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.0001497/0.313, allocations: 148.3 kB / 451 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.313, allocations: 21.94 kB / 451.1 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007055/0.3138, allocations: 278.8 kB / 451.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.3138, allocations: 3.406 kB / 451.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.3138, allocations: 0 / 451.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.3138, allocations: 3.984 kB / 451.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.3149, allocations: 0.6407 MB / 452 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.315, allocations: 7.984 kB / 452 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/0.3162, allocations: 102.7 kB / 452.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.3162, allocations: 3.469 kB / 452.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.3162, allocations: 0 / 452.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3162, allocations: 7.938 kB / 452.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3162, allocations: 0 / 452.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009266/0.3172, allocations: 461.5 kB / 452.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.448e-05/0.3172, allocations: 99.05 kB / 452.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/0.3173, allocations: 9.062 kB / 452.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.3175, allocations: 30.38 kB / 452.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.384e-05/0.3176, allocations: 21.72 kB / 452.7 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.3176, allocations: 2.969 kB / 452.7 MB, free: 11.17 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.3178, allocations: 163.6 kB / 452.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.814e-06/0.3178, allocations: 0 / 452.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003315/0.3181, allocations: 50.81 kB / 452.9 MB, free: 11.04 MB / 334.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.001317/0.3194, allocations: 0.9948 MB / 453.9 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009461/0.3204, allocations: 296.8 kB / 454.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3204, allocations: 0 / 454.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003006/0.3207, allocations: 114.1 kB / 454.3 MB, free: 10 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.3211, allocations: 31.36 kB / 454.4 MB, free: 9.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003983/0.3251, allocations: 2.563 MB / 456.9 MB, free: 8.043 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.3254, allocations: 0.7435 MB / 457.7 MB, free: 7.316 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001266/0.3255, allocations: 27.97 kB / 457.7 MB, free: 7.305 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.3257, allocations: 73.72 kB / 457.8 MB, free: 7.246 MB / 334.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3257, allocations: 4 kB / 457.8 MB, free: 7.242 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02723/0.3529, allocations: 5.266 MB / 463 MB, free: 4.531 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.28, allocations: 17.88 kB / 463 MB, free: 4.516 MB / 334.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)