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.001014/0.001014, 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.0009734/0.0009736, 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.573/1.573, allocations: 205.4 MB / 222.1 MB, free: 5.375 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05485/0.05485, allocations: 10.74 MB / 281.1 MB, free: 10.41 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.0005714/0.0005715, allocations: 12 kB / 341.6 MB, free: 23.84 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08805/0.08863, allocations: 50.01 MB / 391.6 MB, free: 5.754 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.001862/0.09053, allocations: 1.398 MB / 393 MB, free: 4.344 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008834/0.09144, allocations: 0.5662 MB / 393.6 MB, free: 3.77 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.09156, allocations: 0 / 393.6 MB, free: 3.77 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.77e-05/0.09166, allocations: 19.86 kB / 393.6 MB, free: 3.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.344e-05/0.09174, allocations: 19.78 kB / 393.6 MB, free: 3.73 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.09198, allocations: 55.89 kB / 393.7 MB, free: 3.676 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000195/0.09218, allocations: 155.5 kB / 393.8 MB, free: 3.523 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.0923, allocations: 25.55 kB / 393.9 MB, free: 3.5 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.09244, allocations: 55.78 kB / 393.9 MB, free: 3.445 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.09255, allocations: 71.66 kB / 394 MB, free: 3.375 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.09258, allocations: 4 kB / 394 MB, free: 3.371 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.025e-05/0.09261, allocations: 8 kB / 394 MB, free: 3.363 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.32e-05/0.09265, allocations: 15.92 kB / 394 MB, free: 3.348 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.774e-05/0.0927, allocations: 49.58 kB / 394.1 MB, free: 3.293 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.09282, allocations: 92.03 kB / 394.2 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.09283, allocations: 0 / 394.2 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.09284, allocations: 0 / 394.2 MB, free: 3.203 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.09286, allocations: 3.938 kB / 394.2 MB, free: 3.199 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009302/0.09379, allocations: 0.5075 MB / 394.7 MB, free: 2.641 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.09384, allocations: 8.031 kB / 394.7 MB, free: 2.633 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.923e-05/0.09393, allocations: 19.77 kB / 394.7 MB, free: 2.613 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003976/0.09435, allocations: 238.7 kB / 394.9 MB, free: 2.34 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.43e-05/0.09446, allocations: 63.34 kB / 395 MB, free: 2.266 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.439e-05/0.09451, allocations: 15.98 kB / 395 MB, free: 2.25 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004351/0.09495, allocations: 141.5 kB / 395.1 MB, free: 2.105 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.09497, allocations: 0 / 395.1 MB, free: 2.105 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.095, allocations: 8 kB / 395.2 MB, free: 2.098 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.09501, allocations: 0 / 395.2 MB, free: 2.098 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004849/0.0955, allocations: 147.9 kB / 395.3 MB, free: 1.953 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007086/0.09621, allocations: 452.4 kB / 395.7 MB, free: 1.461 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004175/0.09665, allocations: 150.6 kB / 395.9 MB, free: 1.305 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/0.09688, allocations: 76.81 kB / 396 MB, free: 1.227 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.09691, allocations: 0 / 396 MB, free: 1.227 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003726/0.09729, allocations: 147.2 kB / 396.1 MB, free: 1.07 MB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.0973, allocations: 0 / 396.1 MB, free: 1.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007886/0.09809, allocations: 281.3 kB / 396.4 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.09814, allocations: 51.41 kB / 396.4 MB, free: 0.7266 MB / 286.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.0001717/0.09832, allocations: 189.8 kB / 396.6 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.09835, allocations: 33.69 kB / 396.6 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.959e-05/0.09842, allocations: 120.2 kB / 396.8 MB, free: 384 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.09846, allocations: 31.8 kB / 396.8 MB, free: 352 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-06/0.09847, allocations: 0 / 396.8 MB, free: 352 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.09858, allocations: 334.8 kB / 397.1 MB, free: 8 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/0.09883, allocations: 71.94 kB / 397.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.09908, allocations: 107.7 kB / 397.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.09933, allocations: 109.6 kB / 397.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.09934, allocations: 3.938 kB / 397.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000586/0.09994, allocations: 263 kB / 397.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.955e-05/0.09999, allocations: 37.62 kB / 397.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1, allocations: 0 / 397.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.1, allocations: 7.984 kB / 397.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.1002, allocations: 35.91 kB / 397.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.1002, allocations: 64 / 397.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.1004, allocations: 47.81 kB / 397.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.1005, allocations: 8 kB / 397.8 MB, free: 15.29 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 ($whenCondition1,$whenCondition2,Ptr.ts,$PRE.TSsignal.pulseStart,TSsignal.pulseStart,$PRE.TrackRef.T_start,TrackRef.T_start,$PRE.TrackRef.count,TrackRef.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001215/0.1006, allocations: 125.8 kB / 397.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.1006, allocations: 15.77 kB / 397.9 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.49e-05/0.1007, allocations: 21.41 kB / 398 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1007, allocations: 0 / 398 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1007, allocations: 0 / 398 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.1007, allocations: 8 kB / 398 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.101, allocations: 217.6 kB / 398.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.101, allocations: 0 / 398.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.1011, allocations: 35.91 kB / 398.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.1012, allocations: 11.89 kB / 398.2 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.1012, allocations: 3.984 kB / 398.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1012, allocations: 0 / 398.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.1012, allocations: 4 kB / 398.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005766/0.1018, allocations: 224.8 kB / 398.5 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.468e-05/0.1018, allocations: 89.02 kB / 398.5 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/0.1019, allocations: 11.94 kB / 398.6 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.1021, allocations: 31.97 kB / 398.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.429e-05/0.1021, allocations: 19.97 kB / 398.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.1022, allocations: 0 / 398.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001068/0.1023, allocations: 132.1 kB / 398.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1023, allocations: 0 / 398.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002367/0.1025, allocations: 39.84 kB / 398.8 MB, free: 14.23 MB / 302.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 (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.0001205/0.1026, allocations: 95.25 kB / 398.9 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005914/0.1033, allocations: 239.1 kB / 399.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1033, allocations: 96 / 399.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002562/0.1035, allocations: 92.06 kB / 399.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.1038, allocations: 20.17 kB / 399.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006146/0.1044, allocations: 301.4 kB / 399.5 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.1047, allocations: 0.7123 MB / 400.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.215e-05/0.1048, allocations: 17.08 kB / 400.2 MB, free: 12.69 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.885e-05/0.1049, allocations: 15.44 kB / 400.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of SimCode: time 1.934e-06/0.1049, allocations: 0 / 400.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of Templates: time 0.004233/0.1091, allocations: 1.483 MB / 401.7 MB, free: 11.2 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe 2>&1) Environment - environmentSimulation: