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/Complex 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) 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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001721/0.00172, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06438/0.06438, allocations: 10.66 MB / 23.92 MB, free: 1.375 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.2 MB / 232.1 MB, free: 12.83 MB / 202.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008943/0.0008942, allocations: 102.2 kB / 282.6 MB, free: 13.58 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 3.697e-05/3.707e-05, allocations: 0 / 340.6 MB, free: 3.527 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2914, allocations: 49.99 MB / 390.6 MB, free: 35.73 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1094/0.4009, allocations: 78.81 MB / 469.4 MB, free: 4.809 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.4012, allocations: 83.94 kB / 469.5 MB, free: 4.727 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01351/0.4147, allocations: 4.482 MB / 473.9 MB, free: 228 kB / 346.8 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4147, allocations: 4 kB / 474 MB, free: 224 kB / 346.8 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.4148, allocations: 8 kB / 474 MB, free: 216 kB / 346.8 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.001001/0.4158, allocations: 0.5631 MB / 474.5 MB, free: 15.59 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.4158, allocations: 8.031 kB / 474.5 MB, free: 15.58 MB / 362.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.565e-05/0.4159, allocations: 50.55 kB / 474.6 MB, free: 15.52 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.088e-05/0.416, allocations: 31.67 kB / 474.6 MB, free: 15.49 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005889/0.4166, allocations: 341.5 kB / 474.9 MB, free: 15.12 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-05/0.4167, allocations: 101.4 kB / 475 MB, free: 15 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.074e-05/0.4167, allocations: 16 kB / 475.1 MB, free: 14.98 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000337/0.4171, allocations: 195.5 kB / 475.2 MB, free: 14.77 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4171, allocations: 4 kB / 475.3 MB, free: 14.77 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/0.4171, allocations: 8 kB / 475.3 MB, free: 14.76 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.4172, allocations: 7.938 kB / 475.3 MB, free: 14.75 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001964/0.4174, allocations: 100.7 kB / 475.4 MB, free: 14.66 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.4187, allocations: 0.7071 MB / 476.1 MB, free: 13.9 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.4189, allocations: 98.56 kB / 476.2 MB, free: 13.79 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.4191, allocations: 60.73 kB / 476.2 MB, free: 13.73 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.4191, allocations: 0 / 476.2 MB, free: 13.73 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002445/0.4193, allocations: 127.9 kB / 476.4 MB, free: 13.59 MB / 362.8 MB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.4194, allocations: 0 / 476.4 MB, free: 13.59 MB / 362.8 MB Notification: Performance of matching and sorting (n=16): time 0.0003607/0.4197, allocations: 163.8 kB / 476.5 MB, free: 13.43 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.4198, allocations: 59.34 kB / 476.6 MB, free: 13.36 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.42, allocations: 201 kB / 476.8 MB, free: 13.16 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.42, allocations: 29.7 kB / 476.8 MB, free: 13.12 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.4201, allocations: 156.3 kB / 476.9 MB, free: 12.97 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.964e-05/0.4202, allocations: 55.3 kB / 477 MB, free: 12.91 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/0.4202, allocations: 0 / 477 MB, free: 12.91 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.4204, allocations: 338.8 kB / 477.3 MB, free: 12.57 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.4205, allocations: 52 kB / 477.4 MB, free: 12.52 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.4206, allocations: 86.06 kB / 477.5 MB, free: 12.43 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.4208, allocations: 88.67 kB / 477.6 MB, free: 12.34 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4208, allocations: 0 / 477.6 MB, free: 12.34 MB / 362.8 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003699/0.4212, allocations: 229.6 kB / 477.8 MB, free: 12.11 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.06e-05/0.4212, allocations: 34.33 kB / 477.8 MB, free: 12.07 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.4212, allocations: 0 / 477.8 MB, free: 12.07 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.4213, allocations: 3.938 kB / 477.8 MB, free: 12.06 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.4225, allocations: 124 kB / 477.9 MB, free: 11.94 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/0.4246, allocations: 2.589 MB / 480.5 MB, free: 9.094 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002611/0.4249, allocations: 35.97 kB / 480.6 MB, free: 9.059 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.4249, allocations: 4 kB / 480.6 MB, free: 9.055 MB / 362.8 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,LLaw.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 () * 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.0001196/0.4251, allocations: 121 kB / 480.7 MB, free: 8.93 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.545e-05/0.4251, allocations: 23.72 kB / 480.7 MB, free: 8.906 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000416/0.4255, allocations: 212.6 kB / 480.9 MB, free: 8.691 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.4256, allocations: 4 kB / 480.9 MB, free: 8.688 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.4256, allocations: 0 / 480.9 MB, free: 8.688 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.4256, allocations: 7.984 kB / 480.9 MB, free: 8.68 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008031/0.4264, allocations: 0.5811 MB / 481.5 MB, free: 8.043 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4264, allocations: 0 / 481.5 MB, free: 8.043 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.4275, allocations: 107.9 kB / 481.6 MB, free: 7.938 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.4275, allocations: 0 / 481.6 MB, free: 7.938 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.4275, allocations: 11.98 kB / 481.6 MB, free: 7.926 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.4275, allocations: 3.953 kB / 481.6 MB, free: 7.922 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-06/0.4276, allocations: 0 / 481.6 MB, free: 7.922 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004763/0.428, allocations: 362.2 kB / 482 MB, free: 7.555 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.801e-05/0.4281, allocations: 104.8 kB / 482.1 MB, free: 7.434 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.4282, allocations: 4 kB / 482.1 MB, free: 7.43 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.4284, allocations: 35.97 kB / 482.1 MB, free: 7.395 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.264e-05/0.4285, allocations: 31.91 kB / 482.2 MB, free: 7.363 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.4285, allocations: 4 kB / 482.2 MB, free: 7.359 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.0001346/0.4287, allocations: 161.4 kB / 482.3 MB, free: 7.199 MB / 362.8 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4287, allocations: 0 / 482.3 MB, free: 7.199 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0002778/0.429, allocations: 40 kB / 482.4 MB, free: 7.16 MB / 362.8 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,LLaw.TS,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 1 (TrackRef.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 17 * 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.0007889/0.4298, allocations: 0.9018 MB / 483.3 MB, free: 6.234 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0006168/0.4304, allocations: 236.1 kB / 483.5 MB, free: 5.992 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.4304, allocations: 0 / 483.5 MB, free: 5.992 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.4305, allocations: 75.94 kB / 483.6 MB, free: 5.918 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.4308, allocations: 32.36 kB / 483.6 MB, free: 5.887 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009446/0.4318, allocations: 410 kB / 484 MB, free: 5.453 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.4321, allocations: 0.7516 MB / 484.7 MB, free: 4.676 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 0.0001389/0.4322, allocations: 30.06 kB / 484.8 MB, free: 4.645 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.4324, allocations: 81.03 kB / 484.9 MB, free: 4.566 MB / 362.8 MB Notification: Performance of SimCode: time 3.1e-07/0.4324, allocations: 0 / 484.9 MB, free: 4.566 MB / 362.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01818/0.4506, allocations: 4.528 MB / 489.4 MB, free: 140 kB / 362.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002437/0.4509, allocations: 212.4 kB / 489.6 MB, free: 15.91 MB / 378.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.045/2.496, allocations: 0 / 489.6 MB, free: 15.91 MB / 378.8 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/linux/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)