Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.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.TestTrackingP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 107.8 kB / 16.37 MB, free: 6.453 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.001039/0.001039, allocations: 192.9 kB / 17.31 MB, free: 5.816 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.355/1.355, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05579/0.05579, allocations: 10.74 MB / 281.3 MB, free: 1.324 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.001709/0.001709, allocations: 64.69 kB / 342 MB, free: 4.465 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2864, allocations: 49 MB / 391 MB, free: 49.96 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.002984/0.2895, allocations: 1.728 MB / 392.7 MB, free: 48.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.2906, allocations: 0.5972 MB / 393.3 MB, free: 48.33 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.2907, allocations: 6.625 kB / 393.3 MB, free: 48.33 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.2908, allocations: 14.81 kB / 393.3 MB, free: 48.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.473e-05/0.2909, allocations: 34.52 kB / 393.4 MB, free: 48.29 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.2912, allocations: 68.42 kB / 393.4 MB, free: 48.25 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter Input.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of NFFlatten.flatten: time 0.000294/0.2915, allocations: 175.9 kB / 393.6 MB, free: 48.17 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.2916, allocations: 33.02 kB / 393.7 MB, free: 48.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.2918, allocations: 79.83 kB / 393.7 MB, free: 48.12 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.2919, allocations: 67.66 kB / 393.8 MB, free: 48.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.832e-05/0.292, allocations: 16.75 kB / 393.8 MB, free: 48.08 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.295e-05/0.292, allocations: 12.34 kB / 393.8 MB, free: 48.08 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.015e-05/0.2921, allocations: 31.72 kB / 393.9 MB, free: 48.06 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.525e-05/0.2922, allocations: 74.14 kB / 393.9 MB, free: 48.01 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.2924, allocations: 144.6 kB / 394.1 MB, free: 47.95 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.2924, allocations: 0 / 394.1 MB, free: 47.95 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2924, allocations: 0 / 394.1 MB, free: 47.95 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.2924, allocations: 0 / 394.1 MB, free: 47.95 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009694/0.2934, allocations: 0.4967 MB / 394.6 MB, free: 47.5 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.2934, allocations: 17.48 kB / 394.6 MB, free: 47.49 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.621e-05/0.2935, allocations: 17.66 kB / 394.6 MB, free: 47.48 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.2938, allocations: 250.1 kB / 394.8 MB, free: 47.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.928e-05/0.2939, allocations: 64.06 kB / 394.9 MB, free: 47.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.2939, allocations: 6.438 kB / 394.9 MB, free: 47.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003581/0.2943, allocations: 140.5 kB / 395 MB, free: 47.12 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.2943, allocations: 0.7969 kB / 395 MB, free: 47.12 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.2943, allocations: 5.375 kB / 395.1 MB, free: 47.11 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.2943, allocations: 1.375 kB / 395.1 MB, free: 47.11 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004418/0.2948, allocations: 123.1 kB / 395.2 MB, free: 47.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006885/0.2955, allocations: 429 kB / 395.6 MB, free: 46.76 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004122/0.2959, allocations: 126.3 kB / 395.7 MB, free: 46.71 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.2961, allocations: 63.34 kB / 395.8 MB, free: 46.69 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.2962, allocations: 1.375 kB / 395.8 MB, free: 46.69 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003273/0.2965, allocations: 129.4 kB / 395.9 MB, free: 46.62 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.2965, allocations: 0 / 395.9 MB, free: 46.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007874/0.2973, allocations: 237.1 kB / 396.1 MB, free: 46.55 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.2973, allocations: 61.52 kB / 396.2 MB, free: 46.48 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter Input.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.2975, allocations: 185.8 kB / 396.4 MB, free: 46.35 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.2976, allocations: 32.17 kB / 396.4 MB, free: 46.31 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.56e-05/0.2976, allocations: 125.1 kB / 396.5 MB, free: 46.2 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.2977, allocations: 29.38 kB / 396.6 MB, free: 46.18 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.308e-05/0.2977, allocations: 37.62 kB / 396.6 MB, free: 46.15 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.269e-05/0.2978, allocations: 322.2 kB / 396.9 MB, free: 45.83 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.298, allocations: 67.08 kB / 397 MB, free: 45.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.2983, allocations: 96.33 kB / 397.1 MB, free: 45.77 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000456/0.2988, allocations: 178.3 kB / 397.2 MB, free: 45.67 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2988, allocations: 1.312 kB / 397.2 MB, free: 45.67 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005522/0.2993, allocations: 226 kB / 397.5 MB, free: 45.56 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/0.2994, allocations: 37.5 kB / 397.5 MB, free: 45.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.2994, allocations: 9.875 kB / 397.5 MB, free: 45.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.2994, allocations: 1.594 kB / 397.5 MB, free: 45.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.2996, allocations: 30.72 kB / 397.5 MB, free: 45.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.2996, allocations: 1.25 kB / 397.5 MB, free: 45.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.2998, allocations: 37.58 kB / 397.6 MB, free: 45.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.2998, allocations: 3.828 kB / 397.6 MB, free: 45.5 MB / 318.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 ($whenCondition1,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,Ptr.ts,$whenCondition2,P.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * 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 7.764e-05/0.2999, allocations: 122.8 kB / 397.7 MB, free: 45.38 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.2999, allocations: 19.75 kB / 397.7 MB, free: 45.37 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.513e-05/0.3, allocations: 21.61 kB / 397.7 MB, free: 45.36 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3, allocations: 6.125 kB / 397.8 MB, free: 45.35 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3, allocations: 0.8906 kB / 397.8 MB, free: 45.35 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3, allocations: 4 kB / 397.8 MB, free: 45.35 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.3002, allocations: 220.3 kB / 398 MB, free: 45.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3002, allocations: 0 / 398 MB, free: 45.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.3003, allocations: 27.02 kB / 398 MB, free: 45.13 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.3003, allocations: 1.188 kB / 398 MB, free: 45.13 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.3003, allocations: 6.234 kB / 398 MB, free: 45.13 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3004, allocations: 0 / 398 MB, free: 45.13 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3004, allocations: 2.094 kB / 398 MB, free: 45.13 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005115/0.3009, allocations: 202.9 kB / 398.2 MB, free: 45.03 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.648e-05/0.3009, allocations: 90.22 kB / 398.3 MB, free: 44.93 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.301, allocations: 9.609 kB / 398.3 MB, free: 44.92 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.3011, allocations: 22.53 kB / 398.3 MB, free: 44.92 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.895e-05/0.3012, allocations: 20.94 kB / 398.3 MB, free: 44.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.3012, allocations: 8.422 kB / 398.4 MB, free: 44.91 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000103/0.3014, allocations: 130.1 kB / 398.5 MB, free: 44.82 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3014, allocations: 0 / 398.5 MB, free: 44.82 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002242/0.3016, allocations: 26.78 kB / 398.5 MB, free: 44.81 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,Ptr.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 (10): * Single equations (assignments): 7 * 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 8.607e-05/0.3017, allocations: 97.94 kB / 398.6 MB, free: 44.73 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005801/0.3023, allocations: 211.9 kB / 398.8 MB, free: 44.62 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3023, allocations: 1.156 kB / 398.8 MB, free: 44.62 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002691/0.3026, allocations: 70.66 kB / 398.9 MB, free: 44.61 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.3028, allocations: 25.05 kB / 398.9 MB, free: 44.6 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00062/0.3035, allocations: 263.2 kB / 399.2 MB, free: 44.41 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/0.3036, allocations: 0.7103 MB / 399.9 MB, free: 43.71 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.854e-05/0.3037, allocations: 15.33 kB / 399.9 MB, free: 43.71 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.444e-05/0.3038, allocations: 20.81 kB / 399.9 MB, free: 43.7 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3038, allocations: 0 / 399.9 MB, free: 43.7 MB / 318.1 MB Notification: Performance of Templates: time 0.00439/0.3082, allocations: 1.789 MB / 401.7 MB, free: 42.9 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe 2>&1)