Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.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.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 114.3 kB / 16.37 MB, free: 6 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.001401/0.001401, allocations: 195.9 kB / 17.31 MB, free: 5.613 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.48/1.48, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05879/0.05879, allocations: 10.73 MB / 281.3 MB, free: 1.312 MB / 222.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.001838/0.001838, allocations: 75.89 kB / 342 MB, free: 4.449 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3083, allocations: 49.01 MB / 391 MB, free: 49.99 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.003257/0.3117, allocations: 1.762 MB / 392.8 MB, free: 48.76 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.3128, allocations: 0.6293 MB / 393.4 MB, free: 48.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.3129, allocations: 6.656 kB / 393.4 MB, free: 48.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.313, allocations: 15.94 kB / 393.4 MB, free: 48.3 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.066e-05/0.3131, allocations: 38.73 kB / 393.5 MB, free: 48.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.3135, allocations: 91.52 kB / 393.6 MB, free: 48.22 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003025/0.3138, allocations: 205.8 kB / 393.8 MB, free: 48.13 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.3139, allocations: 40.02 kB / 393.8 MB, free: 48.11 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.3141, allocations: 84.28 kB / 393.9 MB, free: 48.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.3143, allocations: 89.2 kB / 394 MB, free: 48.03 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.149e-05/0.3143, allocations: 15 kB / 394 MB, free: 48.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.35e-05/0.3144, allocations: 16.41 kB / 394 MB, free: 48.03 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.981e-05/0.3145, allocations: 37.19 kB / 394 MB, free: 48.01 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.3146, allocations: 79.41 kB / 394.1 MB, free: 47.96 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.3149, allocations: 175.6 kB / 394.3 MB, free: 47.88 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.3149, allocations: 1.125 kB / 394.3 MB, free: 47.88 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.315, allocations: 0 / 394.3 MB, free: 47.88 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.315, allocations: 0 / 394.3 MB, free: 47.88 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001246/0.3162, allocations: 0.5677 MB / 394.8 MB, free: 47.38 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.3163, allocations: 21.58 kB / 394.9 MB, free: 47.37 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.245e-05/0.3164, allocations: 23.75 kB / 394.9 MB, free: 47.36 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003945/0.3168, allocations: 256 kB / 395.1 MB, free: 47.12 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.812e-05/0.3168, allocations: 68.45 kB / 395.2 MB, free: 47.05 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.453e-05/0.3169, allocations: 14.34 kB / 395.2 MB, free: 47.05 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005381/0.3174, allocations: 192.8 kB / 395.4 MB, free: 46.96 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3175, allocations: 0 / 395.4 MB, free: 46.96 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.3175, allocations: 9.875 kB / 395.4 MB, free: 46.95 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.3175, allocations: 3.5 kB / 395.4 MB, free: 46.95 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005866/0.3181, allocations: 158.9 kB / 395.6 MB, free: 46.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.3191, allocations: 0.6393 MB / 396.2 MB, free: 46.39 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006178/0.3197, allocations: 154.1 kB / 396.4 MB, free: 46.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003027/0.3201, allocations: 89.08 kB / 396.5 MB, free: 46.31 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.3201, allocations: 1.188 kB / 396.5 MB, free: 46.31 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004707/0.3206, allocations: 165.7 kB / 396.6 MB, free: 46.24 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.3206, allocations: 0 / 396.6 MB, free: 46.24 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001074/0.3216, allocations: 300.7 kB / 396.9 MB, free: 46.15 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.3217, allocations: 55.45 kB / 397 MB, free: 46.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.3219, allocations: 205 kB / 397.2 MB, free: 45.95 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.322, allocations: 27.3 kB / 397.2 MB, free: 45.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.3221, allocations: 140.9 kB / 397.3 MB, free: 45.79 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.398e-05/0.3221, allocations: 36.41 kB / 397.4 MB, free: 45.76 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.3223, allocations: 43.11 kB / 397.4 MB, free: 45.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.47e-05/0.3224, allocations: 329.8 kB / 397.7 MB, free: 45.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003547/0.3227, allocations: 98.91 kB / 397.8 MB, free: 45.38 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003551/0.3231, allocations: 138.6 kB / 398 MB, free: 45.3 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006883/0.3238, allocations: 271.1 kB / 398.2 MB, free: 45.13 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3238, allocations: 3.938 kB / 398.2 MB, free: 45.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008358/0.3246, allocations: 341.6 kB / 398.6 MB, free: 44.96 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.484e-05/0.3247, allocations: 64.16 kB / 398.6 MB, free: 44.9 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.3247, allocations: 1.688 kB / 398.6 MB, free: 44.9 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.3247, allocations: 3.688 kB / 398.6 MB, free: 44.9 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004272/0.3252, allocations: 58.67 kB / 398.7 MB, free: 44.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3252, allocations: 10.94 kB / 398.7 MB, free: 44.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002794/0.3255, allocations: 44 kB / 398.7 MB, free: 44.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.3255, allocations: 12.16 kB / 398.8 MB, free: 44.87 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,Itr.ts,Input.count,$PRE.Input.count,Input.T_start,$PRE.Input.T_start,$whenCondition1,$whenCondition3,I.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): 21 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.3256, allocations: 134.4 kB / 398.9 MB, free: 44.74 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.3257, allocations: 20.14 kB / 398.9 MB, free: 44.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.764e-05/0.3257, allocations: 22.88 kB / 398.9 MB, free: 44.71 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.3257, allocations: 3.031 kB / 398.9 MB, free: 44.71 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.3258, allocations: 4 kB / 398.9 MB, free: 44.71 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3258, allocations: 0.7969 kB / 398.9 MB, free: 44.71 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.326, allocations: 249.6 kB / 399.2 MB, free: 44.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.326, allocations: 0.7969 kB / 399.2 MB, free: 44.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004193/0.3265, allocations: 50.89 kB / 399.2 MB, free: 44.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3265, allocations: 1.156 kB / 399.2 MB, free: 44.48 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.3265, allocations: 2.078 kB / 399.2 MB, free: 44.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3265, allocations: 5.156 kB / 399.2 MB, free: 44.48 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3265, allocations: 1.891 kB / 399.2 MB, free: 44.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.3275, allocations: 344.2 kB / 399.6 MB, free: 44.29 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.3276, allocations: 92.64 kB / 399.7 MB, free: 44.18 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.3276, allocations: 10.61 kB / 399.7 MB, free: 44.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.3279, allocations: 28.61 kB / 399.7 MB, free: 44.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.626e-05/0.328, allocations: 27.09 kB / 399.7 MB, free: 44.15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.328, allocations: 7.812 kB / 399.7 MB, free: 44.14 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001027/0.3281, allocations: 149.7 kB / 399.9 MB, free: 44.04 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3281, allocations: 0 / 399.9 MB, free: 44.04 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.3284, allocations: 36.72 kB / 399.9 MB, free: 44.03 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (I.y,Itr.y) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,Input.T_start,Input.count,Itr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 2 (Input.count,TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001076/0.3285, allocations: 107.8 kB / 400 MB, free: 43.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007544/0.3292, allocations: 319.3 kB / 400.3 MB, free: 43.71 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3293, allocations: 1.719 kB / 400.3 MB, free: 43.71 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003219/0.3296, allocations: 93.98 kB / 400.4 MB, free: 43.68 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.3299, allocations: 38.98 kB / 400.5 MB, free: 43.65 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007416/0.3306, allocations: 327.8 kB / 400.8 MB, free: 43.4 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001701/0.3308, allocations: 0.7248 MB / 401.5 MB, free: 42.68 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.006e-05/0.3309, allocations: 16.61 kB / 401.5 MB, free: 42.68 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.795e-05/0.331, allocations: 24.75 kB / 401.6 MB, free: 42.66 MB / 318.1 MB Notification: Performance of SimCode: time 8.92e-07/0.331, allocations: 0 / 401.6 MB, free: 42.66 MB / 318.1 MB Notification: Performance of Templates: time 0.005711/0.3367, allocations: 2.393 MB / 403.9 MB, free: 41.49 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe 2>&1)