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.0007986/0.0007986, allocations: 86.64 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.0008799/0.0008798, 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.26/1.26, allocations: 205.4 MB / 222.1 MB, free: 5.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05513/0.05513, allocations: 10.74 MB / 281.1 MB, free: 10.52 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.0004788/0.0004788, allocations: 16 kB / 341.7 MB, free: 23.73 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07037/0.07086, allocations: 50 MB / 391.7 MB, free: 5.645 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.001827/0.07272, allocations: 1.527 MB / 393.3 MB, free: 4.102 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.07385, allocations: 0.6915 MB / 394 MB, free: 3.406 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.07401, allocations: 7.938 kB / 394 MB, free: 3.398 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001/0.07412, allocations: 19.8 kB / 394 MB, free: 3.379 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.07423, allocations: 31.72 kB / 394 MB, free: 3.348 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003665/0.07461, allocations: 103.8 kB / 394.1 MB, free: 3.246 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002913/0.07491, allocations: 255.2 kB / 394.4 MB, free: 2.996 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.07504, allocations: 45.14 kB / 394.4 MB, free: 2.957 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.07519, allocations: 103.5 kB / 394.5 MB, free: 2.855 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.07536, allocations: 107.5 kB / 394.6 MB, free: 2.75 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.0754, allocations: 8 kB / 394.6 MB, free: 2.742 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.691e-05/0.07543, allocations: 11.94 kB / 394.6 MB, free: 2.73 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.426e-05/0.07548, allocations: 43.83 kB / 394.7 MB, free: 2.688 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.882e-05/0.07555, allocations: 61.56 kB / 394.7 MB, free: 2.621 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.07572, allocations: 147.9 kB / 394.9 MB, free: 2.477 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.07573, allocations: 0 / 394.9 MB, free: 2.477 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.07574, allocations: 0 / 394.9 MB, free: 2.477 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.07575, allocations: 4 kB / 394.9 MB, free: 2.473 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.0009769/0.07673, allocations: 0.5778 MB / 395.5 MB, free: 1.844 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.07678, allocations: 12.03 kB / 395.5 MB, free: 1.832 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.121e-05/0.07685, allocations: 50.55 kB / 395.5 MB, free: 1.773 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.957e-05/0.07693, allocations: 31.62 kB / 395.6 MB, free: 1.742 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.07728, allocations: 297.3 kB / 395.8 MB, free: 1.406 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-05/0.07738, allocations: 97.39 kB / 395.9 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.168e-05/0.07743, allocations: 16 kB / 396 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004905/0.07792, allocations: 227.7 kB / 396.2 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.07794, allocations: 0 / 396.2 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.07797, allocations: 11.94 kB / 396.2 MB, free: 1.039 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.07799, allocations: 4 kB / 396.2 MB, free: 1.035 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000525/0.07852, allocations: 196.4 kB / 396.4 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.07987, allocations: 0.7264 MB / 397.1 MB, free: 68 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005214/0.0804, allocations: 198.4 kB / 397.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002747/0.08069, allocations: 112.8 kB / 397.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.08072, allocations: 0 / 397.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004301/0.08116, allocations: 183.2 kB / 397.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.974e-06/0.08118, allocations: 0 / 397.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009426/0.08212, allocations: 369.2 kB / 398 MB, free: 15.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.08218, allocations: 59.39 kB / 398 MB, free: 15.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.08239, allocations: 224.9 kB / 398.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.08243, allocations: 33.7 kB / 398.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.301e-05/0.08253, allocations: 148.3 kB / 398.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.609e-05/0.08258, allocations: 51.28 kB / 398.5 MB, free: 14.65 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.698e-05/0.08261, allocations: 8 kB / 398.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.08273, allocations: 338.8 kB / 398.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.08303, allocations: 103.9 kB / 398.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003128/0.08335, allocations: 139.4 kB / 399 MB, free: 14.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003132/0.08367, allocations: 134.4 kB / 399.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.08369, allocations: 4 kB / 399.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007234/0.08442, allocations: 340.3 kB / 399.5 MB, free: 13.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/0.08446, allocations: 36.83 kB / 399.5 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.08447, allocations: 0 / 399.5 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.0845, allocations: 11.89 kB / 399.6 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.08573, allocations: 135.9 kB / 399.7 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/0.08786, allocations: 2.677 MB / 402.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/0.08814, allocations: 51.95 kB / 402.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.428e-05/0.08819, allocations: 11.98 kB / 402.4 MB, free: 10.37 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.0001472/0.08835, allocations: 141.6 kB / 402.6 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.08839, allocations: 19.72 kB / 402.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006922/0.08908, allocations: 311.6 kB / 402.9 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.0891, allocations: 0 / 402.9 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.08911, allocations: 0 / 402.9 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.08912, allocations: 0 / 402.9 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.09023, allocations: 0.6738 MB / 403.6 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.09025, allocations: 0 / 403.6 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.09135, allocations: 115.9 kB / 403.7 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.09137, allocations: 0 / 403.7 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.0914, allocations: 4 kB / 403.7 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.09141, allocations: 4 kB / 403.7 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.09142, allocations: 0 / 403.7 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009737/0.09239, allocations: 0.4938 MB / 404.2 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.09248, allocations: 100.8 kB / 404.3 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.09252, allocations: 8 kB / 404.3 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.09275, allocations: 35.97 kB / 404.3 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.731e-05/0.09283, allocations: 27.95 kB / 404.3 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.09286, allocations: 8 kB / 404.4 MB, free: 8.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001349/0.093, allocations: 156.5 kB / 404.5 MB, free: 8.191 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.093, allocations: 0 / 404.5 MB, free: 8.191 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003158/0.09332, allocations: 47.84 kB / 404.6 MB, free: 8.145 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.001246/0.09458, allocations: 1.04 MB / 405.6 MB, free: 7.078 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009391/0.09553, allocations: 319.3 kB / 405.9 MB, free: 6.754 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.09555, allocations: 3.938 kB / 405.9 MB, free: 6.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003308/0.09588, allocations: 128 kB / 406 MB, free: 6.625 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.09623, allocations: 28.22 kB / 406.1 MB, free: 6.602 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002666/0.09891, allocations: 1.504 MB / 407.6 MB, free: 5.027 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.09921, allocations: 0.748 MB / 408.3 MB, free: 4.254 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000135/0.09936, allocations: 21.95 kB / 408.3 MB, free: 4.234 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.0995, allocations: 79.41 kB / 408.4 MB, free: 4.16 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.09951, allocations: 0 / 408.4 MB, free: 4.16 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.116, allocations: 4.566 MB / 413 MB, free: 15.73 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/0.1162, allocations: 244.5 kB / 413.2 MB, free: 15.41 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.665/1.781, allocations: 4.062 kB / 413.2 MB, free: 15.4 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/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) Environment - environmentSimulation: